Used by AnimationMixerLayer for setting animation clip range type.
Use AnimationPlayer instead
// Set an AnimationMixerLayer's range using start and end time//@input Component.AnimationMixer mixervar layer = script.mixer.getLayers()[0];layer.rangeType = AnimationClip.RangeType.Time;layer.from = 1.0;layer.to = 2.0; Copy
// Set an AnimationMixerLayer's range using start and end time//@input Component.AnimationMixer mixervar layer = script.mixer.getLayers()[0];layer.rangeType = AnimationClip.RangeType.Time;layer.from = 1.0;layer.to = 2.0;
Range is specified by start and end frame numbers
Range is specified by start and end time, in seconds
Used by AnimationMixerLayer for setting animation clip range type.
Deprecated
Use AnimationPlayer instead
Deprecated
Example