Trait hmdee::backend::HeadMountedDevice [−][src]
A head mounted device.
Required methods
fn product_name(&self) -> &'static str
[src]
Gets the product name of the HMD.
fn orientation(&self) -> Quaternion
[src]
Gets the orientation of the headset.
fn button(&self, button: Button) -> ButtonState
[src]
Gets the state of a button.
fn properties(&self) -> &Properties
[src]
Get information about the headset.
fn update(&mut self) -> Result<(), Error>
[src]
Updates the headset state from a context.
This should be called often.
fn power_on(&mut self) -> Result<(), Error>
[src]
Powers on the headset.
Contract: If the device is already on, nothing should happen.
fn power_off(&mut self) -> Result<(), Error>
[src]
Powers off the headset.