Scene

Engine/source/T3D/Scene.h

Scene This object is effectively a smart container to hold and manage any relevent scene objects and data used to run things.

More...

Private Types

Parent 

Protected Static Attributes

Public Static Attributes

Protected Functions

Public Functions

addObject(SimObject * object)

Add the given object to the set.

advanceTime(F32 timeDelta)

This method is called once every frame regardless of the return value of isProcessingTicks and informs the object of the passage of time.

Vector< T * >
getObjectsByClass(bool checkSubscenes)
getObjectsByClass(String className, bool checkSubscenes)

This method is called every frame and lets the control interpolate between ticks so you can smooth things as long as isProcessingTicks returns true when it is called on the object.

bool

Called when the object is added to the sim.

Called when the adding of the object to the sim is complete, all sub-objects have been processed as well.

Called when the object is removed from the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

This method is called once every 32ms if isProcessingTicks returns true when called on the object.

Remove the given object from the set.

bool

Instructs this object to read state data previously packed with packUpdate.

Public Static Functions

bool
_editPostEffects(void * object, const char * index, const char * data)

Detailed Description

Scene This object is effectively a smart container to hold and manage any relevent scene objects and data used to run things.

Private Types

typedef NetObject Parent 

Private Attributes

Vector< SceneObject * > mDynamicObjects 
bool mEditPostFX 
StringTableEntry mGameModeName 
bool mIsDirty 
bool mIsEditing 
bool mIsSubScene 
Scene * mParentScene 
Vector< SceneObject * > mPermanentObjects 
S32 mSceneId 
Vector< Scene * > mSubScenes 

Protected Static Attributes

Scene * smRootScene 

Public Static Attributes

Vector< Scene * > smSceneList 

Protected Functions

DECLARE_CONOBJECT(Scene )

Public Functions

Scene()

~Scene()

addDynamicObject(SceneObject * object)

addObject(SimObject * object)

Reimplemented from: SimGroup

advanceTime(F32 timeDelta)

Reimplemented from: ITickable

dumpUtilizedAssets()

getLevelAsset()

getObjectsByClass(bool checkSubscenes)

getObjectsByClass(String className, bool checkSubscenes)

getOriginatingFile()

getUtilizedAssetsFromSceneObject(SimObject * object, Vector< StringTableEntry > * usedAssetsList)

interpolateTick(F32 delta)

Reimplemented from: ITickable

onAdd()

Reimplemented from: NetObject

onPostAdd()

Reimplemented from: SimObject

onRemove()

Reimplemented from: NetObject

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: NetObject

processTick()

Reimplemented from: ITickable

removeDynamicObject(SceneObject * object)

removeObject(SimObject * object)

Reimplemented from: SimGroup

saveScene(StringTableEntry fileName)

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: NetObject

Public Static Functions

_editPostEffects(void * object, const char * index, const char * data)

getRootScene()

initPersistFields()