Struct gdnative::MobileVRInterface
[−]
[src]
pub struct MobileVRInterface { /* fields omitted */ }
core class MobileVRInterface : ARVRInterface
(reference counted)
Base class
MobileVRInterface inherits ARVRInterface and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl MobileVRInterface
[src]
pub fn as_arvr_interface(&self) -> ARVRInterface
[src]
Up-cast.
pub fn new() -> Self
[src]
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same object.
pub fn set_iod(&mut self, iod: f64)
[src]
pub fn get_iod(&self) -> f64
[src]
pub fn set_display_width(&mut self, display_width: f64)
[src]
pub fn get_display_width(&self) -> f64
[src]
pub fn set_display_to_lens(&mut self, display_to_lens: f64)
[src]
pub fn get_display_to_lens(&self) -> f64
[src]
pub fn set_oversample(&mut self, oversample: f64)
[src]
pub fn get_oversample(&self) -> f64
[src]
pub fn set_k1(&mut self, k: f64)
[src]
pub fn get_k1(&self) -> f64
[src]
pub fn set_k2(&mut self, k: f64)
[src]
pub fn get_k2(&self) -> f64
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = ARVRInterface>
pub fn as_reference(&self) -> Reference
[src]
Up-cast.
pub fn get_name(&self) -> GodotString
[src]
pub fn get_capabilities(&self) -> i64
[src]
pub fn is_primary(&mut self) -> bool
[src]
pub fn set_is_primary(&mut self, enable: bool)
[src]
pub fn is_initialized(&mut self) -> bool
[src]
pub fn set_is_initialized(&mut self, initialized: bool)
[src]
pub fn initialize(&mut self) -> bool
[src]
pub fn uninitialize(&mut self)
[src]
pub fn get_render_targetsize(&mut self) -> Vector2
[src]
pub fn is_stereo(&mut self) -> bool
[src]
pub fn get_anchor_detection_is_enabled(&self) -> bool
[src]
pub fn set_anchor_detection_is_enabled(&mut self, enable: bool)
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for MobileVRInterface
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl Deref for MobileVRInterface
[src]
type Target = ARVRInterface
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.