class MeshComponent

Mesh component class.

File location: framework/cauldron/framework/inc/core/components/meshcomponent.h

Construction

Return type

Description

MeshComponent ( Entity * pOwner, ComponentData * pData, MeshComponentMgr * pManager )
Constructor.

Methods

Return type

Description

void

Update (double deltaTime)
Component update. If ray tracing is enabled, will push a new TLAS instance.

MeshComponentData &

Component data accessor.

const MeshComponentData &

GetData () const

Detailed description

Mesh component class. Implements mesh accessor functionality for a given entity.

Construction

MeshComponent

Copied!

MeshComponent (
    Entity * pOwner,
    ComponentData * pData,
    MeshComponentMgr * pManager
)

Constructor.


Methods

Update

Copied!

virtual void Update (double deltaTime)

Component update. If ray tracing is enabled, will push a new TLAS instance.


GetData

Copied!

MeshComponentData & GetData ()

Component data accessor.