TSForestItemData
Engine/source/forest/ts/tsForestItemData.h
Protected Types
Parent
Protected Attributes
Protected Functions
Public Functions
bool
buildPolyList(const ForestItem & item, AbstractPolyList * polyList, const Box3F * box)
bool
canBillboard(const SceneRenderState * state, const ForestItem & item, F32 distToCamera)
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
bool
bool
render(TSRenderState * rdata, const ForestItem & item)
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