Skip to main content

ICanvasRendererMethods

Trait ICanvasRendererMethods 

Source
pub trait ICanvasRendererMethods: ICanvasRenderer {
Show 43 methods // Provided methods fn get_has_pop_instruction(self) -> bool { ... } fn set_has_pop_instruction(self, value: impl Into<bool>) { ... } fn get_material_count(self) -> i32 { ... } fn set_material_count(self, value: impl Into<i32>) { ... } fn get_pop_material_count(self) -> i32 { ... } fn set_pop_material_count(self, value: impl Into<i32>) { ... } fn get_absolute_depth(self) -> i32 { ... } fn get_has_moved(self) -> bool { ... } fn get_cull_transparent_mesh(self) -> bool { ... } fn set_cull_transparent_mesh(self, value: impl Into<bool>) { ... } fn get_has_rect_clipping(self) -> bool { ... } fn get_relative_depth(self) -> i32 { ... } fn get_cull(self) -> bool { ... } fn set_cull(self, value: impl Into<bool>) { ... } fn get_is_mask(self) -> bool { ... } fn set_is_mask(self, value: impl Into<bool>) { ... } fn set_color(self, color: impl Into<Color>) { ... } fn get_color(self) -> Color { ... } fn enable_rect_clipping(self, rect: impl Into<Rect>) { ... } fn get_clipping_softness(self) -> Vector2 { ... } fn set_clipping_softness(self, value: impl Into<Vector2>) { ... } fn disable_rect_clipping(self) { ... } fn set_material(self, material: impl Into<Material>, index: impl Into<i32>) { ... } fn get_material(self, index: impl Into<i32>) -> Material { ... } fn set_pop_material( self, material: impl Into<Material>, index: impl Into<i32>, ) { ... } fn get_pop_material(self, index: impl Into<i32>) -> Material { ... } fn set_texture(self, texture: impl Into<Texture>) { ... } fn set_alpha_texture(self, texture: impl Into<Texture>) { ... } fn set_mesh(self, mesh: impl Into<Mesh>) { ... } fn clear(self) { ... } fn get_alpha(self) -> f32 { ... } fn set_alpha(self, alpha: impl Into<f32>) { ... } fn get_inherited_alpha(self) -> f32 { ... } fn set_material_2( self, material: impl Into<Material>, texture: impl Into<Texture>, ) { ... } fn get_material_2(self) -> Material { ... } fn set_vertices(self, vertices: impl Into<List_1<UIVertex>>) { ... } fn set_vertices_2( self, vertices: impl Into<Array<UIVertex>>, size: impl Into<i32>, ) { ... } fn ctor(self) { ... } fn set_color_injected(self) -> Color { ... } fn get_color_injected(self) -> Color { ... } fn enable_rect_clipping_injected(self) -> Rect { ... } fn get_clipping_softness_injected(self) -> Vector2 { ... } fn set_clipping_softness_injected(self) -> Vector2 { ... }
}

Provided Methods§

Source

fn get_has_pop_instruction(self) -> bool

get_hasPopInstruction() overload

Source

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

set_hasPopInstruction(bool) overload

Source

fn get_material_count(self) -> i32

get_materialCount() overload

Source

fn set_material_count(self, value: impl Into<i32>)

set_materialCount(i32) overload

Source

fn get_pop_material_count(self) -> i32

get_popMaterialCount() overload

Source

fn set_pop_material_count(self, value: impl Into<i32>)

set_popMaterialCount(i32) overload

Source

fn get_absolute_depth(self) -> i32

get_absoluteDepth() overload

Source

fn get_has_moved(self) -> bool

get_hasMoved() overload

Source

fn get_cull_transparent_mesh(self) -> bool

get_cullTransparentMesh() overload

Source

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

set_cullTransparentMesh(bool) overload

Source

fn get_has_rect_clipping(self) -> bool

get_hasRectClipping() overload

Source

fn get_relative_depth(self) -> i32

get_relativeDepth() overload

Source

fn get_cull(self) -> bool

get_cull() overload

Source

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

set_cull(bool) overload

Source

fn get_is_mask(self) -> bool

get_isMask() overload

Source

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

set_isMask(bool) overload

Source

fn set_color(self, color: impl Into<Color>)

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

Source

fn get_color(self) -> Color

GetColor() overload

Source

fn enable_rect_clipping(self, rect: impl Into<Rect>)

EnableRectClipping(crate::unity_engine::rect::Rect) overload

Source

fn get_clipping_softness(self) -> Vector2

get_clippingSoftness() overload

Source

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

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

Source

fn disable_rect_clipping(self)

DisableRectClipping() overload

Source

fn set_material(self, material: impl Into<Material>, index: impl Into<i32>)

SetMaterial(crate::unity_engine::material::Material, i32) overload

Source

fn get_material(self, index: impl Into<i32>) -> Material

GetMaterial(i32) overload

Source

fn set_pop_material(self, material: impl Into<Material>, index: impl Into<i32>)

SetPopMaterial(crate::unity_engine::material::Material, i32) overload

Source

fn get_pop_material(self, index: impl Into<i32>) -> Material

GetPopMaterial(i32) overload

Source

fn set_texture(self, texture: impl Into<Texture>)

SetTexture(crate::unity_engine::texture::Texture) overload

Source

fn set_alpha_texture(self, texture: impl Into<Texture>)

SetAlphaTexture(crate::unity_engine::texture::Texture) overload

Source

fn set_mesh(self, mesh: impl Into<Mesh>)

SetMesh(crate::unity_engine::mesh::Mesh) overload

Source

fn clear(self)

Clear() overload

Source

fn get_alpha(self) -> f32

GetAlpha() overload

Source

fn set_alpha(self, alpha: impl Into<f32>)

SetAlpha(f32) overload

Source

fn get_inherited_alpha(self) -> f32

GetInheritedAlpha() overload

Source

fn set_material_2( self, material: impl Into<Material>, texture: impl Into<Texture>, )

SetMaterial(crate::unity_engine::material::Material, crate::unity_engine::texture::Texture) overload

Source

fn get_material_2(self) -> Material

GetMaterial() overload

Source

fn set_vertices(self, vertices: impl Into<List_1<UIVertex>>)

SetVertices(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>) overload

Source

fn set_vertices_2( self, vertices: impl Into<Array<UIVertex>>, size: impl Into<i32>, )

SetVertices(::unity::Array<crate::unity_engine::uivertex::UIVertex>, i32) overload

Source

fn ctor(self)

.ctor() overload

Source

fn set_color_injected(self) -> Color

SetColor_Injected(*mutcrate::unity_engine::color::Color) overload

Source

fn get_color_injected(self) -> Color

GetColor_Injected(*mutcrate::unity_engine::color::Color) overload

Source

fn enable_rect_clipping_injected(self) -> Rect

EnableRectClipping_Injected(*mutcrate::unity_engine::rect::Rect) overload

Source

fn get_clipping_softness_injected(self) -> Vector2

get_clippingSoftness_Injected(*mutcrate::unity_engine::vector2::Vector2) overload

Source

fn set_clipping_softness_injected(self) -> Vector2

set_clippingSoftness_Injected(*mutcrate::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§

Source§

impl<__T: ICanvasRenderer> ICanvasRendererMethods for __T

Available on crate feature unity_engine-canvasrenderer only.