Saga3D API Documentation
1.0-RC4
|
Interface for using some special functions of Skinned meshes. More...
#include <ISkinnedMesh.h>
Public Member Functions | |
virtual std::uint32_t | getBoneCount () const =0 |
Gets joint count. More... | |
virtual glm::mat4 | getBoneTransform (const std::uint32_t boneID) const =0 |
Gets transformation matrix of bone. More... | |
![]() | |
virtual std::uint32_t | getFrameCount () const =0 |
Gets the frame count of the animated mesh. More... | |
virtual float | getAnimationSpeed () const =0 |
Gets the animation speed of the animated mesh. More... | |
virtual void | setAnimationSpeed (float fps)=0 |
Sets the animation speed of the animated mesh. More... | |
virtual void | setAnimation (const uint32_t index)=0 |
Set active animation. More... | |
virtual void | onAnimate (const float time)=0 |
Animate the mesh. More... | |
![]() | |
void | setID (const ID id) |
ID | getID () const |
virtual void | addMeshBuffer (std::unique_ptr< IMeshBuffer > buf)=0 |
adds a MeshBuffer More... | |
virtual std::uint32_t | getMeshBufferCount () const =0 |
Get the amount of mesh buffers. More... | |
virtual IMeshBuffer & | getMeshBuffer (std::uint32_t nr=0)=0 |
Get pointer to a mesh buffer. More... | |
virtual const core::aabbox3d< float > & | getBoundingBox () const =0 |
Get an axis aligned bounding box of the mesh. More... | |
virtual void | setBoundingBox (const core::aabbox3df &box)=0 |
Set user-defined axis aligned bounding box. More... | |
virtual E_MESH_TYPE | getMeshType () const =0 |
Additional Inherited Members | |
![]() | |
ID | MeshID = INVALID_ID |
ID of this mesh. More... | |
Interface for using some special functions of Skinned meshes.
Definition at line 12 of file ISkinnedMesh.h.
|
pure virtual |
Gets joint count.
|
pure virtual |
Gets transformation matrix of bone.