public Bone ( string name, |
||
name | string | |
parent | ||
localRotationMatrix | Matrix4 | |
localTranslationMatrix | Matrix4 | |
keyFrames | KeyFrame | |
Результат | System |
public Bone(string name, Bone parent, Matrix4 localRotationMatrix, Matrix4 localTranslationMatrix, KeyFrame[] keyFrames)
{
this.name = name;
this.parent = parent;
this.localRotationMatrix = localRotationMatrix;
this.localTranslationMatrix = localTranslationMatrix;
this.localTransformationMatrix = localRotationMatrix * localTranslationMatrix;
this.globalTransformationMatrix = this.GetGlobalTransformationMatrix();
this.keyFrames = keyFrames;
}