Animation Tracking

Your scene model may have baked, pre-recorded animations where meshes change position, rotation, and scale during the course of the user experience.

By default, Metalitix records baked animations from the scene object passed into startSession().

SettingDefault

trackAnimations Whether to automatically track all baked scene animations on session start.

true

FunctionParametersReturns

addAnimation() Record the state of a scene's baked animation to Metalitix. The scene model uploaded to Metalitix must have an animation track of the same name.

AnimationGroup animation - The animation track to record.

None

clearAnimations() Remove all scene baked animation tracks from being recorded to Metalitix.

None

None

Last updated