Object_ImageMap Class
An image-map object to display an image-map on screen.
Item Index
Methods
Methods
onDataBundleRestore.
-
Object
-
gs.ObjectCodecContext
Called if this object instance is restored from a data-bundle. It can be used re-assign event-handler, anonymous functions, etc.
Parameters:
-
Object
Objectdata - The data-bundle
-
gs.ObjectCodecContext
Objectcontext - The codec-context.
Properties
animator
vn.Component_Animator
The object's animator-component to execute different kind of animations like move, rotate, etc. on it.
animator
vn.Component_Animator
The object's animator-component to execute different kind of animations like move, rotate, etc. on it.
color
gs.Color
The color of the object used for the visual presentation.
color
gs.Color
The color of the object used for the visual presentation.
domain
String
The domain the object belongs to.
events
gs.Component_EventEmitter
An event-emitter to emit events.
hotspots
gs.ImageMapHotspot
The hotspot data of the image-map. Each entry is a single hotspot on the image-map.
hotspots
gs.ImageMapHotspot
The hotspot data of the image-map. Each entry is a single hotspot on the image-map.
images
String
The names of the images used for the different states of the image-map.
- 0 = Ground Image
- 1 = Hovered
- 2 = Unselected
- 3 = Selected
- 4 = Selected Hovered
images
String
The names of the images used for the different states of the image-map.
- 0 = Ground Image
- 1 = Hovered
- 2 = Unselected
- 3 = Selected
- 4 = Selected Hovered
tone
gs.Tone
The color tone of the object used for the visual presentation.
tone
gs.Tone
The color tone of the object used for the visual presentation.
visual
gs.Component_ImageMap
The object's visual-component to display the game object on screen.
visual
gs.Component_ImageMap
The object's visual-component to display the game object on screen.