Torque3D Documentation / _generateds / TSForestItemData

TSForestItemData

Engine/source/forest/ts/tsForestItemData.h

More...

Protected Types

Public Functions

bool
bool
canBillboard(const SceneRenderState * state, const ForestItem & item, F32 distToCamera)

Called after any property of the object is changed in the world editor.

bool

Called when the object is added to the sim.

Called when the object is removed from the sim.

bool
preload(bool server, String & errorStr)

Called to prepare the datablock for use, after it has been unpacked.

bool

Detailed Description

Protected Types

typedef ForestItemData Parent 

Protected Attributes

Vector< S32 > mCollisionDetails 
bool mIsClientObject 
Vector< S32 > mLOSDetails 
Resource< TSShape > mShape 
TSShapeInstance * mShapeInstance 

Protected Functions

_checkLastDetail()

_getShapeInstance()

_loadShape()

_onResourceChanged(const Torque::Path & path)

_preload()

Reimplemented from: ForestItemData

_updateCollisionDetails()

Public Functions

TSForestItemData()

~TSForestItemData()

allocateBatch()

Reimplemented from: ForestItemData

buildPolyList(const ForestItem & item, AbstractPolyList * polyList, const Box3F * box)

canBillboard(const SceneRenderState * state, const ForestItem & item, F32 distToCamera)

Reimplemented from: ForestItemData

DECLARE_CONOBJECT(TSForestItemData )

getCollisionDetails()

getLastDetail()

getLOSDetails()

getObjBox()

Reimplemented from: ForestItemData

getShapeInstance()

inspectPostApply()

Reimplemented from: SimObject

onAdd()

Reimplemented from: ForestItemData

onRemove()

Reimplemented from: SimObject

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

render(TSRenderState * rdata, const ForestItem & item)

Reimplemented from: ForestItemData