Struct gdnative_sys::godot_gdnative_ext_arvr_api_struct[][src]

#[repr(C)]pub struct godot_gdnative_ext_arvr_api_struct {
    pub type_: c_uint,
    pub version: godot_gdnative_api_version,
    pub next: *const godot_gdnative_api_struct,
    pub godot_arvr_register_interface: Option<unsafe extern "C" fn(p_interface: *const godot_arvr_interface_gdnative)>,
    pub godot_arvr_get_worldscale: Option<unsafe extern "C" fn() -> godot_real>,
    pub godot_arvr_get_reference_frame: Option<unsafe extern "C" fn() -> godot_transform>,
    pub godot_arvr_blit: Option<unsafe extern "C" fn(p_eye: c_int, p_render_target: *mut godot_rid, p_screen_rect: *mut godot_rect2)>,
    pub godot_arvr_get_texid: Option<unsafe extern "C" fn(p_render_target: *mut godot_rid) -> godot_int>,
    pub godot_arvr_add_controller: Option<unsafe extern "C" fn(p_device_name: *mut c_char, p_hand: godot_int, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool) -> godot_int>,
    pub godot_arvr_remove_controller: Option<unsafe extern "C" fn(p_controller_id: godot_int)>,
    pub godot_arvr_set_controller_transform: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_transform: *mut godot_transform, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool)>,
    pub godot_arvr_set_controller_button: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_button: godot_int, p_is_pressed: godot_bool)>,
    pub godot_arvr_set_controller_axis: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_exis: godot_int, p_value: godot_real, p_can_be_negative: godot_bool)>,
    pub godot_arvr_get_controller_rumble: Option<unsafe extern "C" fn(p_controller_id: godot_int) -> godot_real>,
}

Fields

type_: c_uintversion: godot_gdnative_api_versionnext: *const godot_gdnative_api_structgodot_arvr_register_interface: Option<unsafe extern "C" fn(p_interface: *const godot_arvr_interface_gdnative)>godot_arvr_get_worldscale: Option<unsafe extern "C" fn() -> godot_real>godot_arvr_get_reference_frame: Option<unsafe extern "C" fn() -> godot_transform>godot_arvr_blit: Option<unsafe extern "C" fn(p_eye: c_int, p_render_target: *mut godot_rid, p_screen_rect: *mut godot_rect2)>godot_arvr_get_texid: Option<unsafe extern "C" fn(p_render_target: *mut godot_rid) -> godot_int>godot_arvr_add_controller: Option<unsafe extern "C" fn(p_device_name: *mut c_char, p_hand: godot_int, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool) -> godot_int>godot_arvr_remove_controller: Option<unsafe extern "C" fn(p_controller_id: godot_int)>godot_arvr_set_controller_transform: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_transform: *mut godot_transform, p_tracks_orientation: godot_bool, p_tracks_position: godot_bool)>godot_arvr_set_controller_button: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_button: godot_int, p_is_pressed: godot_bool)>godot_arvr_set_controller_axis: Option<unsafe extern "C" fn(p_controller_id: godot_int, p_exis: godot_int, p_value: godot_real, p_can_be_negative: godot_bool)>godot_arvr_get_controller_rumble: Option<unsafe extern "C" fn(p_controller_id: godot_int) -> godot_real>

Trait Implementations

impl Clone for godot_gdnative_ext_arvr_api_struct[src]

impl Copy for godot_gdnative_ext_arvr_api_struct[src]

impl Debug for godot_gdnative_ext_arvr_api_struct[src]

impl Default for godot_gdnative_ext_arvr_api_struct[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.