pub trait IBaseInputMethods: IBaseInput {
Show 17 methods
// Provided methods
fn get_composition_string(self) -> Il2CppString { ... }
fn get_ime_composition_mode(self) -> IMECompositionMode { ... }
fn set_ime_composition_mode(self, value: impl Into<IMECompositionMode>) { ... }
fn get_composition_cursor_pos(self) -> Vector2 { ... }
fn set_composition_cursor_pos(self, value: impl Into<Vector2>) { ... }
fn get_mouse_present(self) -> bool { ... }
fn get_mouse_button_down(self, button: impl Into<i32>) -> bool { ... }
fn get_mouse_button_up(self, button: impl Into<i32>) -> bool { ... }
fn get_mouse_button(self, button: impl Into<i32>) -> bool { ... }
fn get_mouse_position(self) -> Vector2 { ... }
fn get_mouse_scroll_delta(self) -> Vector2 { ... }
fn get_touch_supported(self) -> bool { ... }
fn get_touch_count(self) -> i32 { ... }
fn get_touch(self, index: impl Into<i32>) -> Touch { ... }
fn get_axis_raw(self, axis_name: impl Into<Il2CppString>) -> f32 { ... }
fn get_button_down(self, button_name: impl Into<Il2CppString>) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_composition_string(self) -> Il2CppString
fn get_composition_string(self) -> Il2CppString
get_compositionString() overload
Sourcefn get_ime_composition_mode(self) -> IMECompositionMode
fn get_ime_composition_mode(self) -> IMECompositionMode
get_imeCompositionMode() overload
Sourcefn set_ime_composition_mode(self, value: impl Into<IMECompositionMode>)
fn set_ime_composition_mode(self, value: impl Into<IMECompositionMode>)
set_imeCompositionMode(crate::unity_engine::imecompositionmode::IMECompositionMode) overload
Sourcefn get_composition_cursor_pos(self) -> Vector2
fn get_composition_cursor_pos(self) -> Vector2
get_compositionCursorPos() overload
Sourcefn set_composition_cursor_pos(self, value: impl Into<Vector2>)
fn set_composition_cursor_pos(self, value: impl Into<Vector2>)
set_compositionCursorPos(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_mouse_present(self) -> bool
fn get_mouse_present(self) -> bool
get_mousePresent() overload
GetMouseButtonDown(i32) overload
GetMouseButtonUp(i32) overload
GetMouseButton(i32) overload
Sourcefn get_mouse_position(self) -> Vector2
fn get_mouse_position(self) -> Vector2
get_mousePosition() overload
Sourcefn get_mouse_scroll_delta(self) -> Vector2
fn get_mouse_scroll_delta(self) -> Vector2
get_mouseScrollDelta() overload
Sourcefn get_touch_supported(self) -> bool
fn get_touch_supported(self) -> bool
get_touchSupported() overload
Sourcefn get_touch_count(self) -> i32
fn get_touch_count(self) -> i32
get_touchCount() overload
Sourcefn get_axis_raw(self, axis_name: impl Into<Il2CppString>) -> f32
fn get_axis_raw(self, axis_name: impl Into<Il2CppString>) -> f32
GetAxisRaw(::unity::Il2CppString) overload
GetButtonDown(::unity::Il2CppString) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IBaseInput> IBaseInputMethods for __T
Available on crate feature
unity_engine-event_systems-baseinput only.