Chicane

Mesh Component

Header
Chicane/Game/Transformable/Component/MeshComponent.hpp
Namespace
Chicane::MeshComponent

Mesh attachment for Actors.

Constructors

ModifierNameDescription
MeshComponent()

Destructors

ModifierNameDescription
virtual~MeshComponent()

Override Functions

AccessModifierTypeNameDescription
publicvirtualvoidonActivation()
publicvirtualvoidonDeactivation()
publicvirtualvoidonAttachment(Actor* inActor)
publicvirtualvoidonTick(float inDeltaTime)

Functions

AccessModifierTypeNameDescription
publicboolisDrawable()
publicboolhasMesh()
publicconst Box::Mesh*getMesh()
publicvoidsetMesh(const std::string& inMesh)
publicstd::stringgetModel()
publicstd::stringgetTexture()
protectedvoidupdateVisibility()
protectedvoidshow()
protectedvoidhide()

Properties

AccessModifierTypeNameDescription
protectedboolm_bIsMeshActive
protectedconst Box::Mesh*m_mesh