Skip to main content

IMeshRendererMethods

Trait IMeshRendererMethods 

Source
pub trait IMeshRendererMethods: IMeshRenderer {
    // Provided methods
    fn dont_strip_mesh_renderer(self) { ... }
    fn get_additional_vertex_streams(self) -> Mesh { ... }
    fn set_additional_vertex_streams(self, value: impl Into<Mesh>) { ... }
    fn get_enlighten_vertex_stream(self) -> Mesh { ... }
    fn set_enlighten_vertex_stream(self, value: impl Into<Mesh>) { ... }
    fn get_sub_mesh_start_index(self) -> i32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn dont_strip_mesh_renderer(self)

DontStripMeshRenderer() overload

Source

fn get_additional_vertex_streams(self) -> Mesh

get_additionalVertexStreams() overload

Source

fn set_additional_vertex_streams(self, value: impl Into<Mesh>)

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

Source

fn get_enlighten_vertex_stream(self) -> Mesh

get_enlightenVertexStream() overload

Source

fn set_enlighten_vertex_stream(self, value: impl Into<Mesh>)

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

Source

fn get_sub_mesh_start_index(self) -> i32

get_subMeshStartIndex() 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: IMeshRenderer> IMeshRendererMethods for __T

Available on crate feature unity_engine-meshrenderer only.