Skip to main content

IVertexHelperMethods

Trait IVertexHelperMethods 

Source
pub trait IVertexHelperMethods: IVertexHelper {
Show 19 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, m: impl Into<Mesh>) { ... } fn initialize_list_if_required(self) { ... } fn dispose(self) { ... } fn clear(self) { ... } fn get_current_vert_count(self) -> i32 { ... } fn get_current_index_count(self) -> i32 { ... } fn populate_ui_vertex(self, i: impl Into<i32>) -> UIVertex { ... } fn set_ui_vertex(self, vertex: impl Into<UIVertex>, i: impl Into<i32>) { ... } fn fill_mesh(self, mesh: impl Into<Mesh>) { ... } fn add_vert( self, position: impl Into<Vector3>, color: impl Into<Color32>, uv0: impl Into<Vector4>, uv1: impl Into<Vector4>, uv2: impl Into<Vector4>, uv3: impl Into<Vector4>, normal: impl Into<Vector3>, tangent: impl Into<Vector4>, ) { ... } fn add_vert_2( self, position: impl Into<Vector3>, color: impl Into<Color32>, uv0: impl Into<Vector4>, uv1: impl Into<Vector4>, normal: impl Into<Vector3>, tangent: impl Into<Vector4>, ) { ... } fn add_vert_3( self, position: impl Into<Vector3>, color: impl Into<Color32>, uv0: impl Into<Vector4>, ) { ... } fn add_vert_4(self, v: impl Into<UIVertex>) { ... } fn add_triangle( self, idx0: impl Into<i32>, idx1: impl Into<i32>, idx2: impl Into<i32>, ) { ... } fn add_ui_vertex_quad(self, verts: impl Into<Array<UIVertex>>) { ... } fn add_ui_vertex_stream( self, verts: impl Into<List_1<UIVertex>>, indices: impl Into<List_1<i32>>, ) { ... } fn add_ui_vertex_triangle_stream(self, verts: impl Into<List_1<UIVertex>>) { ... } fn get_ui_vertex_stream(self, stream: impl Into<List_1<UIVertex>>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, m: impl Into<Mesh>)

.ctor(crate::unity_engine::mesh::Mesh) overload

Source

fn initialize_list_if_required(self)

InitializeListIfRequired() overload

Source

fn dispose(self)

Dispose() overload

Source

fn clear(self)

Clear() overload

Source

fn get_current_vert_count(self) -> i32

get_currentVertCount() overload

Source

fn get_current_index_count(self) -> i32

get_currentIndexCount() overload

Source

fn populate_ui_vertex(self, i: impl Into<i32>) -> UIVertex

PopulateUIVertex(*mutcrate::unity_engine::uivertex::UIVertex, i32) overload

Source

fn set_ui_vertex(self, vertex: impl Into<UIVertex>, i: impl Into<i32>)

SetUIVertex(crate::unity_engine::uivertex::UIVertex, i32) overload

Source

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

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

Source

fn add_vert( self, position: impl Into<Vector3>, color: impl Into<Color32>, uv0: impl Into<Vector4>, uv1: impl Into<Vector4>, uv2: impl Into<Vector4>, uv3: impl Into<Vector4>, normal: impl Into<Vector3>, tangent: impl Into<Vector4>, )

AddVert(crate::unity_engine::vector3::Vector3, crate::unity_engine::color32::Color32, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector4::Vector4) overload

Source

fn add_vert_2( self, position: impl Into<Vector3>, color: impl Into<Color32>, uv0: impl Into<Vector4>, uv1: impl Into<Vector4>, normal: impl Into<Vector3>, tangent: impl Into<Vector4>, )

AddVert(crate::unity_engine::vector3::Vector3, crate::unity_engine::color32::Color32, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector4::Vector4) overload

Source

fn add_vert_3( self, position: impl Into<Vector3>, color: impl Into<Color32>, uv0: impl Into<Vector4>, )

AddVert(crate::unity_engine::vector3::Vector3, crate::unity_engine::color32::Color32, crate::unity_engine::vector4::Vector4) overload

Source

fn add_vert_4(self, v: impl Into<UIVertex>)

AddVert(crate::unity_engine::uivertex::UIVertex) overload

Source

fn add_triangle( self, idx0: impl Into<i32>, idx1: impl Into<i32>, idx2: impl Into<i32>, )

AddTriangle(i32, i32, i32) overload

Source

fn add_ui_vertex_quad(self, verts: impl Into<Array<UIVertex>>)

AddUIVertexQuad(::unity::Array<crate::unity_engine::uivertex::UIVertex>) overload

Source

fn add_ui_vertex_stream( self, verts: impl Into<List_1<UIVertex>>, indices: impl Into<List_1<i32>>, )

AddUIVertexStream(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::system::collections::generic::list_1::List_1<i32>) overload

Source

fn add_ui_vertex_triangle_stream(self, verts: impl Into<List_1<UIVertex>>)

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

Source

fn get_ui_vertex_stream(self, stream: impl Into<List_1<UIVertex>>)

GetUIVertexStream(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>) 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: IVertexHelper> IVertexHelperMethods for __T

Available on crate feature unity_engine-ui-vertexhelper only.