pub trait IPointerEventDataMethods: IPointerEventData {
Show 48 methods
// Provided methods
fn get_pointer_enter(self) -> GameObject { ... }
fn set_pointer_enter(self, value: impl Into<GameObject>) { ... }
fn get_last_press(self) -> GameObject { ... }
fn set_last_press(self, value: impl Into<GameObject>) { ... }
fn get_raw_pointer_press(self) -> GameObject { ... }
fn set_raw_pointer_press(self, value: impl Into<GameObject>) { ... }
fn get_pointer_drag(self) -> GameObject { ... }
fn set_pointer_drag(self, value: impl Into<GameObject>) { ... }
fn get_pointer_click(self) -> GameObject { ... }
fn set_pointer_click(self, value: impl Into<GameObject>) { ... }
fn get_pointer_current_raycast(self) -> RaycastResult { ... }
fn set_pointer_current_raycast(self, value: impl Into<RaycastResult>) { ... }
fn get_pointer_press_raycast(self) -> RaycastResult { ... }
fn set_pointer_press_raycast(self, value: impl Into<RaycastResult>) { ... }
fn get_eligible_for_click(self) -> bool { ... }
fn set_eligible_for_click(self, value: impl Into<bool>) { ... }
fn get_pointer_id(self) -> i32 { ... }
fn set_pointer_id(self, value: impl Into<i32>) { ... }
fn get_position(self) -> Vector2 { ... }
fn set_position(self, value: impl Into<Vector2>) { ... }
fn get_delta(self) -> Vector2 { ... }
fn set_delta(self, value: impl Into<Vector2>) { ... }
fn get_press_position(self) -> Vector2 { ... }
fn set_press_position(self, value: impl Into<Vector2>) { ... }
fn get_world_position(self) -> Vector3 { ... }
fn set_world_position(self, value: impl Into<Vector3>) { ... }
fn get_world_normal(self) -> Vector3 { ... }
fn set_world_normal(self, value: impl Into<Vector3>) { ... }
fn get_click_time(self) -> f32 { ... }
fn set_click_time(self, value: impl Into<f32>) { ... }
fn get_click_count(self) -> i32 { ... }
fn set_click_count(self, value: impl Into<i32>) { ... }
fn get_scroll_delta(self) -> Vector2 { ... }
fn set_scroll_delta(self, value: impl Into<Vector2>) { ... }
fn get_use_drag_threshold(self) -> bool { ... }
fn set_use_drag_threshold(self, value: impl Into<bool>) { ... }
fn get_dragging(self) -> bool { ... }
fn set_dragging(self, value: impl Into<bool>) { ... }
fn get_button(self) -> PointerEventData_InputButton { ... }
fn set_button(self, value: impl Into<PointerEventData_InputButton>) { ... }
fn ctor(self, event_system: impl Into<EventSystem>) { ... }
fn is_pointer_moving(self) -> bool { ... }
fn is_scrolling(self) -> bool { ... }
fn get_enter_event_camera(self) -> Camera { ... }
fn get_press_event_camera(self) -> Camera { ... }
fn get_pointer_press(self) -> GameObject { ... }
fn set_pointer_press(self, value: impl Into<GameObject>) { ... }
fn to_string(self) -> Il2CppString { ... }
}Provided Methods§
Sourcefn get_pointer_enter(self) -> GameObject
fn get_pointer_enter(self) -> GameObject
get_pointerEnter() overload
Sourcefn set_pointer_enter(self, value: impl Into<GameObject>)
fn set_pointer_enter(self, value: impl Into<GameObject>)
set_pointerEnter(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_last_press(self) -> GameObject
fn get_last_press(self) -> GameObject
get_lastPress() overload
Sourcefn set_last_press(self, value: impl Into<GameObject>)
fn set_last_press(self, value: impl Into<GameObject>)
set_lastPress(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_raw_pointer_press(self) -> GameObject
fn get_raw_pointer_press(self) -> GameObject
get_rawPointerPress() overload
Sourcefn set_raw_pointer_press(self, value: impl Into<GameObject>)
fn set_raw_pointer_press(self, value: impl Into<GameObject>)
set_rawPointerPress(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_pointer_drag(self) -> GameObject
fn get_pointer_drag(self) -> GameObject
get_pointerDrag() overload
Sourcefn set_pointer_drag(self, value: impl Into<GameObject>)
fn set_pointer_drag(self, value: impl Into<GameObject>)
set_pointerDrag(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_pointer_click(self) -> GameObject
fn get_pointer_click(self) -> GameObject
get_pointerClick() overload
Sourcefn set_pointer_click(self, value: impl Into<GameObject>)
fn set_pointer_click(self, value: impl Into<GameObject>)
set_pointerClick(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_pointer_current_raycast(self) -> RaycastResult
fn get_pointer_current_raycast(self) -> RaycastResult
get_pointerCurrentRaycast() overload
Sourcefn set_pointer_current_raycast(self, value: impl Into<RaycastResult>)
fn set_pointer_current_raycast(self, value: impl Into<RaycastResult>)
set_pointerCurrentRaycast(crate::unity_engine::event_systems::raycastresult::RaycastResult) overload
Sourcefn get_pointer_press_raycast(self) -> RaycastResult
fn get_pointer_press_raycast(self) -> RaycastResult
get_pointerPressRaycast() overload
Sourcefn set_pointer_press_raycast(self, value: impl Into<RaycastResult>)
fn set_pointer_press_raycast(self, value: impl Into<RaycastResult>)
set_pointerPressRaycast(crate::unity_engine::event_systems::raycastresult::RaycastResult) overload
Sourcefn get_eligible_for_click(self) -> bool
fn get_eligible_for_click(self) -> bool
get_eligibleForClick() overload
Sourcefn set_eligible_for_click(self, value: impl Into<bool>)
fn set_eligible_for_click(self, value: impl Into<bool>)
set_eligibleForClick(bool) overload
Sourcefn get_pointer_id(self) -> i32
fn get_pointer_id(self) -> i32
get_pointerId() overload
Sourcefn set_pointer_id(self, value: impl Into<i32>)
fn set_pointer_id(self, value: impl Into<i32>)
set_pointerId(i32) overload
Sourcefn get_position(self) -> Vector2
fn get_position(self) -> Vector2
get_position() overload
Sourcefn set_position(self, value: impl Into<Vector2>)
fn set_position(self, value: impl Into<Vector2>)
set_position(crate::unity_engine::vector2::Vector2) overload
Sourcefn set_delta(self, value: impl Into<Vector2>)
fn set_delta(self, value: impl Into<Vector2>)
set_delta(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_press_position(self) -> Vector2
fn get_press_position(self) -> Vector2
get_pressPosition() overload
Sourcefn set_press_position(self, value: impl Into<Vector2>)
fn set_press_position(self, value: impl Into<Vector2>)
set_pressPosition(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_world_position(self) -> Vector3
fn get_world_position(self) -> Vector3
get_worldPosition() overload
Sourcefn set_world_position(self, value: impl Into<Vector3>)
fn set_world_position(self, value: impl Into<Vector3>)
set_worldPosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_world_normal(self) -> Vector3
fn get_world_normal(self) -> Vector3
get_worldNormal() overload
Sourcefn set_world_normal(self, value: impl Into<Vector3>)
fn set_world_normal(self, value: impl Into<Vector3>)
set_worldNormal(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_click_time(self) -> f32
fn get_click_time(self) -> f32
get_clickTime() overload
Sourcefn set_click_time(self, value: impl Into<f32>)
fn set_click_time(self, value: impl Into<f32>)
set_clickTime(f32) overload
Sourcefn get_click_count(self) -> i32
fn get_click_count(self) -> i32
get_clickCount() overload
Sourcefn set_click_count(self, value: impl Into<i32>)
fn set_click_count(self, value: impl Into<i32>)
set_clickCount(i32) overload
Sourcefn get_scroll_delta(self) -> Vector2
fn get_scroll_delta(self) -> Vector2
get_scrollDelta() overload
Sourcefn set_scroll_delta(self, value: impl Into<Vector2>)
fn set_scroll_delta(self, value: impl Into<Vector2>)
set_scrollDelta(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_use_drag_threshold(self) -> bool
fn get_use_drag_threshold(self) -> bool
get_useDragThreshold() overload
Sourcefn set_use_drag_threshold(self, value: impl Into<bool>)
fn set_use_drag_threshold(self, value: impl Into<bool>)
set_useDragThreshold(bool) overload
Sourcefn get_dragging(self) -> bool
fn get_dragging(self) -> bool
get_dragging() overload
Sourcefn set_dragging(self, value: impl Into<bool>)
fn set_dragging(self, value: impl Into<bool>)
set_dragging(bool) overload
get_button() overload
set_button(crate::unity_engine::event_systems::pointereventdata::PointerEventData_InputButton) overload
Sourcefn ctor(self, event_system: impl Into<EventSystem>)
fn ctor(self, event_system: impl Into<EventSystem>)
.ctor(crate::unity_engine::event_systems::eventsystem::EventSystem) overload
Sourcefn is_pointer_moving(self) -> bool
fn is_pointer_moving(self) -> bool
IsPointerMoving() overload
Sourcefn is_scrolling(self) -> bool
fn is_scrolling(self) -> bool
IsScrolling() overload
Sourcefn get_enter_event_camera(self) -> Camera
fn get_enter_event_camera(self) -> Camera
get_enterEventCamera() overload
Sourcefn get_press_event_camera(self) -> Camera
fn get_press_event_camera(self) -> Camera
get_pressEventCamera() overload
Sourcefn get_pointer_press(self) -> GameObject
fn get_pointer_press(self) -> GameObject
get_pointerPress() overload
Sourcefn set_pointer_press(self, value: impl Into<GameObject>)
fn set_pointer_press(self, value: impl Into<GameObject>)
set_pointerPress(crate::unity_engine::gameobject::GameObject) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() 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: IPointerEventData> IPointerEventDataMethods for __T
unity_engine-event_systems-pointereventdata only.