#[repr(C)]pub struct godot_gdnative_ext_arvr_api_struct {Show 14 fields
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_uint
§version: godot_gdnative_api_version
§next: *const godot_gdnative_api_struct
§godot_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_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§
source§impl Clone for godot_gdnative_ext_arvr_api_struct
impl Clone for godot_gdnative_ext_arvr_api_struct
source§fn clone(&self) -> godot_gdnative_ext_arvr_api_struct
fn clone(&self) -> godot_gdnative_ext_arvr_api_struct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more