pub trait ICanvasGroupMethods: ICanvasGroup {
// Provided methods
fn get_alpha(self) -> f32 { ... }
fn set_alpha(self, value: impl Into<f32>) { ... }
fn get_interactable(self) -> bool { ... }
fn set_interactable(self, value: impl Into<bool>) { ... }
fn get_blocks_raycasts(self) -> bool { ... }
fn set_blocks_raycasts(self, value: impl Into<bool>) { ... }
fn get_ignore_parent_groups(self) -> bool { ... }
fn set_ignore_parent_groups(self, value: impl Into<bool>) { ... }
fn is_raycast_location_valid(
self,
sp: impl Into<Vector2>,
event_camera: impl Into<Camera>,
) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_interactable(self) -> bool
fn get_interactable(self) -> bool
get_interactable() overload
Sourcefn set_interactable(self, value: impl Into<bool>)
fn set_interactable(self, value: impl Into<bool>)
set_interactable(bool) overload
Sourcefn get_blocks_raycasts(self) -> bool
fn get_blocks_raycasts(self) -> bool
get_blocksRaycasts() overload
Sourcefn set_blocks_raycasts(self, value: impl Into<bool>)
fn set_blocks_raycasts(self, value: impl Into<bool>)
set_blocksRaycasts(bool) overload
Sourcefn get_ignore_parent_groups(self) -> bool
fn get_ignore_parent_groups(self) -> bool
get_ignoreParentGroups() overload
Sourcefn set_ignore_parent_groups(self, value: impl Into<bool>)
fn set_ignore_parent_groups(self, value: impl Into<bool>)
set_ignoreParentGroups(bool) overload
Sourcefn is_raycast_location_valid(
self,
sp: impl Into<Vector2>,
event_camera: impl Into<Camera>,
) -> bool
fn is_raycast_location_valid( self, sp: impl Into<Vector2>, event_camera: impl Into<Camera>, ) -> bool
IsRaycastLocationValid(crate::unity_engine::vector2::Vector2, crate::unity_engine::camera::Camera) 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: ICanvasGroup> ICanvasGroupMethods for __T
Available on crate feature
unity_engine-canvasgroup only.