Function OptimizeAnimations
-
Parameters
- scene: Scene
defines the scene to optimize
- options: Partial<AnimationOptimization> = {}
defines the optimization options
Returns void
- scene: Scene
defines the scene to optimize
defines the optimization options
This is a destructive optimization that merges all animatables into the first one. That animatable will also host all the runtime animations. We expect that all the animatables are on the same timeframe (same start, end, loop, etc..)