class MeshComponentMgr

Component manager class for MeshComponent s.

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

Construction

Return type

Description

Constructor with default behavior.

Methods

Return type

Description

Component *

SpawnComponent (Entity * pOwner, ComponentData * pData)
Component creator.

MeshComponent *

Allocates a new “MeshComponent“ for the given entity.

const wchar_t*

ComponentType () const
Gets the component type string ID.

void

Initializes the component manager.

void

Shuts down the component manager.

static MeshComponentMgr*

Get ()
Component manager instance accessor.

Detailed description

Component manager class for MeshComponent s.

Fields

Type

Description

static const wchar_t*

s_ComponentName
Component name.

Construction

MeshComponentMgr

Copied!

MeshComponentMgr ()

Constructor with default behavior.


Methods

SpawnComponent

Copied!

virtual Component * SpawnComponent (Entity * pOwner, ComponentData * pData)

Component creator.


SpawnMeshComponent

Copied!

MeshComponent * SpawnMeshComponent (Entity * pOwner, ComponentData * pData)

Allocates a new MeshComponent for the given entity.


ComponentType

Copied!

virtual const wchar_t* ComponentType () const

Gets the component type string ID.


Initialize

Copied!

virtual void Initialize ()

Initializes the component manager.


Shutdown

Copied!

virtual void Shutdown ()

Shuts down the component manager.


Get

Copied!

static MeshComponentMgr* Get ()

Component manager instance accessor.