CrystalSpace

Public API Reference

iAnimatedMesh Struct Reference
[Mesh plugins]

State and setting for an instance of an animated mesh. More...

#include <imesh/animesh.h>

Inheritance diagram for iAnimatedMesh:

List of all members.

Public Member Functions

virtual float GetMorphTargetWeight (uint target) const =0
 Get the weight for blending of a given morph target.
virtual iSkeleton2GetSkeleton () const =0
 Get the skeleton to use for this mesh.
virtual iAnimatedMeshSubMeshGetSubMesh (size_t index) const =0
 Get a submesh by index.
virtual size_t GetSubMeshCount () const =0
 Get the total number of submeshes.
virtual void SetMorphTargetWeight (uint target, float weight)=0
 Set the weight for blending of a given morph target.
virtual void SetSkeleton (iSkeleton2 *skeleton)=0
 Set the skeleton to use for this mesh.
Socket

virtual size_t GetSocketCount () const =0
 Get the number of sockets in factory.
virtual iAnimatedMeshSocket * GetSocket (size_t index) const =0
 Get a specific socket instance.

Detailed Description

State and setting for an instance of an animated mesh.

Definition at line 446 of file animesh.h.


Member Function Documentation

virtual float iAnimatedMesh::GetMorphTargetWeight ( uint  target  )  const [pure virtual]

Get the weight for blending of a given morph target.

virtual iSkeleton2* iAnimatedMesh::GetSkeleton (  )  const [pure virtual]

Get the skeleton to use for this mesh.

virtual iAnimatedMeshSocket* iAnimatedMesh::GetSocket ( size_t  index  )  const [pure virtual]

Get a specific socket instance.

virtual size_t iAnimatedMesh::GetSocketCount (  )  const [pure virtual]

Get the number of sockets in factory.

virtual iAnimatedMeshSubMesh* iAnimatedMesh::GetSubMesh ( size_t  index  )  const [pure virtual]

Get a submesh by index.

virtual size_t iAnimatedMesh::GetSubMeshCount (  )  const [pure virtual]

Get the total number of submeshes.

virtual void iAnimatedMesh::SetMorphTargetWeight ( uint  target,
float  weight 
) [pure virtual]

Set the weight for blending of a given morph target.

virtual void iAnimatedMesh::SetSkeleton ( iSkeleton2 skeleton  )  [pure virtual]

Set the skeleton to use for this mesh.

The skeleton must have at least enough bones for all references made to it in the vertex influences.

Parameters:
skeleton 

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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1