Object_Video Class
A game object used for custom texts in a scene.
Item Index
Methods
Methods
toDataBundle
()
Object
Serializes the object into a data-bundle.
Returns:
The data-bundle.
Properties
angle
Number
The rotation-angle of the picture in degrees. The rotation center depends on the anchor-point.
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.
domain
String
The domain the object belongs to.
events
gs.Component_EventEmitter
An event-emitter to emit events.
loop
Boolean
Indicates if the video should be looped. The default is false
mask
gs.Mask
The object's mask to execute masking-effects on it.
mirror
Boolean
Indicates if the object's visual presentation should be mirrored horizontally.
srcRect
gs.Rect
The UI object's source rectangle on screen.
srcRect
gs.Rect
The object's source rectangle. It controls which part of the object's image is used for visual presentation.
tone
gs.Tone
The color tone of the object used for the visual presentation.
video
String
The name of the video resource used for the visual presentation.
visual
gs.Component_Sprite
The object's visual-component to display the game object on screen.
visual
gs.Component_Sprite
The UI object's visual-component to display the game object on screen.