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

Hmd Class

The concrete implementation of IHmd and the Interaction SDK's default concrete representation of an head-mounted display.
This type is also a DataModifier<TData> and is thus technically permitted to alter system-provided HMD data. However, altering this data can dramatically impact user comfort, so this implementation does not perform any; likewise, descendent types are strongly encouraged to refrain from modifying the system-provided HMD data.

Events

WhenUpdated : Action
Implementation of IHmd.WhenUpdated; for details, please refer to the related documentation provided for that interface.
Signature
Action Oculus.Interaction.Input.Hmd.WhenUpdated

Protected Methods

Apply ( data )
Signature
override void Oculus.Interaction.Input.Hmd.Apply(HmdDataAsset data)
Parameters
data: HmdDataAsset
Returns
override void

Methods

MarkInputDataRequiresUpdate ()
Implementation of DataSource<TData>.MarkInputDataRequiresUpdate; for details, please refer to the related documentation provided for that interface.
Signature
override void Oculus.Interaction.Input.Hmd.MarkInputDataRequiresUpdate()
Returns
override void
TryGetRootPose ( pose )
Implementation of IHmd.TryGetRootPose(out Pose); for details, please refer to the related documentation provided for that interface.
Signature
bool Oculus.Interaction.Input.Hmd.TryGetRootPose(out Pose pose)
Parameters
pose: out Pose
Returns
bool