The id of the animation group.
Optionaldestination: IAnimationPositionWhere to play the group toward. Default:
"Toggle".
"Start": plays backward to the first frame. No-op if
already at the start."End": plays forward to the last frame. No-op if already
at the end."Toggle": plays toward the opposite of the current
position. The first call from rest heads toward "End";
subsequent calls alternate direction, even mid-animation.Optionaloptions: { instant?: boolean }instant: true jumps to the destination instead of
playing toward it; the promise resolves once the position is
applied.
Activates a visibility group within a visibility set.
A visibility set bundles multiple visibility groups (each group is a named collection of meshes). Activating a group makes its meshes visible and hides the other groups in the same set.
The id of the visibility set.
OptionalgroupId: stringThe id of the visibility group to activate. If omitted, all groups in the set are hidden — effectively switching the set off.
Optionaloptions: ARStaticSceneViewerOptions
Starts playing an animation group.
If the group references animations which are not currently active, an internal state is set so they snap to the correct position once they are loaded.
The returned promise resolves when all active animations of the group have finished playing.