pub trait IMousePositionDebugMethods: IMousePositionDebug {
// Provided methods
fn build(self) { ... }
fn cleanup(self) { ... }
fn get_mouse_position(
self,
screen_height: impl Into<f32>,
scene_view: impl Into<bool>,
) -> Vector2 { ... }
fn get_input_mouse_position(self) -> Vector2 { ... }
fn get_mouse_click_position(self, screen_height: impl Into<f32>) -> Vector2 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_mouse_position(
self,
screen_height: impl Into<f32>,
scene_view: impl Into<bool>,
) -> Vector2
fn get_mouse_position( self, screen_height: impl Into<f32>, scene_view: impl Into<bool>, ) -> Vector2
GetMousePosition(f32, bool) overload
Sourcefn get_input_mouse_position(self) -> Vector2
fn get_input_mouse_position(self) -> Vector2
GetInputMousePosition() overload
Sourcefn get_mouse_click_position(self, screen_height: impl Into<f32>) -> Vector2
fn get_mouse_click_position(self, screen_height: impl Into<f32>) -> Vector2
GetMouseClickPosition(f32) 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: IMousePositionDebug> IMousePositionDebugMethods for __T
Available on crate feature
unity_engine-rendering-mousepositiondebug only.