Object_Viewport Class
A game object used for viewports.
Methods
toDataBundle
()
Object
Serializes the object into a data-bundle.
Returns:
Object:
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.
tone
gs.Tone
The color tone of the object used for the visual presentation.
visual
gs.Component_Sprite
The object's visual-component to display the game object on screen.