Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members

irr::scene::ISkinnedMesh Class Reference

Interface for using some special functions of Skinned meshes. More...

#include <ISkinnedMesh.h>

Inheritance diagram for irr::scene::ISkinnedMesh:

irr::scene::IAnimatedMesh irr::scene::IMesh irr::IReferenceCounted List of all members.

Public Member Functions

virtual void animateMesh (f32 frame, f32 blend)=0
 Animates this mesh's joints based on frame input.
virtual void convertMeshToTangents ()=0
virtual SSkinMeshBuffercreateBuffer ()=0
virtual SJointcreateJoint (SJoint *parent=0)=0
virtual SPositionKeycreatePositionKey (SJoint *joint)=0
virtual SRotationKeycreateRotationKey (SJoint *joint)=0
virtual SScaleKeycreateScaleKey (SJoint *joint)=0
virtual SWeightcreateWeight (SJoint *joint)=0
virtual void finalize ()=0
 loaders should call this after populating the mesh
virtual const core::array<
SJoint * > & 
getAllJoints () const =0
 exposed for loaders: joints list
virtual core::array< SJoint * > & getAllJoints ()=0
 exposed for loaders: joints list
virtual u32 getJointCount () const =0
virtual const c8getJointName (u32 number) const =0
virtual s32 getJointNumber (const c8 *name) const =0
virtual core::array< SSkinMeshBuffer * > & getMeshBuffers ()=0
 exposed for loaders: to add mesh buffers
virtual void setInterpolationMode (E_INTERPOLATION_MODE mode)=0
 Sets Interpolation Mode.
virtual void skinMesh ()=0
 Preforms a software skin on this mesh based of joint positions.
virtual void updateNormalsWhenAnimating (bool on)=0
virtual bool useAnimationFrom (const ISkinnedMesh *mesh)=0

Classes

struct  SJoint
 Joints. More...
struct  SPositionKey
 Animation keyframe which describes a new position. More...
struct  SRotationKey
 Animation keyframe which describes a new rotation. More...
struct  SScaleKey
 Animation keyframe which describes a new scale. More...
struct  SWeight
 A vertex weight. More...

Detailed Description

Interface for using some special functions of Skinned meshes.

Definition at line 32 of file ISkinnedMesh.h.


Member Function Documentation

virtual void irr::scene::ISkinnedMesh::animateMesh f32  frame,
f32  blend
[pure virtual]
 

Animates this mesh's joints based on frame input.

virtual void irr::scene::ISkinnedMesh::convertMeshToTangents  )  [pure virtual]
 

virtual SSkinMeshBuffer* irr::scene::ISkinnedMesh::createBuffer  )  [pure virtual]
 

virtual SJoint* irr::scene::ISkinnedMesh::createJoint SJoint parent = 0  )  [pure virtual]
 

virtual SPositionKey* irr::scene::ISkinnedMesh::createPositionKey SJoint joint  )  [pure virtual]
 

virtual SRotationKey* irr::scene::ISkinnedMesh::createRotationKey SJoint joint  )  [pure virtual]
 

virtual SScaleKey* irr::scene::ISkinnedMesh::createScaleKey SJoint joint  )  [pure virtual]
 

virtual SWeight* irr::scene::ISkinnedMesh::createWeight SJoint joint  )  [pure virtual]
 

virtual void irr::scene::ISkinnedMesh::finalize  )  [pure virtual]
 

loaders should call this after populating the mesh

virtual const core::array<SJoint*>& irr::scene::ISkinnedMesh::getAllJoints  )  const [pure virtual]
 

exposed for loaders: joints list

virtual core::array<SJoint*>& irr::scene::ISkinnedMesh::getAllJoints  )  [pure virtual]
 

exposed for loaders: joints list

virtual u32 irr::scene::ISkinnedMesh::getJointCount  )  const [pure virtual]
 

Gets joint count.

Returns:
Returns amount of joints in the skeletal animated mesh.

virtual const c8* irr::scene::ISkinnedMesh::getJointName u32  number  )  const [pure virtual]
 

Gets the name of a joint.

Parameters:
number,: Zero based index of joint. The last joint has the number getJointCount()-1;
Returns:
Returns name of joint and null if an error happened.

virtual s32 irr::scene::ISkinnedMesh::getJointNumber const c8 name  )  const [pure virtual]
 

Gets a joint number from its name

Parameters:
name,: Name of the joint.
Returns:
Returns the number of the joint or -1 if not found.

virtual core::array<SSkinMeshBuffer*>& irr::scene::ISkinnedMesh::getMeshBuffers  )  [pure virtual]
 

exposed for loaders: to add mesh buffers

virtual void irr::scene::ISkinnedMesh::setInterpolationMode E_INTERPOLATION_MODE  mode  )  [pure virtual]
 

Sets Interpolation Mode.

virtual void irr::scene::ISkinnedMesh::skinMesh  )  [pure virtual]
 

Preforms a software skin on this mesh based of joint positions.

virtual void irr::scene::ISkinnedMesh::updateNormalsWhenAnimating bool  on  )  [pure virtual]
 

Update Normals when Animating False= Don't animate, faster True= Update normals

virtual bool irr::scene::ISkinnedMesh::useAnimationFrom const ISkinnedMesh mesh  )  [pure virtual]
 

uses animation from another mesh the animation is linked (not copied) based on joint names (so make sure they are unique)

Returns:
Returns true if all joints in this mesh were matched up (empty names will not be matched, and it's case sensitive). Unmatched joints will not be animated.


The documentation for this class was generated from the following file:
The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated on Sun Jun 1 07:59:20 2008 by Doxygen (1.4.2)