pub trait IIClippableMethods: IIClippable {
// Provided methods
fn get_game_object(self) -> GameObject { ... }
fn recalculate_clipping(self) { ... }
fn get_rect_transform(self) -> RectTransform { ... }
fn cull(self, clip_rect: impl Into<Rect>, valid_rect: impl Into<bool>) { ... }
fn set_clip_rect(self, value: impl Into<Rect>, valid_rect: impl Into<bool>) { ... }
fn set_clip_softness(self, clip_softness: impl Into<Vector2>) { ... }
}Provided Methods§
Sourcefn get_game_object(self) -> GameObject
fn get_game_object(self) -> GameObject
get_gameObject() overload
Sourcefn recalculate_clipping(self)
fn recalculate_clipping(self)
RecalculateClipping() overload
Sourcefn get_rect_transform(self) -> RectTransform
fn get_rect_transform(self) -> RectTransform
get_rectTransform() overload
Sourcefn cull(self, clip_rect: impl Into<Rect>, valid_rect: impl Into<bool>)
fn cull(self, clip_rect: impl Into<Rect>, valid_rect: impl Into<bool>)
Cull(crate::unity_engine::rect::Rect, bool) overload
Sourcefn set_clip_rect(self, value: impl Into<Rect>, valid_rect: impl Into<bool>)
fn set_clip_rect(self, value: impl Into<Rect>, valid_rect: impl Into<bool>)
SetClipRect(crate::unity_engine::rect::Rect, bool) overload
Sourcefn set_clip_softness(self, clip_softness: impl Into<Vector2>)
fn set_clip_softness(self, clip_softness: impl Into<Vector2>)
SetClipSoftness(crate::unity_engine::vector2::Vector2) 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: IIClippable> IIClippableMethods for __T
Available on crate feature
unity_engine-ui-iclippable only.