T3DSceneComponent
Engine/source/T3D/sceneComponent/T3DSceneComponent.h
Protected Types
enum
SceneFlags { None = 0 Visible = 1 << 0 DirtyObjectBox = 1 << 1 DirtyWorldBox = 1 << 2 LockObjectBox = 1 << 3 LockWorldBox = 1 << 4 UseOwnerObjectType = 1 << 5 RenderDebug = 1 << 6 RenderObjectBounds = 1 << 7 RenderWorldBounds = 1 << 8 RenderSubBounds = 1 << 9 LastFlag = 1 << 9 }
Private Types
Parent
Protected Attributes
ValueWrapperInterface< Box3F > *
float
Public Functions
AddSceneClient(T3DSceneClient * sceneClient)
bool
bool
bool
Returns the position of the object.
float
bool
bool
bool
bool
bool
RemoveClientObject(T3DSceneClient * sceneClient)
setDirtyObjectBox(bool val)
setDirtyWorldBox(bool val)
setObjectBoxLocked(bool val)
setObjectType(U32 objectTypeMask)
setParentTransformName(const char * name)
setPosition(const Point3F & pos)
setRenderObjectBounds(bool val)
setRenderSubBounds(bool val)
setRenderWorldBounds(bool val)
setRotation(const QuatF & rotation)
setSceneGroup(const char * sceneGroup)
setTransform(const MatrixF & mat)
Sets the Object -> World transform.
setUseOwnerObjectType(bool val)
setVisibilityLevel(float val)
setVisible(bool val)
setWorldBoxLocked(bool val)
bool
Protected Functions
bool
onComponentRegister(SimComponent * owner)
registerInterfaces(SimComponent * owner)
setTransform3D(Transform3D * transform)
Detailed Description
Protected Types
SceneFlags
Enumerator
- None = 0
- Visible = 1 << 0
- DirtyObjectBox = 1 << 1
- DirtyWorldBox = 1 << 2
- LockObjectBox = 1 << 3
- LockWorldBox = 1 << 4
- UseOwnerObjectType = 1 << 5
- RenderDebug = 1 << 6
- RenderObjectBounds = 1 << 7
- RenderWorldBounds = 1 << 8
- RenderSubBounds = 1 << 9
- LastFlag = 1 << 9
Private Types
typedef SceneObject Parent
Protected Attributes
U32 _flags
ValueWrapperInterface< Box3F > * _objectBox
U32 _objectType
StringTableEntry _parentTransformName
T3DSceneClient * _sceneClientList
StringTableEntry _sceneGroup
Transform3D * _transform
float _visibilityLevel
Public Functions
T3DSceneComponent()
AddSceneClient(T3DSceneClient * sceneClient)
doRenderObjectBounds()
doRenderSubBounds()
doRenderWorldBounds()
getObjectBox()
getObjectType()
getParentTransformName()
getPosition()
Reimplemented from: SceneObject
getRotation()
getScale()
Reimplemented from: SceneObject
getSceneClientList()
getSceneGroup()
getTransform3D()
getVisibilityLevel()
getWorldBox()
isDirtyObjectBox()
isDirtyWorldBox()
isObjectBoxLocked()
isVisible()
isWorldBoxLocked()
OnTransformDirty()
RemoveClientObject(T3DSceneClient * sceneClient)
Render()
setDirtyObjectBox(bool val)
setDirtyWorldBox(bool val)
setObjectBoxLocked(bool val)
setObjectType(U32 objectTypeMask)
setParentTransformName(const char * name)
setPosition(const Point3F & pos)
setRenderObjectBounds(bool val)
setRenderSubBounds(bool val)
setRenderWorldBounds(bool val)
setRotation(const QuatF & rotation)
setScale(const Point3F & scale)
Reimplemented from: SceneObject
setSceneGroup(const char * sceneGroup)
setTransform(const MatrixF & mat)
Reimplemented from: SceneObject
setUseOwnerObjectType(bool val)
setVisibilityLevel(float val)
setVisible(bool val)
setWorldBoxLocked(bool val)
useOwnerObjectType()
Protected Functions
_ComputeObjectBox()
_SetFlag(U32 test, bool value)
_TestFlag(U32 test)
_UpdateWorldBox()
onComponentRegister(SimComponent * owner)
onComponentUnRegister()
registerInterfaces(SimComponent * owner)
setTransform3D(Transform3D * transform)