TryGetControllerForInteractor
(
interactor
, controller
)
|
Retrieves the IController, if there is one, with which an IInteractorView has been associated using Context decoration.
Signature
static bool Oculus.Interaction.InteractorControllerDecorator.TryGetControllerForInteractor(IInteractorView interactor, out IController controller) Parameters Returns boolÂ
True if controller was populated with a valid associated IController, false otherwise.
|
TryGetControllerForInteractorId
(
InteractorId
, controller
)
|
Retrieves the IController associated with a specific interactor identifier through value-based context decoration
Signature
static bool Oculus.Interaction.InteractorControllerDecorator.TryGetControllerForInteractorId(int InteractorId, out IController controller) Parameters InteractorId: intÂ
The unique identifier of the interactor to query
controller: out IControllerÂ
When this method returns, contains the associated IController if found; otherwise, null
Returns boolÂ
True if a controller association exists for the specified ID, false otherwise
|