Skip to main content

IGraphicRaycasterMethods

Trait IGraphicRaycasterMethods 

Source
pub trait IGraphicRaycasterMethods: IGraphicRaycaster {
    // Provided methods
    fn get_sort_order_priority(self) -> i32 { ... }
    fn get_render_order_priority(self) -> i32 { ... }
    fn get_ignore_reversed_graphics(self) -> bool { ... }
    fn set_ignore_reversed_graphics(self, value: impl Into<bool>) { ... }
    fn get_blocking_objects(self) -> GraphicRaycaster_BlockingObjects { ... }
    fn set_blocking_objects(
        self,
        value: impl Into<GraphicRaycaster_BlockingObjects>,
    ) { ... }
    fn get_blocking_mask(self) -> LayerMask { ... }
    fn set_blocking_mask(self, value: impl Into<LayerMask>) { ... }
    fn ctor(self) { ... }
    fn get_canvas(self) -> Canvas { ... }
    fn raycast(
        self,
        event_data: impl Into<PointerEventData>,
        result_append_list: impl Into<List_1<RaycastResult>>,
    ) { ... }
    fn get_event_camera(self) -> Camera { ... }
}

Provided Methods§

Source

fn get_sort_order_priority(self) -> i32

get_sortOrderPriority() overload

Source

fn get_render_order_priority(self) -> i32

get_renderOrderPriority() overload

Source

fn get_ignore_reversed_graphics(self) -> bool

get_ignoreReversedGraphics() overload

Source

fn set_ignore_reversed_graphics(self, value: impl Into<bool>)

set_ignoreReversedGraphics(bool) overload

Source

fn get_blocking_objects(self) -> GraphicRaycaster_BlockingObjects

get_blockingObjects() overload

Source

fn set_blocking_objects( self, value: impl Into<GraphicRaycaster_BlockingObjects>, )

set_blockingObjects(crate::unity_engine::ui::graphicraycaster::GraphicRaycaster_BlockingObjects) overload

Source

fn get_blocking_mask(self) -> LayerMask

get_blockingMask() overload

Source

fn set_blocking_mask(self, value: impl Into<LayerMask>)

set_blockingMask(crate::unity_engine::layermask::LayerMask) overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_canvas(self) -> Canvas

get_canvas() overload

Source

fn raycast( self, event_data: impl Into<PointerEventData>, result_append_list: impl Into<List_1<RaycastResult>>, )

Raycast(crate::unity_engine::event_systems::pointereventdata::PointerEventData, crate::system::collections::generic::list_1::List_1<crate::unity_engine::event_systems::raycastresult::RaycastResult>) overload

Source

fn get_event_camera(self) -> Camera

get_eventCamera() 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§

Source§

impl<__T: IGraphicRaycaster> IGraphicRaycasterMethods for __T

Available on crate feature unity_engine-ui-graphicraycaster only.