Skip to main content

IMaskableGraphicMethods

Trait IMaskableGraphicMethods 

Source
pub trait IMaskableGraphicMethods: IMaskableGraphic {
Show 22 methods // Provided methods fn get_on_cull_state_changed(self) -> MaskableGraphic_CullStateChangedEvent { ... } fn set_on_cull_state_changed( self, value: impl Into<MaskableGraphic_CullStateChangedEvent>, ) { ... } fn get_maskable(self) -> bool { ... } fn set_maskable(self, value: impl Into<bool>) { ... } fn get_is_masking_graphic(self) -> bool { ... } fn set_is_masking_graphic(self, value: impl Into<bool>) { ... } fn get_modified_material( self, base_material: impl Into<Material>, ) -> Material { ... } fn cull(self, clip_rect: impl Into<Rect>, valid_rect: impl Into<bool>) { ... } fn update_cull(self, cull: impl Into<bool>) { ... } fn set_clip_rect( self, clip_rect: impl Into<Rect>, valid_rect: impl Into<bool>, ) { ... } fn set_clip_softness(self, clip_softness: impl Into<Vector2>) { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn on_transform_parent_changed(self) { ... } fn parent_mask_state_changed(self) { ... } fn on_canvas_hierarchy_changed(self) { ... } fn get_root_canvas_rect(self) -> Rect { ... } fn update_clip_parent(self) { ... } fn recalculate_clipping(self) { ... } fn recalculate_masking(self) { ... } fn ctor(self) { ... } fn unity_engine_ui_i_clippable_get_game_object(self) -> GameObject { ... }
}

Provided Methods§

Source

fn get_on_cull_state_changed(self) -> MaskableGraphic_CullStateChangedEvent

get_onCullStateChanged() overload

Source

fn set_on_cull_state_changed( self, value: impl Into<MaskableGraphic_CullStateChangedEvent>, )

set_onCullStateChanged(crate::unity_engine::ui::maskablegraphic::MaskableGraphic_CullStateChangedEvent) overload

Source

fn get_maskable(self) -> bool

get_maskable() overload

Source

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

set_maskable(bool) overload

Source

fn get_is_masking_graphic(self) -> bool

get_isMaskingGraphic() overload

Source

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

set_isMaskingGraphic(bool) overload

Source

fn get_modified_material(self, base_material: impl Into<Material>) -> Material

GetModifiedMaterial(crate::unity_engine::material::Material) overload

Source

fn cull(self, clip_rect: impl Into<Rect>, valid_rect: impl Into<bool>)

Cull(crate::unity_engine::rect::Rect, bool) overload

Source

fn update_cull(self, cull: impl Into<bool>)

UpdateCull(bool) overload

Source

fn set_clip_rect(self, clip_rect: impl Into<Rect>, valid_rect: impl Into<bool>)

SetClipRect(crate::unity_engine::rect::Rect, bool) overload

Source

fn set_clip_softness(self, clip_softness: impl Into<Vector2>)

SetClipSoftness(crate::unity_engine::vector2::Vector2) overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn on_transform_parent_changed(self)

OnTransformParentChanged() overload

Source

fn parent_mask_state_changed(self)

ParentMaskStateChanged() overload

Source

fn on_canvas_hierarchy_changed(self)

OnCanvasHierarchyChanged() overload

Source

fn get_root_canvas_rect(self) -> Rect

get_rootCanvasRect() overload

Source

fn update_clip_parent(self)

UpdateClipParent() overload

Source

fn recalculate_clipping(self)

RecalculateClipping() overload

Source

fn recalculate_masking(self)

RecalculateMasking() overload

Source

fn ctor(self)

.ctor() overload

Source

fn unity_engine_ui_i_clippable_get_game_object(self) -> GameObject

UnityEngine.UI.IClippable.get_gameObject() 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: IMaskableGraphic> IMaskableGraphicMethods for __T

Available on crate feature unity_engine-ui-maskablegraphic only.