Struct rovr::TrackingOptions [-] [+] [src]

pub struct TrackingOptions {
    // some fields omitted
}

Options for specifying the enabled tracking capabilities of a headset.

Methods

impl TrackingOptions

fn new() -> TrackingOptions

TrackingOptions with no tracking options enabled.

fn with_all() -> TrackingOptions

TrackingOptions with all supported tracking options enabled.

fn position<'f>(&'f mut self) -> &'f mut TrackingOptions

Enable tracking of head position.

fn orientation<'f>(&'f mut self) -> &'f mut TrackingOptions

Enable tracking of head orientation.

fn mag_yaw_correct<'f>(&'f mut self) -> &'f mut TrackingOptions

Enable yaw drift correction.