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

#include <SkeletonAnimationBone.hpp>

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

Public Member Functions

C3D_API SkeletonAnimationBone (SkeletonAnimation &animation)
 Constructor. More...
 
C3D_API SkeletonAnimationBone (SkeletonAnimationBone &&rhs)=default
 Move constructor. More...
 
C3D_API SkeletonAnimationBoneoperator= (SkeletonAnimationBone &&rhs)=delete
 Move assignment operator. More...
 
C3D_API SkeletonAnimationBone (SkeletonAnimationBone const &rhs)=delete
 Copy constructor. More...
 
C3D_API SkeletonAnimationBoneoperator= (SkeletonAnimationBone const &rhs)=delete
 Copy assignment operator. More...
 
castor::String const & getName () const override
 
void setBone (BoneSPtr bone)
 Sets the moving object. More...
 
BoneSPtr getBone () const
 
- Public Member Functions inherited from castor3d::SkeletonAnimationObject
virtual C3D_API ~SkeletonAnimationObject ()=default
 Destructor. More...
 
C3D_API void addChild (SkeletonAnimationObjectSPtr object)
 adds a child to this object. More...
 
virtual C3D_API castor::String const & getName () const =0
 Retrieves the object name. More...
 
InterpolatorType getInterpolationMode () const
 
SkeletonAnimationObjectType getType () const
 
castor::Matrix4x4f const & getNodeTransform () const
 Retrieves the animation node transformation. More...
 
void setNodeTransform (castor::Matrix4x4f const &transform)
 Sets the animation node transformation. More...
 
SkeletonAnimationObjectPtrArray const & getChildren () const
 
SkeletonAnimationObjectSPtr getParent () const
 

Friends

class BinaryWriter< SkeletonAnimationBone >
 
class BinaryParser< SkeletonAnimationBone >
 

Additional Inherited Members

- Protected Member Functions inherited from castor3d::SkeletonAnimationObject
C3D_API SkeletonAnimationObject (SkeletonAnimation &animation, SkeletonAnimationObjectType type)
 Constructor. More...
 
C3D_API SkeletonAnimationObject (SkeletonAnimationObject const &rhs)=default
 Copy constructor. More...
 
- Protected Attributes inherited from castor3d::SkeletonAnimationObject
InterpolatorType m_mode { InterpolatorType::eCount }
 
SkeletonAnimationObjectType m_type
 
castor::Matrix4x4f m_nodeTransform
 
SkeletonAnimationObjectPtrArray m_children
 
SkeletonAnimationObjectWPtr m_parent
 
castor::BoundingBox m_boundingBox
 

Constructor & Destructor Documentation

◆ SkeletonAnimationBone() [1/3]

C3D_API castor3d::SkeletonAnimationBone::SkeletonAnimationBone ( SkeletonAnimation animation)
explicit

Constructor.

Parameters
[in]animationThe parent animation.

◆ SkeletonAnimationBone() [2/3]

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

Move constructor.

◆ SkeletonAnimationBone() [3/3]

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

Copy constructor.

Member Function Documentation

◆ getBone()

BoneSPtr castor3d::SkeletonAnimationBone::getBone ( ) const
inline
Returns
The moving object.

◆ getName()

castor::String const & castor3d::SkeletonAnimationBone::getName ( ) const
overridevirtual
Returns
The object name.

Implements castor3d::SkeletonAnimationObject.

◆ operator=() [1/2]

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

Move assignment operator.

◆ operator=() [2/2]

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

Copy assignment operator.

◆ setBone()

void castor3d::SkeletonAnimationBone::setBone ( BoneSPtr  bone)
inline

Sets the moving object.

Parameters
[in]boneThe bone.

Friends And Related Function Documentation

◆ BinaryParser< SkeletonAnimationBone >

friend class BinaryParser< SkeletonAnimationBone >
friend

◆ BinaryWriter< SkeletonAnimationBone >

friend class BinaryWriter< SkeletonAnimationBone >
friend

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