TSTransform3D

Engine/source/T3D/sceneComponent/T3DTransform.h

More...

Protected Types

enum
TSTransformFlags {
  HandleLocal = Transform3D::LastFlag << 1
  LastFlag = Transform3D::LastFlag << 1
}

Public Functions

getLocalMatrix(MatrixF & localMat, bool includeLocalScale)
getObjectMatrix(MatrixF & objectMat, bool includeLocalScale)
getWorldMatrix(MatrixF & worldMat, bool includeLocalScale)
setNodeTransform(TSShapeInstance * si, S32 nodeIndex, MatrixF & localTransform)

Protected Functions

setHandleLocal(bool handleLocal)

Detailed Description

Protected Types

TSTransformFlags

Enumerator

HandleLocal = Transform3D::LastFlag << 1
LastFlag = Transform3D::LastFlag << 1

Protected Attributes

int _nodeIndex 
Point3F _position 
QuatF _rotation 
Point3F _scale 
TSShapeInstance * _shapeInstance 

Public Functions

TSTransform3D(TSShapeInstance * si, S32 nodeIndex)

getLocalMatrix(MatrixF & localMat, bool includeLocalScale)

Reimplemented from: Transform3D

getObjectMatrix(MatrixF & objectMat, bool includeLocalScale)

Reimplemented from: Transform3D

getPosition()

Reimplemented from: Transform3D

getRotation()

Reimplemented from: Transform3D

getScale()

Reimplemented from: Transform3D

getWorldMatrix(MatrixF & worldMat, bool includeLocalScale)

Reimplemented from: Transform3D

setLocalMatrix(const MatrixF & localMatrix)

Reimplemented from: Transform3D

setNodeTransform(TSShapeInstance * si, S32 nodeIndex, MatrixF & localTransform)

Reimplemented from: TSCallback

setPosition(const Point3F & position)

Reimplemented from: Transform3D

setRotation(const QuatF & rotation)

Reimplemented from: Transform3D

setScale(const Point3F & scale)

Reimplemented from: Transform3D

Protected Functions

doHandleLocal()

getTSLocal(MatrixF & mat)

setHandleLocal(bool handleLocal)