RavEngine
Loading...
Searching...
No Matches
RavEngine::SkinnedMeshComponent Class Reference
Inheritance diagram for RavEngine::SkinnedMeshComponent:
[legend]
Collaboration diagram for RavEngine::SkinnedMeshComponent:
[legend]

Public Member Functions

 SkinnedMeshComponent (Entity owner, Ref< SkeletonAsset > sk, Ref< MeshCollectionSkinned > mesh)
 
void SetMaterial (decltype(mat) newMat)
 
auto GetMaterial () const
 
 MOVE_NO_COPY (SkinnedMeshComponent)
 
auto GetMesh () const
 
Ref< SkeletonAsset > GetSkeleton () const
 
void SetEnabled (bool)
 
- Public Member Functions inherited from RavEngine::ComponentWithOwner
 ComponentWithOwner (const decltype(owner) o)
 
Entity GetOwner () const
 
- Public Member Functions inherited from Disableable
decltype(Enabled) GetEnabled () const
 
void SetEnabled (decltype(Enabled) in)
 

Additional Inherited Members

- Public Types inherited from RavEngine::Queryable< SkinnedMeshComponent >
typedef std::array< ctti_t, ntypes > arraytype
 
- Static Public Member Functions inherited from RavEngine::Queryable< SkinnedMeshComponent >
static constexpr const arraytype & GetQueryTypes ()
 
- Public Attributes inherited from RavEngine::Queryable< SkinnedMeshComponent >
constexpr q_qt_def
 
- Static Public Attributes inherited from RavEngine::Queryable< SkinnedMeshComponent >
static constexpr std::size_t ntypes
 
- Protected Attributes inherited from RavEngine::ComponentWithOwner
Entity owner
 

Member Function Documentation

◆ GetMaterial()

auto RavEngine::SkinnedMeshComponent::GetMaterial ( ) const
inline
Returns
the currently assigned material

The documentation for this class was generated from the following files: