C# Class OOGL.Animation.Bone

Bones used in skeletal animation Thread safety - This class is thread safe.
显示文件 Open project: tpb3d/TPB3D Class Usage Examples

Public Properties

Property Type Description
globalTransformationMatrix Matrix4
keyFrames KeyFrame[]
localRotationMatrix Matrix4
localTransformationMatrix Matrix4
localTranslationMatrix Matrix4
name string
parent Bone

Public Methods

Method Description
Bone ( string name, Bone parent, Matrix4 localRotationMatrix, Matrix4 localTranslationMatrix, KeyFrame keyFrames ) : System
GetAnimationMatrix ( float time ) : Matrix4

Private Methods

Method Description
GetGlobalTransformationMatrix ( ) : Matrix4

Method Details

Bone() public method

public Bone ( string name, Bone parent, Matrix4 localRotationMatrix, Matrix4 localTranslationMatrix, KeyFrame keyFrames ) : System
name string
parent Bone
localRotationMatrix Matrix4
localTranslationMatrix Matrix4
keyFrames KeyFrame
return System

GetAnimationMatrix() public method

public GetAnimationMatrix ( float time ) : Matrix4
time float
return Matrix4

Property Details

globalTransformationMatrix public_oe property

public Matrix4 globalTransformationMatrix
return Matrix4

keyFrames public_oe property

public KeyFrame[] keyFrames
return KeyFrame[]

localRotationMatrix public_oe property

public Matrix4 localRotationMatrix
return Matrix4

localTransformationMatrix public_oe property

public Matrix4 localTransformationMatrix
return Matrix4

localTranslationMatrix public_oe property

public Matrix4 localTranslationMatrix
return Matrix4

name public_oe property

public string name
return string

parent public_oe property

public Bone,OOGL.Animation parent
return Bone