Skip to main content

IBaseMeshEffectMethods

Trait IBaseMeshEffectMethods 

Source
pub trait IBaseMeshEffectMethods: IBaseMeshEffect {
    // Provided methods
    fn get_graphic(self) -> Graphic { ... }
    fn on_enable(self) { ... }
    fn on_disable(self) { ... }
    fn on_did_apply_animation_properties(self) { ... }
    fn modify_mesh(self, mesh: impl Into<Mesh>) { ... }
    fn modify_mesh_2(self, vh: impl Into<VertexHelper>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_graphic(self) -> Graphic

get_graphic() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn on_did_apply_animation_properties(self)

OnDidApplyAnimationProperties() overload

Source

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

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

Source

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

ModifyMesh(crate::unity_engine::ui::vertexhelper::VertexHelper) overload

Source

fn ctor(self)

.ctor() 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: IBaseMeshEffect> IBaseMeshEffectMethods for __T

Available on crate feature unity_engine-ui-basemesheffect only.