INode
new TransformGroup()public function TransformGroup(transform:ITransform3D)Create a new TransformGroup. This class is one of the most important because it represents a node in the tree scene representation in Sandy. It has a matrix which is in fact its Transform3D property matrix.
public function setTransform(t:ITransform3D):VoidAdd a transformation to the current TransformGroup. This allows to apply a transformation to all the childs of the Node.
t | The transformation to add |
public function getTransform(Void):ITransform3DGet the current TransformGroup transformation. This allows to manipulate the node transformation.
The transformation
public function isModified(Void):BooleanAllows you to know if this node has been modified (true value) or not (false value). Mainly usefull for the cache system. After this method call the property hasn't changed it's value. It remains the current returned value.
Boolean Value specifying the statut of the node. A true value means the node has been modified, it it should be rendered again
isModified() in sandy.core.group.INode
public function setModified(b:Boolean):VoidDescription copied from Node
Allows you to set the modified property of the node.
setModified() in sandy.core.group.INode
public function render(Void):VoidRender the actual node. Object3D's node are rendered, TransformGroup concat (multiply) their matrix to update the 3D transformations view.
public function dispose(Void):VoidDispose the actual node. Object3D's node are rendered, TransformGroup concat (multiply) their matrix to update the 3D transformations view.