Click or drag to resize
DigitalRuneSkeletonKeyFrameAnimationAddKeyFrame Method
Adds a key frame for the specified bone.

Namespace: DigitalRune.Animation.Character
Assembly: 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
)

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
ExceptionCondition
ArgumentOutOfRangeExceptionboneIndex is out of range.
See Also