[−][src]Struct openvr::Chaperone
Methods
impl Chaperone
[src]
pub fn get_calibration_state(&self) -> ChaperoneCalibrationState
[src]
Get the current state of Chaperone calibration. This state can change at any time during a session due to physical base station changes. (NOTE: Some of these error codes are never returned as implementation for the error states is still a work in progress.)
pub fn get_play_area_size(&self) -> Option<(f32, f32)>
[src]
Returns the width and depth of the Play Area.
pub fn get_play_area_rect(&self) -> Option<[[f32; 3]; 4]>
[src]
Returns the 4 corner positions of the PlayArea.
pub fn are_bounds_visible(&self) -> bool
[src]
Are chaperone bounds visible?
pub fn force_bounds_visible(&self, force: bool)
[src]
Set chaperone bounds to always be visible. If set to false, chaperone bounds will only show when near the edge.
Caution: this change is persistent, even after your program exits.
Auto Trait Implementations
impl RefUnwindSafe for Chaperone
impl Send for Chaperone
impl Sync for Chaperone
impl Unpin for Chaperone
impl UnwindSafe for Chaperone
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,