Function AnimationGroupClipInPlace
-
AnimationGroupClipInPlace(
animationGroup: AnimationGroup,
start: number,
end: number,
dontCloneAnimations?: boolean,
useFrame?: boolean,
): AnimationGroupParameters
- animationGroup: AnimationGroup
defines the animation group on which to operate
- start: number
defines the lower bound of the range
- end: number
defines the upper bound of the range
OptionaldontCloneAnimations: booleandefines whether or not the animations should be cloned before clipping the keys. Default is false, so animations will be cloned
- useFrame: boolean = false
defines if the range is defined by frame numbers or key indices (default is false which means use key indices)
Returns AnimationGroup
the animationGroup stripped from all the keys outside the given range
- animationGroup: AnimationGroup
Updates an existing animation, keeping only the keys that are inside a given key or frame range