OvrAnimator
Subclass of Ovr.OvrNode
Subclass of Ovr.OvrNode
This Node is used to manage the most common interactions with the Unity Animator Component.
This Over Component requires an Animator to be set up, see Unity Manual for more info.
Based on the action the Animator is required to perform, this component changes its behavior and requirements.
The OVER SDK provides several ways to interact with the Unity Animator Component. A list is present in OvrAnimatorActionType.
Creates a crossfade from the current Animator state to any other state using normalized times.
Fades the animation, with name "StateName", in over a period of "TransitionDuration" seconds and fades other animations out.
The OVER SDK provides two ways to achieve this: either via the State Name [CrossFadeString, accepting OvrString], or the Hash representation of said name [CrossFadeInt, accepting OvrInt].
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
Sets the weight of the layer at the given index.
Note: the following attributes are added to the existing ones from the super class OvrNode
Sets the look at position in OvrVector3.
Note: the following attributes are added to the existing ones from the super class OvrNode
Sets an AvatarTarget and a TNormalizedTime for the current state.
Note: the following attributes are added to the existing ones from the super class OvrNode
Sets the value of the given parameter. The value type will vary, based on the action selected.
Note: the following attributes are added to the existing ones from the super class OvrNode
Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Animator
Unity Animator Component
ActionType
Action type [CrossFadeInt, CrossFadeString]
State[Hash]Name
Name of the Animation State
TransitionDuration
Length of the transition
Layer
Layer
TimeOffset
Normalized time offset
TransitionTime
Normalized transition time
Animator
Unity Animator Component
ActionType
Action type [SetLayerWeight]
LayerIndex
Layer
Weight
Normalized time offset
Animator
Unity Animator Component
ActionType
Action type [SetLookAtPosition]
LookAtPosition
Look at position
Animator
Unity Animator Component
ActionType
Action type [SetTarget]
TargetIndex
The avatar body part queried.
TNormalizedTime
The current state Time.
Animator
Unity Animator Component
ActionType
Action type [SetInteger, SetFloat, SetBool]
ParameterName
Parameter name.
Value
Value to set.
Animator
Unity Animator Component
ActionType
Action type [UnityAction]
UnityAction
UnityAction
UnityAction to be invoked