Z.Billboard
Inherits from Z.Group
Description
Z.Billboard acts in the same way as Z.Group except that each frame it rotates so that it faces the camera.
The axis parameter specifies the axis around which the node will rotate in order to face the camera.
A value of [0, 0, 0] for axis results in the node rotating around all axes.
Provided by Z.Billboard
Constructor
Functions
axis( ) |
Gets the current billboard axis. |
axis(...) |
Sets the axis to billboard around. |
Inherited from Z.Group
Constructor
Functions
child(...) |
Gets the child node at the specified index. |
children( ) |
Gets the children of the group. |
clear( ) |
Removes all children from the group. |
insert(...) |
Inserts a node into the group at the specified index. |
push(...) |
Inserts a node as the last child of the group. |
remove(...) |
Removes a node from the group. |
Inherited from Z.Node
Functions
Inherited from Z.Base
Functions
emit(...) |
Calls the handler functions attached to an event. |
hasTag(...) |
Returns true if this object has the specified tag. |
off(...) |
Removes a handler function from an event. |
on(...) |
Attaches a handler function to an event. |
one(...) |
Attaches a single-use handler function to an event. |
pushTag(...) |
Adds a tag to this object. |
removeTag(...) |
Removes a tag from this object. |
tags( ) |
Gets an array of the tags that this object belongs to. |
tags(...) |
Sets the array of the tags that this object belongs to. |