Click or drag to resize
DigitalRuneSkeletonKeyFrameAnimationFreeze Method
Prepares this animation for runtime usage. (Must be called after all key frames have been added!)

Namespace: DigitalRune.Animation.Character
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public void Freeze()
Remarks

Freeze must be called after all key frames have been added (see method AddKeyFrame(Int32, TimeSpan, SrtTransform)) and before the animation can be used in the animation system. Freeze optimizes the internal data for fast access at runtime.

When key frames are added or removed after calling Freeze, the animation is automatically reset into an editable state. All internal optimizations will be discarded! Freeze needs to be called again after all key frames are added/removed.

Weights can be modified before and after Freeze. For example, weights can be modified while the animation is running.

See Also