NotesObject
Engine/source/T3D/notesObject.h
Private Types
enum
MaskBits { TransformMask = Parent::NextFreeMask << 0 NextFreeMask = Parent::NextFreeMask << 1 }
Parent
GFXVertexPCN
VertexType
Private Attributes
Public Functions
_render(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * overrideMat)
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Instructs this object to pack its state for transfer over the network.
prepRenderImage(SceneRenderState * state)
Called when the SceneManager is ready for the registration of render instances.
setTransform(const MatrixF & mat)
Sets the Object -> World transform.
bool
unpackUpdate(NetConnection * conn, BitStream * stream)
Instructs this object to read state data previously packed with packUpdate.
Public Static Functions
Detailed Description
Private Types
MaskBits
Enumerator
- TransformMask = Parent::NextFreeMask << 0
- NextFreeMask = Parent::NextFreeMask << 1
typedef SceneObject Parent
typedef GFXVertexPCN VertexType
Private Attributes
LinearColorF mArrowColor
F32 mArrowLength
F32 mArrowRadius
GFXStateBlockRef mNormalSB
String mNote
GFXStateBlockRef mReflectSB
bool mShowArrow
GFXVertexBufferHandle< VertexType > mVertexBuffer
Public Functions
NotesObject()
~NotesObject()
_render(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * overrideMat)
DECLARE_CONOBJECT(NotesObject )
getNote()
inspectPostApply()
Reimplemented from: SceneObject
onAdd()
Reimplemented from: SceneObject
onRemove()
Reimplemented from: SceneObject
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: SceneObject
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
setTransform(const MatrixF & mat)
Reimplemented from: SceneObject
showArrow()
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: SceneObject