API reference
API reference
Select your platform
No SDKs available
No versions available

HmdOffset Class

Extends MonoBehaviour
Drives its Transform to match the pose provided by an IHmd, with optional constraints and added position/rotation offset.

Protected Fields

bool _started[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )
virtual void HandleHmdUpdated ( )

Member Functions

Injects all required dependencies for a dynamically instantiated HmdOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying IHmd for a dynamically instantiated HmdOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying position offset for a dynamically instantiated HmdOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying rotation offset for a dynamically instantiated HmdOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying DisablePitchFromSource for a dynamically instantiated HmdOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying DisableYawFromSource for a dynamically instantiated HmdOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying DisableRollFromSource for a dynamically instantiated HmdOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Did you find this page helpful?