afxModel
Engine/source/afx/ce/afxModel.h
Classes:
Private Types
Parent
Private Attributes
Private Static Attributes
Protected Attributes
Protected Functions
advanceTime(F32 dt)
Advances simulation time for animations.
bool
bool
onAdd()
Called when the object is added to the sim.
prepRenderImage(SceneRenderState * state)
Called when the SceneManager is ready for the registration of render instances.
Public Functions
afxModel()
DECLARE_CATEGORY("AFX" )
getAnimClipDuration(const char * clip)
const char *
TSShape *
bool
onNewDataBlock(GameBaseData * dptr, bool reload)
Called when a new datablock is set.
resetAnimation(U32 tag)
setFadeAmount(F32 amt)
setSequenceRateFactor(F32 factor)
setSortPriority(S8 priority)
setVisibility(bool flag)
Detailed Description
Private Types
typedef GameBase Parent
Private Attributes
Vector< BlendThread > blend_clips
F32 fade_amt
bool is_visible
U32 last_anim_tag
S32 main_seq_id
TSThread * main_seq_thread
afxModelData * mDataBlock
bool seq_animates_vis
F32 seq_rate_factor
TSShapeInstance * shape_inst
S8 sort_priority
Private Static Attributes
U32 unique_anim_tag_counter
Protected Attributes
Vector< S32 > mCollisionDetails
Vector< S32 > mLOSDetails
Protected Functions
advanceTime(F32 dt)
Reimplemented from: ProcessObject
castRay(const Point3F & start, const Point3F & end, RayInfo * info)
Reimplemented from: SceneObject
onAdd()
Reimplemented from: SceneObject
onRemove()
Reimplemented from: SceneObject
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
renderObject(SceneRenderState * )
Public Functions
afxModel()
~afxModel()
DECLARE_CATEGORY("AFX" )
DECLARE_CONOBJECT(afxModel )
getAnimClipDuration(const char * clip)
getShapeFileName()
getTSShape()
getTSShapeInstance()
onNewDataBlock(GameBaseData * dptr, bool reload)
Reimplemented from: GameBase
resetAnimation(U32 tag)
setAnimClip(const char * clip, F32 pos, F32 rate, F32 trans)
setFadeAmount(F32 amt)
setSequenceRateFactor(F32 factor)
setSortPriority(S8 priority)
setVisibility(bool flag)