Skip to main content

IProjectorMethods

Trait IProjectorMethods 

Source
pub trait IProjectorMethods: IProjector {
    // Provided methods
    fn get_material(self) -> Material { ... }
    fn set_material(self, value: impl Into<Material>) { ... }
}

Provided Methods§

Source

fn get_material(self) -> Material

get_material() overload

Source

fn set_material(self, value: impl Into<Material>)

set_material(crate::unity_engine::material::Material) 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: IProjector> IProjectorMethods for __T

Available on crate feature unity_engine-projector only.