Controller
: IController
[Get] |
The IController which dictates the state of this selector.
WhenSelected and WhenUnselected will be invoked based on the input state of this controller, as specified by the ControllerButtonUsage and RequireButtonUsages properties.
Signature
IController Oculus.Interaction.ControllerSelector.Controller |
ControllerButtonUsage
: ControllerButtonUsage
[Get][Set] |
Flag set determining which buttons on Controller can be activated (pressed, touched, etc.) in order for this ControllerSelector to enter a "select" state.
Depending on RequireButtonUsages, one or all of these buttons may be required to select.
Signature
ControllerButtonUsage Oculus.Interaction.ControllerSelector.ControllerButtonUsage |
RequireButtonUsages
: ControllerSelectorLogicOperator
[Get][Set] |
Determines whether selection requires all ControllerButtonUsage buttons, or merely one of them, in order to enter a selection state.
Signature
ControllerSelectorLogicOperator Oculus.Interaction.ControllerSelector.RequireButtonUsages |
WhenSelected
: Action |
Implementation of ISelector.WhenSelected; for details, please refer to the related documentation provided for that event.
Signature
Action Oculus.Interaction.ControllerSelector.WhenSelected |
WhenUnselected
: Action |
Implementation of ISelector.WhenUnselected; for details, please refer to the related documentation provided for that event.
Signature
Action Oculus.Interaction.ControllerSelector.WhenUnselected |
Awake
()
|
Signature
virtual void Oculus.Interaction.ControllerSelector.Awake() Returns void |
Start
()
|
Signature
virtual void Oculus.Interaction.ControllerSelector.Start() Returns void |
Update
()
|
Signature
virtual void Oculus.Interaction.ControllerSelector.Update() Returns void |
InjectAllControllerSelector
(
controller
)
|
Injects all required dependencies for a dynamically instantiated ControllerSelector; effectively wraps InjectController(IController).
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.ControllerSelector.InjectAllControllerSelector(IController controller) Parameters controller: IControllerReturns void |
InjectController
(
controller
)
|
Sets an IController for a dynamically instantiated ControllerSelector.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.ControllerSelector.InjectController(IController controller) Parameters controller: IControllerReturns void |
| Member | Value |
|---|---|
Any | 0 |
All | 1 |