-
Notifications
You must be signed in to change notification settings - Fork 11
RenderOverlay
The overlay module provides an interface for manipulating 2D overlay objects rendered on the 3D window.
String name ()
void / Object {red, green, blue, alpha} color ([Object {red, green, blue, alpha}])
- This function sets the value if the object is sent as an argument and returns void, and returns the current color value if argument is not sent as an argument.
String text ([String text])
- Get/Set
Object { length, height } size ()
Node lookup (String name)
Bool add (Object o)
Bool remove (Object o)
Number childCount ()
Bool switchState (Number which, Bool state)
Bool setSwitchStateAll (Bool state)
Bool enableSingleSwitchState (Bool state)
Number[] position ({x: Number, y: Number})
Number[] position (Number x, Number y)
Number[] position ([Number, Number])
Number[] position (Number)
Number rotation ([Number])
- Get/Set
Number[] scale ({x: Number, y: Number})
Number[] scale (Number x, Number y)
Number[] scale ([Number, Number])
Number[] scale (Number)
Found in "dmz/components/overlay"
void / Object {red, green, blue, alpha} color ([Object {red, green, blue, alpha}])
Node lookup (String name)
Node instance (String name)
Bool destroy (*Object {handle} *)
Bool isNode (Node n)
Bool isText (Node n)
Bool isGroup (Node n)
Bool isSwitch (Node n)
Bool isTransform (Node n)