IND_3dMesh Class Reference
[IND_3dMesh]

List of all members.

Public Member Functions

void SetTransitionSpeed (float pSpeed)
void SetAnimationSpeed (float pSpeed)
char * GetMeshName ()
 Return the name of the loaded 3d Mesh.
unsigned int GetCurrentSequence ()
 Return the number of the sequence that is being rendered at this moment.
int GetNumSequences ()
 Return the number of sequence animations of the 3d Mesh.
float GetAnimationSpeed ()
 Return the animation speed value.
float GetTransitionSpeed ()
 Return the transition speed value.

Friends

class IND_Render
class IND_3dMeshManager


Detailed Description

IND_3dMesh is an 3d mesh object from the class IND_3dMeshManager. Read the explanation in IND_3dMeshManager for having more details.

Member Function Documentation

void IND_3dMesh::SetTransitionSpeed ( float  pSpeed  ) 

Parameters:

Operation:

When IndieLib is rendering an animation sequence of a 3d Mesh, if you change the animation sequence (using IND_Entity3d::SetSequence()) the change will not be abruptly. IndieLib will fade out the effect of the first animation and fade in the second.

This function sets the animation speed of this transition animation. The default value is 0.25f. For speed up the transition choose values between 0.25f and 0.0f. The faster transition possible is 0.0f. In order to slow down the animation speed, choose values higher than 0.25f, the higher the value, the slower the animation.

Default: 0.25f

void IND_3dMesh::SetAnimationSpeed ( float  pSpeed  ) 

Parameters:

Operation:

This function sets the animation speed when changing from one sequence to another. The default value is 1.0f. For speed up the animation choose values between 1.0f and 0.0f. The faster animation possible is 0.0f. In order to slow down the animation speed, choose values higher than 1.0f, the higher the value, the slower the animation.

Default: 1.0f


The documentation for this class was generated from the following files:
Generated on Tue Apr 22 16:46:52 2008 for IndieLib by  doxygen 1.5.4