Class AffordanceDefinition
Definition containing data that represents this affordance
Namespace: UnityEditor.Experimental.EditorVR.Core
Syntax
[Serializable]
public class AffordanceDefinition
Properties
animationDefinitions
The animation definition used to drive translation/rotation changes to the visual elements representing this affordance
Declaration
public AffordanceAnimationDefinition[] animationDefinitions { get; set; }
Property Value
| Type | Description |
|---|---|
| AffordanceAnimationDefinition[] |
control
The control associated with this affordance
Declaration
public VRInputDevice.VRControl control { get; set; }
Property Value
| Type | Description |
|---|---|
| VRInputDevice.VRControl |
visibilityDefinitions
The visibility definition used to drive changes to the visual elements representing this affordance
Declaration
public AffordanceVisibilityDefinition[] visibilityDefinitions { get; set; }
Property Value
| Type | Description |
|---|---|
| AffordanceVisibilityDefinition[] |