Active
: bool
[Get] |
When any of these conditions in Property are met, this IActiveState will become Active.
Signature
bool Oculus.Interaction.InteractorActiveState.Active |
Property
: InteractorProperty
[Get][Set] |
The InteractorProperty that will be tested against.
Signature
InteractorProperty Oculus.Interaction.InteractorActiveState.Property |
Awake
()
|
Signature
virtual void Oculus.Interaction.InteractorActiveState.Awake() Returns void |
Start
()
|
Signature
virtual void Oculus.Interaction.InteractorActiveState.Start() Returns void |
InjectAllInteractorActiveState
(
interactor
)
|
Injects all required dependencies for a dynamically instantiated InteractorActiveState.
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.InteractorActiveState.InjectAllInteractorActiveState(IInteractor interactor) Parameters interactor: IInteractorReturns void |
InjectInteractor
(
interactor
)
|
Sets the underlying IInteractor for a dynamically instantiated InteractorActiveState.
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.InteractorActiveState.InjectInteractor(IInteractor interactor) Parameters interactor: IInteractorReturns void |
| Member | Value | Description |
|---|---|---|
HasCandidate | 1 << 0 |
Does the interactor have a candidate
|
HasInteractable | 1 << 1 |
Does the interactor have an interactable
|
IsSelecting | 1 << 2 |
Is the interactor selecting
|
HasSelectedInteractable | 1 << 3 |
Does the interactor have a selected interactable
|
IsNormal | 1 << 4 |
Is the interactor in the InteractorState.Normal state
|
IsHovering | 1 << 5 |
Is the interactor in the InteractorState.Hover state
|
IsDisabled | 1 << 6 |
Is the interactor in the InteractorState.Select state
|