C# Class Axiom.Animating.Pose

A pose is a linked set of vertex offsets applying to one set of vertex data.
The target index referred to by the pose has a meaning set by the user of this class; but for example when used by Mesh it refers to either the Mesh shared geometry (0) or a SubMesh dedicated geometry (1+). Pose instances can be referred to by keyframes in VertexAnimationTrack in order to animate based on blending poses together.
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Méthodes publiques

Méthode Description
AddVertex ( int index, Vector3 offset ) : void

Adds an offset to a vertex for this pose.

ClearVertexOffsets ( ) : void

Clear all vertex offsets.

GetHardwareVertexBuffer ( int numVertices ) : HardwareVertexBuffer

Get a hardware vertex buffer version of the vertex offsets.

Pose ( ushort target, string name ) : System

Constructor

RemoveVertex ( int index ) : void

Remove a vertex offset.

Méthodes protégées

Méthode Description
DisposeVertexBuffer ( ) : void

Method Details

AddVertex() public méthode

Adds an offset to a vertex for this pose.
public AddVertex ( int index, Vector3 offset ) : void
index int The vertex index
offset Vector3 The position offset for this pose
Résultat void

ClearVertexOffsets() public méthode

Clear all vertex offsets.
public ClearVertexOffsets ( ) : void
Résultat void

DisposeVertexBuffer() protected méthode

protected DisposeVertexBuffer ( ) : void
Résultat void

GetHardwareVertexBuffer() public méthode

Get a hardware vertex buffer version of the vertex offsets.
public GetHardwareVertexBuffer ( int numVertices ) : HardwareVertexBuffer
numVertices int
Résultat Axiom.Graphics.HardwareVertexBuffer

Pose() public méthode

Constructor
public Pose ( ushort target, string name ) : System
target ushort The target vertexdata index (0 for shared, 1+ for /// dedicated at the submesh index + 1
name string
Résultat System

RemoveVertex() public méthode

Remove a vertex offset.
public RemoveVertex ( int index ) : void
index int
Résultat void