Interface sandy.core.transform.ITransform3D

Description

Represents a Transformation for an Group.

The Transform3D is applied to each Object3D into a Group.

Method Index

destroy(), getMatrix(), getType(), isModified(), setModified()

Method Detail

setModified

public function setModified(b:Boolean):Void

Set the transformation as modified or not. Very usefull for the cache transformation system.

Parameters

bBoolean True value means the transformation has been modified, and false the opposite.

isModified

public function isModified(Void):Boolean

Allows you to know if the transformation has been modified.

Parameters

Void

Return

Boolean True if the transformation has been modified, false otherwise.

getType

public function getType(Void):TransformType

Get the type of the Transform3D.

Return

The type of the transformation.

getMatrix

public function getMatrix(Void):Matrix4

Get the matrix of the transformation

Return

Matrix4 The matrix

destroy

public function destroy(Void):Void

Destroy the instance with all the dependent objects/listeners. Important to call this when it is not automatically done.

Parameters

Void

Return

Void