pub trait IRawImageMethods: IRawImage {
// Provided methods
fn ctor(self) { ... }
fn get_main_texture(self) -> Texture { ... }
fn get_texture(self) -> Texture { ... }
fn set_texture(self, value: impl Into<Texture>) { ... }
fn get_uv_rect(self) -> Rect { ... }
fn set_uv_rect(self, value: impl Into<Rect>) { ... }
fn set_native_size(self) { ... }
fn on_populate_mesh(self, vh: impl Into<VertexHelper>) { ... }
fn on_did_apply_animation_properties(self) { ... }
}Provided Methods§
Sourcefn get_main_texture(self) -> Texture
fn get_main_texture(self) -> Texture
get_mainTexture() overload
Sourcefn get_texture(self) -> Texture
fn get_texture(self) -> Texture
get_texture() overload
Sourcefn set_texture(self, value: impl Into<Texture>)
fn set_texture(self, value: impl Into<Texture>)
set_texture(crate::unity_engine::texture::Texture) overload
Sourcefn get_uv_rect(self) -> Rect
fn get_uv_rect(self) -> Rect
get_uvRect() overload
Sourcefn set_uv_rect(self, value: impl Into<Rect>)
fn set_uv_rect(self, value: impl Into<Rect>)
set_uvRect(crate::unity_engine::rect::Rect) overload
Sourcefn set_native_size(self)
fn set_native_size(self)
SetNativeSize() overload
Sourcefn on_populate_mesh(self, vh: impl Into<VertexHelper>)
fn on_populate_mesh(self, vh: impl Into<VertexHelper>)
OnPopulateMesh(crate::unity_engine::ui::vertexhelper::VertexHelper) overload
Sourcefn on_did_apply_animation_properties(self)
fn on_did_apply_animation_properties(self)
OnDidApplyAnimationProperties() 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: IRawImage> IRawImageMethods for __T
Available on crate feature
unity_engine-ui-rawimage only.