class MeshComponent
Mesh component class.
File location: framework/cauldron/framework/inc/core/components/meshcomponent.h
Construction
Return type |
Description |
---|---|
Constructor.
|
Methods
Return type |
Description |
---|---|
void |
Update (double deltaTime)
Component update. If ray tracing is enabled, will push a new TLAS instance.
|
GetData ()
Component data accessor.
|
|
const MeshComponentData & |
GetData () const
|
Detailed description
Mesh component class. Implements mesh accessor functionality for a given entity.
Construction
MeshComponent
MeshComponent (
Entity * pOwner,
ComponentData * pData,
MeshComponentMgr * pManager
)
Constructor.
Methods
Update
Component update. If ray tracing is enabled, will push a new TLAS instance.
GetData
MeshComponentData & GetData ()
Component data accessor.