Marker Class Reference#include <simPath.h>
Inheritance diagram for Marker:
[legend]List of all members.
|
Public Types |
| SmoothingTypeLinear |
| SmoothingTypeSpline |
| SmoothingTypeAccelerate |
| KnotTypeNormal |
| KnotTypePositionOnly |
| KnotTypeKink |
enum | {
SmoothingTypeLinear,
SmoothingTypeSpline,
SmoothingTypeAccelerate
} |
enum | {
KnotTypeNormal,
KnotTypePositionOnly,
KnotTypeKink
} |
Public Member Functions |
| Marker () |
| ~Marker () |
| DECLARE_CONOBJECT (Marker) |
void | inspectPostApply () |
| Called after any property of the object is changed in the world editor.
|
U32 | packUpdate (NetConnection *conn, U32 mask, BitStream *stream) |
| Instructs this object to pack its state for transfer over the network.
|
void | unpackUpdate (NetConnection *conn, BitStream *stream) |
| Instructs this object to read state data previously packed with packUpdate.
|
Static Public Member Functions |
static void | initPersistFields () |
| Register dynamic fields in a subclass of ConsoleObject.
|
Public Attributes |
U32 | mSeqNum |
U32 | mSmoothingType |
U32 | mKnotType |
U32 | mMSToNext |
Protected Member Functions |
bool | prepRenderImage (SceneState *state, const U32 stateKey, const U32 startZone, const bool modifyBaseZoneState) |
| Called when the SceneGraph is ready for the registration of RenderImages.
|
void | renderObject (ObjectRenderInst *ri, BaseMatInstance *overrideMat) |
bool | onAdd () |
| Called when the object is added to the sim.
|
void | onRemove () |
| Called when the object is removed from the sim.
|
void | onGroupAdd () |
| Called when the object is added to a SimGroup.
|
void | onEditorEnable () |
| Called when the editor is activated.
|
void | onEditorDisable () |
| Called when the editor is deactivated.
|
Static Protected Member Functions |
static void | initGFXResources () |
Static Protected Attributes |
static GFXStateBlockRef | smStateBlock |
static GFXVertexBufferHandle<
GFXVertexPC > | smVertexBuffer |
static GFXPrimitiveBufferHandle | smPrimitiveBuffer |
Private Types |
typedef SceneObject | Parent |
Friends |
class | Path |
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
-
SmoothingTypeLinear |
|
SmoothingTypeSpline |
|
SmoothingTypeAccelerate |
|
- Enumerator:
-
KnotTypeNormal |
|
KnotTypePositionOnly |
|
KnotTypeKink |
|
Constructor & Destructor Documentation
Member Function Documentation
bool Marker::prepRenderImage |
( |
SceneState * |
state, |
|
|
const U32 |
stateKey, |
|
|
const U32 |
startZone, |
|
|
const bool |
modifyBaseZoneState | |
|
) |
| | [protected, virtual] |
Called when the SceneGraph is ready for the registration of RenderImages.
- See also:
- SceneState
- Parameters:
-
| state | SceneState |
| stateKey | State key of the current SceneState |
| startZone | Base zone index |
| modifyBaseZoneState | If true, the object needs to modify the zone state. |
Reimplemented from SceneObject.
bool Marker::onAdd |
( |
|
) |
[protected, virtual] |
Called when the object is added to the sim.
Reimplemented from SceneObject.
void Marker::onRemove |
( |
|
) |
[protected, virtual] |
Called when the object is removed from the sim.
Reimplemented from SceneObject.
void Marker::onGroupAdd |
( |
|
) |
[protected, virtual] |
void Marker::onEditorEnable |
( |
|
) |
[protected, virtual] |
Called when the editor is activated.
Reimplemented from SimObject.
void Marker::onEditorDisable |
( |
|
) |
[protected, virtual] |
Called when the editor is deactivated.
Reimplemented from SimObject.
static void Marker::initGFXResources |
( |
|
) |
[static, protected] |
Marker::DECLARE_CONOBJECT |
( |
Marker |
|
) |
|
static void Marker::initPersistFields |
( |
|
) |
[static] |
void Marker::inspectPostApply |
( |
|
) |
[virtual] |
Instructs this object to pack its state for transfer over the network.
- Parameters:
-
| conn | Net connection being used |
| mask | Mask indicating fields to transmit. |
| stream | Bitstream to pack data to |
- Returns:
- Any bits which were not dealt with. The value is stored by the networking system. Don't set bits you weren't passed.
Reimplemented from NetObject.
Instructs this object to read state data previously packed with packUpdate.
- Parameters:
-
| conn | Net connection being used |
| stream | stream to read from |
Reimplemented from NetObject.
Friends And Related Function Documentation
friend class Path [friend] |
Member Data Documentation
|