Instances of this type represent and expose the capabilities of tracked XR controllers in the physical world. Controllers are leveraged in many different ways throughout the Interaction SDK (as IControllers directly, as ISelectors, as sources for RayInteractor.Ray data, etc.) and, along with Hands, is one of the main interaction modalities supported by the SDK.
Fields
Handedness Handedness[Get]
Implementation of IController.Handedness; for details, please refer to the related documentation provided for that interface.
float Scale[Get]
Implementation of IController.Scale; for details, please refer to the related documentation provided for that interface.
Properties
bool IsConnected[Get]
Implementation of IController.IsConnected; for details, please refer to the related documentation provided for that interface.
bool IsPoseValid[Get]
Implementation of IController.IsPoseValid; for details, please refer to the related documentation provided for that interface.
bool IsPointerPoseValid[Get]
Checks whether a valid "pointer pose" is currently available.
Wrapper for DataModifier<TData>.InjectAllDataModifier(DataSource<TData>.UpdateModeFlags, IDataSource, IDataSource<TData>, bool), for injecting the required dependencies to a dynamically-allocated Controller instance.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.