SpatialAnimationPlayer
Unified entry point that aggregates the animation playback capabilities of a SpatialModelView.
It proxies all calls to the underlying model Entity, reusing the same animation system as Entity. Playback control (pause / resume / stop / time / speed) is delegated to the AnimationPlaybackController returned by the most recent playAnimation call, so the semantics stay consistent with the Entity side.
Functions
Link copied to clipboard
Gets all available animation resources of the model.
Link copied to clipboard
abstract fun playAnimation(animationResource: AnimationResource, config: AnimationPlayConfig = AnimationPlayConfig()): AnimationPlaybackController
Plays the specific animation.