C# 클래스 Mckineap.Utilities.Converters.SkeletonConverter

파일 보기 프로젝트 열기: loic-lavergne/mckineap 1 사용 예제들

공개 메소드들

메소드 설명
Build ( ) : bool

Build the created skeleton with a frame

Create ( ) : void

Create a skeleton with preset or Assimp data

SkeletonConverter ( ) : Assimp

Initializes a new instance of the Mckineap.Models.Model3D.SkeletonManager class.

Update ( ) : bool

Updates the Skeleton Content

비공개 메소드들

메소드 설명
BuildBone ( Mckineap myBone ) : System.Windows.Media.Media3D.GeometryModel3D

Build a bone for drawing

BuildJoint ( Joint joint ) : System.Windows.Media.Media3D.GeometryModel3D

Build a joint for drawing

FindNodeByName ( string name ) : Assimp.NodeAnimationChannel

Find an Assimp node by name.

GetAbsoluteMatrix ( Matrix4x4 &finMat, Assimp.NodeAnimationChannel pNodeAnim, Matrix4x4 parentMatrix ) : Matrix3D

Convert AssimpAnimation, positions and rotation, in Matrix3D (Absolute)

GetCurrentModelData ( ) : void

Get the data from Session

ReadNodeHierarchy ( Assimp.Node parentNode, Matrix4x4 parentMatrix ) : void

Cherche les noeuds dans l'animation

SetBone ( string firstName, string secondName ) : void

Create the bones from two joints

SetJoint ( string nodeName, Matrix3D absoluteMatrix, Assimp delta ) : void

Update a 3D Joint in the joint Collection

메소드 상세

Build() 공개 메소드

Build the created skeleton with a frame
public Build ( ) : bool
리턴 bool

Create() 공개 메소드

Create a skeleton with preset or Assimp data
public Create ( ) : void
리턴 void

SkeletonConverter() 공개 메소드

Initializes a new instance of the Mckineap.Models.Model3D.SkeletonManager class.
public SkeletonConverter ( ) : Assimp
리턴 Assimp

Update() 공개 메소드

Updates the Skeleton Content
public Update ( ) : bool
리턴 bool