C# 클래스 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.
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
DisposeVertexBuffer ( ) : void

메소드 상세

AddVertex() 공개 메소드

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
리턴 void

ClearVertexOffsets() 공개 메소드

Clear all vertex offsets.
public ClearVertexOffsets ( ) : void
리턴 void

DisposeVertexBuffer() 보호된 메소드

protected DisposeVertexBuffer ( ) : void
리턴 void

GetHardwareVertexBuffer() 공개 메소드

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

Pose() 공개 메소드

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
리턴 System

RemoveVertex() 공개 메소드

Remove a vertex offset.
public RemoveVertex ( int index ) : void
index int
리턴 void