Class AffordanceAnimationDefinition
Definition containing data utilized to change the translation/rotation of an affordance
Namespace: UnityEditor.Experimental.EditorVR.Core
Syntax
[Serializable]
public class AffordanceAnimationDefinition
Properties
max
The maximum value to which an affordance can be translated/rotated
Declaration
public float max { get; }
Property Value
Type | Description |
---|---|
Single |
min
The minimum value to which an affordance can be translated/rotated
Declaration
public float min { get; }
Property Value
Type | Description |
---|---|
Single |
reverseForRightHand
Bool denoting that the defined translation/rotation should be reversed for the right hand
Declaration
public bool reverseForRightHand { get; }
Property Value
Type | Description |
---|---|
Boolean |
rotateAxes
The axes on which to perform rotation of an affordance
Declaration
public AxisFlags rotateAxes { get; }
Property Value
Type | Description |
---|---|
AxisFlags |
translateAxes
The axes on which to perform translation of an affordance
Declaration
public AxisFlags translateAxes { get; }
Property Value
Type | Description |
---|---|
AxisFlags |