API reference

AnimatedModelMover Class

Extends MonoBehaviour
Moves the first child of the GameObject in a loop, synchronized with an Animator found in a child.
Supports any number of position transitions, each with configurable start/end local positions and time range. All transitions use smooth ease-in/ease-out (SmoothStep) interpolation.

Inner Class

PositionTransition Class

A transition that can be applied over a subset of the animation timeline.

Fields

enabled : bool
Signature
bool Oculus.Interaction.Samples.AnimatedModelMover.PositionTransition.enabled
endLocalPosition : Vector3
Signature
Vector3 Oculus.Interaction.Samples.AnimatedModelMover.PositionTransition.endLocalPosition
startLocalPosition : Vector3
Signature
Vector3 Oculus.Interaction.Samples.AnimatedModelMover.PositionTransition.startLocalPosition
timeEnd : float
A specific normalized time position within the animation in which to end the transition.
Signature
float Oculus.Interaction.Samples.AnimatedModelMover.PositionTransition.timeEnd
timeStart : float
A specific normalized time position within the animation in which to start the transition.
Signature
float Oculus.Interaction.Samples.AnimatedModelMover.PositionTransition.timeStart