C# Class OOGL.Animation.Bone

Bones used in skeletal animation Thread safety - This class is thread safe.
Show file 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 property

public Matrix4 globalTransformationMatrix
return Matrix4

keyFrames public property

public KeyFrame[] keyFrames
return KeyFrame[]

localRotationMatrix public property

public Matrix4 localRotationMatrix
return Matrix4

localTransformationMatrix public property

public Matrix4 localTransformationMatrix
return Matrix4

localTranslationMatrix public property

public Matrix4 localTranslationMatrix
return Matrix4

name public property

public string name
return string

parent public property

public Bone,OOGL.Animation parent
return Bone