Transform3D
Engine/source/T3D/sceneComponent/T3DTransform.h
Classes:
Protected Types
enum
TransformFlags { None = 0 LocalHasScale = 1 << 0 LocalPositionDirty = 1 << 1 LocalRotationDirty = 1 << 2 LocalScaleDirty = 1 << 3 LocalDirty = LocalPositionDirty | LocalRotationDirty | LocalScaleDirty ParentDirty = 1 << 4 LastFlag = 1 << 4 }
Protected Attributes
Public Functions
getLocalMatrix(MatrixF & localMatrix, bool includeLocalScale)
getObjectMatrix(MatrixF & objectMatrix, bool includeLocalScale)
getWorldMatrix(MatrixF & worldMatrix, bool includeLocalScale)
bool
bool
bool
bool
isChildOf(Transform3D * parent, bool recursive)
setDirtyListener(IDirtyListener * dirtyListener)
setLocalMatrix(const MatrixF & localMatrix)
setObjectMatrix(const MatrixF & objMatrix)
setParentTransform(Transform3D * parent)
setPosition(const Point3F & position)
setRotation(const QuatF & rotation)
setWorldMatrix(const MatrixF & world)
Detailed Description
Protected Types
TransformFlags
Enumerator
- None = 0
- LocalHasScale = 1 << 0
- LocalPositionDirty = 1 << 1
- LocalRotationDirty = 1 << 2
- LocalScaleDirty = 1 << 3
- LocalDirty = LocalPositionDirty | LocalRotationDirty | LocalScaleDirty
- ParentDirty = 1 << 4
- LastFlag = 1 << 4
Protected Attributes
IDirtyListener * _dirtyListener
U32 _flags
Transform3D * _parentTransform
Public Functions
getDirtyListener()
getLocalMatrix()
getLocalMatrix(MatrixF & localMatrix, bool includeLocalScale)
Reimplemented by: Transform3DInPlace, TSTransform3D
getObjectMatrix()
getObjectMatrix(MatrixF & objectMatrix, bool includeLocalScale)
Reimplemented by: Transform3DInPlace, TSTransform3D
getParentTransform()
getPosition()
Reimplemented by: Transform3DInPlace, TSTransform3D
getRotation()
Reimplemented by: Transform3DInPlace, TSTransform3D
getScale()
Reimplemented by: Transform3DInPlace, TSTransform3D
getWorldMatrix()
getWorldMatrix(MatrixF & worldMatrix, bool includeLocalScale)
Reimplemented by: Transform3DInPlace, TSTransform3D
hasLocalScale()
hasObjectScale()
hasWorldScale()
isChildOf(Transform3D * parent, bool recursive)
setDirtyListener(IDirtyListener * dirtyListener)
setLocalMatrix(const MatrixF & localMatrix)
Reimplemented by: Transform3DInPlace, TSTransform3D
setObjectMatrix(const MatrixF & objMatrix)
setParentTransform(Transform3D * parent)
setPosition(const Point3F & position)
Reimplemented by: Transform3DInPlace, TSTransform3D
setRotation(const QuatF & rotation)
Reimplemented by: Transform3DInPlace, TSTransform3D
setScale(const Point3F & scale)
Reimplemented by: Transform3DInPlace, TSTransform3D
setWorldMatrix(const MatrixF & world)