Function AnimationGroupClipKeysInPlace
-
AnimationGroupClipKeysInPlace(
animationGroup: AnimationGroup,
fromKey: number,
toKey: number,
dontCloneAnimations?: boolean,
): AnimationGroupParameters
- animationGroup: AnimationGroup
defines the animation group on which to operate
- fromKey: number
defines the lower bound of the range
- toKey: 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
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 range