Method | Description | |
---|---|---|
JointAnimationKeyFrame ( float time, Matrix transform ) : System |
Creates a new keyframe from given time and transformation matrix. Since internally the joint transformation is stored in form of its scale, rotation and translation components the matrix has to be decomposed within this constructor.
|
|
JointAnimationKeyFrame ( float time, Vector3 scale, Quaternion rotation, Vector3 translation ) : System |
Creates a new keyframe from given time and transformations
|
|
Lerp ( JointAnimationKeyFrame frame1, JointAnimationKeyFrame frame2, float amount ) : JointAnimationKeyFrame |
Linear interpolation of two keyframes. The resulting keyframe will consist of the interpolated time and transformation.
|
|
LerpTransform ( JointAnimationKeyFrame frame1, JointAnimationKeyFrame frame2, float amount ) : Matrix |
Linear interpolation of two keyframe transformations.
|
public JointAnimationKeyFrame ( float time, Matrix transform ) : System | ||
time | float | Time of keyframe |
transform | Matrix | Transformation |
return | System |
public JointAnimationKeyFrame ( float time, Vector3 scale, Quaternion rotation, Vector3 translation ) : System | ||
time | float | Time of keyframe |
scale | Vector3 | Scale |
rotation | Quaternion | Rotation |
translation | Vector3 | Translation |
return | System |
public static Lerp ( JointAnimationKeyFrame frame1, JointAnimationKeyFrame frame2, float amount ) : JointAnimationKeyFrame | ||
frame1 | JointAnimationKeyFrame | One keyframe |
frame2 | JointAnimationKeyFrame | Another keyframe |
amount | float | Weight of the second keyframe between 0.0 and 1.0 |
return | JointAnimationKeyFrame |
public static LerpTransform ( JointAnimationKeyFrame frame1, JointAnimationKeyFrame frame2, float amount ) : Matrix | ||
frame1 | JointAnimationKeyFrame | One keyframe |
frame2 | JointAnimationKeyFrame | Another keyframe |
amount | float | Weight of second keyframe between 0.0 and 1.0 |
return | Matrix |