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§
Sourcefn get_effect_color(self) -> Color
fn get_effect_color(self) -> Color
get_effectColor() overload
Sourcefn set_effect_color(self, value: impl Into<Color>)
fn set_effect_color(self, value: impl Into<Color>)
set_effectColor(crate::unity_engine::color::Color) overload
Sourcefn get_effect_distance(self) -> Vector2
fn get_effect_distance(self) -> Vector2
get_effectDistance() overload
Sourcefn set_effect_distance(self, value: impl Into<Vector2>)
fn set_effect_distance(self, value: impl Into<Vector2>)
set_effectDistance(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_use_graphic_alpha(self) -> bool
fn get_use_graphic_alpha(self) -> bool
get_useGraphicAlpha() overload
Sourcefn set_use_graphic_alpha(self, value: impl Into<bool>)
fn set_use_graphic_alpha(self, value: impl Into<bool>)
set_useGraphicAlpha(bool) overload
Sourcefn 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_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
Sourcefn 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 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
Sourcefn modify_mesh(self, vh: impl Into<VertexHelper>)
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§
impl<__T: IShadow> IShadowMethods for __T
unity_engine-ui-shadow only.