Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | Protected Attributes | Friends | List of all members
castor3d::MeshAnimationSubmesh Class Reference

#include <MeshAnimationSubmesh.hpp>

Inheritance diagram for castor3d::MeshAnimationSubmesh:
Inheritance graph
[legend]
Collaboration diagram for castor3d::MeshAnimationSubmesh:
Collaboration graph
[legend]

Public Member Functions

C3D_API MeshAnimationSubmesh (MeshAnimation &animation, Submesh &submesh)
 Constructor. More...
 
C3D_API MeshAnimationSubmesh (MeshAnimationSubmesh &&rhs)=default
 Move constructor. More...
 
C3D_API MeshAnimationSubmeshoperator= (MeshAnimationSubmesh &&rhs)=delete
 Move assignment operator. More...
 
C3D_API MeshAnimationSubmesh (MeshAnimationSubmesh const &rhs)=delete
 Copy constructor. More...
 
C3D_API MeshAnimationSubmeshoperator= (MeshAnimationSubmesh const &rhs)=delete
 Copy assignment operator. More...
 
SubmeshgetSubmesh ()
 
Submesh const & getSubmesh () const
 
MorphComponent const & getComponent () const
 
MorphComponentgetComponent ()
 

Protected Attributes

castor::Milliseconds m_length { 0 }
 
Submeshm_submesh
 
MorphComponentSPtr m_component
 

Friends

class MeshAnimationInstanceSubmesh
 

Constructor & Destructor Documentation

◆ MeshAnimationSubmesh() [1/3]

C3D_API castor3d::MeshAnimationSubmesh::MeshAnimationSubmesh ( MeshAnimation animation,
Submesh submesh 
)

Constructor.

Parameters
[in]animationThe parent animation.
[in]submeshThe submesh.

◆ MeshAnimationSubmesh() [2/3]

C3D_API castor3d::MeshAnimationSubmesh::MeshAnimationSubmesh ( MeshAnimationSubmesh &&  rhs)
default

Move constructor.

◆ MeshAnimationSubmesh() [3/3]

C3D_API castor3d::MeshAnimationSubmesh::MeshAnimationSubmesh ( MeshAnimationSubmesh const &  rhs)
delete

Copy constructor.

Member Function Documentation

◆ getComponent() [1/2]

MorphComponent & castor3d::MeshAnimationSubmesh::getComponent ( )
inline
Returns
The bones component.

References m_component.

◆ getComponent() [2/2]

MorphComponent const & castor3d::MeshAnimationSubmesh::getComponent ( ) const
inline
Returns
The bones component.

References m_component.

◆ getSubmesh() [1/2]

Submesh & castor3d::MeshAnimationSubmesh::getSubmesh ( )
inline
Returns
The submesh.

References m_submesh.

◆ getSubmesh() [2/2]

Submesh const & castor3d::MeshAnimationSubmesh::getSubmesh ( ) const
inline
Returns
The submesh.

References m_submesh.

◆ operator=() [1/2]

C3D_API MeshAnimationSubmesh & castor3d::MeshAnimationSubmesh::operator= ( MeshAnimationSubmesh &&  rhs)
delete

Move assignment operator.

◆ operator=() [2/2]

C3D_API MeshAnimationSubmesh & castor3d::MeshAnimationSubmesh::operator= ( MeshAnimationSubmesh const &  rhs)
delete

Copy assignment operator.

Friends And Related Function Documentation

◆ MeshAnimationInstanceSubmesh

friend class MeshAnimationInstanceSubmesh
friend

Member Data Documentation

◆ m_component

MorphComponentSPtr castor3d::MeshAnimationSubmesh::m_component
protected

The bones component.

Referenced by getComponent().

◆ m_length

castor::Milliseconds castor3d::MeshAnimationSubmesh::m_length { 0 }
protected

The animation length.

◆ m_submesh

Submesh& castor3d::MeshAnimationSubmesh::m_submesh
protected

The submesh.

Referenced by getSubmesh().


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