interface MAGES::Interaction::IUIInteractor¶
Overview¶
An interactor that can interact with UI elements. More…
interface IUIInteractor { // properties Transform RayOrigin; float RayLength; // methods bool CanInteractWithUIs(); void UpdateUIModel(ref TrackedDeviceModel model); }; // direct descendants class HandInteractor; class SimpleUIInteractor;
Detailed Documentation¶
An interactor that can interact with UI elements.
Properties¶
Transform RayOrigin
Gets the transform from which the Raycast for UIs originates.
float RayLength
Gets the length of the Raycast for UIs.
Methods¶
bool CanInteractWithUIs()
Gets a value indicating whether this IUIInteractor has the ability to interact with UIs.
Returns:
true
if can hover UIs.
void UpdateUIModel(ref TrackedDeviceModel model)
Updates the UI model with the current state of the interactor.
Parameters:
model |
The model to fill with the current state of the IUIInteractor. |