Skip to main content

IShadowMethods

Trait IShadowMethods 

Source
pub trait IShadowMethods: IShadow {
    // Provided methods
    fn ctor(self) { ... }
    fn get_effect_color(self) -> Color { ... }
    fn set_effect_color(self, value: impl Into<Color>) { ... }
    fn get_effect_distance(self) -> Vector2 { ... }
    fn set_effect_distance(self, value: impl Into<Vector2>) { ... }
    fn get_use_graphic_alpha(self) -> bool { ... }
    fn set_use_graphic_alpha(self, value: impl Into<bool>) { ... }
    fn apply_shadow_zero_alloc(
        self,
        verts: impl Into<List_1<UIVertex>>,
        color: impl Into<Color32>,
        start: impl Into<i32>,
        end: impl Into<i32>,
        x: impl Into<f32>,
        y: impl Into<f32>,
    ) { ... }
    fn apply_shadow(
        self,
        verts: impl Into<List_1<UIVertex>>,
        color: impl Into<Color32>,
        start: impl Into<i32>,
        end: impl Into<i32>,
        x: impl Into<f32>,
        y: impl Into<f32>,
    ) { ... }
    fn modify_mesh(self, vh: impl Into<VertexHelper>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_effect_color(self) -> Color

get_effectColor() overload

Source

fn set_effect_color(self, value: impl Into<Color>)

set_effectColor(crate::unity_engine::color::Color) overload

Source

fn get_effect_distance(self) -> Vector2

get_effectDistance() overload

Source

fn set_effect_distance(self, value: impl Into<Vector2>)

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

Source

fn get_use_graphic_alpha(self) -> bool

get_useGraphicAlpha() overload

Source

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

set_useGraphicAlpha(bool) overload

Source

fn apply_shadow_zero_alloc( self, verts: impl Into<List_1<UIVertex>>, color: impl Into<Color32>, start: impl Into<i32>, end: impl Into<i32>, x: impl Into<f32>, y: impl Into<f32>, )

ApplyShadowZeroAlloc(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::unity_engine::color32::Color32, i32, i32, f32, f32) overload

Source

fn apply_shadow( self, verts: impl Into<List_1<UIVertex>>, color: impl Into<Color32>, start: impl Into<i32>, end: impl Into<i32>, x: impl Into<f32>, y: impl Into<f32>, )

ApplyShadow(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::unity_engine::color32::Color32, i32, i32, f32, f32) overload

Source

fn modify_mesh(self, vh: impl Into<VertexHelper>)

ModifyMesh(crate::unity_engine::ui::vertexhelper::VertexHelper) 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: IShadow> IShadowMethods for __T

Available on crate feature unity_engine-ui-shadow only.