| SkeletonKeyFrameAnimationAddKeyFrame Method |
Adds a key frame for the specified bone.
Namespace: DigitalRune.Animation.CharacterAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public void AddKeyFrame(
int boneIndex,
TimeSpan time,
SrtTransform boneTransform
)
Public Sub AddKeyFrame (
boneIndex As Integer,
time As TimeSpan,
boneTransform As SrtTransform
)
public:
void AddKeyFrame(
int boneIndex,
TimeSpan time,
SrtTransform boneTransform
)
member AddKeyFrame :
boneIndex : int *
time : TimeSpan *
boneTransform : SrtTransform -> unit
Parameters
- boneIndex
- Type: SystemInt32
The index of the bone. - time
- Type: SystemTimeSpan
The time of the key frame. - boneTransform
- Type: DigitalRune.Animation.CharacterSrtTransform
The bone transform.
Exceptions See Also