Class sandy.core.group.TransformGroup

Implemented Interfaces

INode

Description

Field Index

Inherited from Node

Method Index

new TransformGroup()
destroy(), dispose(), getTransform(), isModified(), render(), setModified(), setTransform(), toString()

Inherited from Node

Constructor Detail

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.

Parameters

Method Detail

setTransform

public function setTransform(t:ITransform3D):Void

Add a transformation to the current TransformGroup. This allows to apply a transformation to all the childs of the Node.

Parameters

tThe transformation to add

getTransform

public function getTransform(Void):ITransform3D

Get the current TransformGroup transformation. This allows to manipulate the node transformation.

Return

The transformation

isModified

public function isModified(Void):Boolean

Allows 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.

Return

Boolean Value specifying the statut of the node. A true value means the node has been modified, it it should be rendered again

Specified By

isModified() in sandy.core.group.INode

Overrides

isModified() in sandy.core.group.Node

setModified

public function setModified(b:Boolean):Void

Description copied from Node

Allows you to set the modified property of the node.

Specified By

setModified() in sandy.core.group.INode

Overrides

setModified() in sandy.core.group.Node

render

public function render(Void):Void

Render the actual node. Object3D's node are rendered, TransformGroup concat (multiply) their matrix to update the 3D transformations view.

Specified By

render() in sandy.core.group.INode

dispose

public function dispose(Void):Void

Dispose the actual node. Object3D's node are rendered, TransformGroup concat (multiply) their matrix to update the 3D transformations view.

Specified By

dispose() in sandy.core.group.INode

destroy

public function destroy(Void):Void

toString

public function toString(Void):String

Get a String represntation of the TransformGroup.

Return

A String representing the TransformGroup.