Click or drag to resize
DigitalRuneAnimationClipTClipOffset Property
Gets the time offset that is applied to the selected animation clip.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public TimeSpan ClipOffset { get; set; }

Property Value

Type: TimeSpan
A time offset that is applied to the animation clip. The default value is 0.
Remarks

The property ClipOffset defines a time offset which is applied when the animation clip is played back. If the selected clip is, for example, 10 seconds long and ClipOffset is 5 seconds, then the playback of the clip will start in the middle.

By default, the animation clip is played forward from ClipStart to ClipEnd. In this case the ClipOffset is added to the ClipStart.

When IsClipReversed is set, the animation clip is played backward from ClipEnd to ClipStart. In this case the ClipOffset is subtracted from ClipEnd.

See Also