Skip to main content

IMeshMethods

Trait IMeshMethods 

Source
pub trait IMeshMethods: IMesh {
Show 261 methods // Provided methods fn ctor(self) { ... } fn get_index_format(self) -> IndexFormat { ... } fn set_index_format(self, value: impl Into<IndexFormat>) { ... } fn get_total_index_count(self) -> u32 { ... } fn set_index_buffer_params( self, index_count: impl Into<i32>, format: impl Into<IndexFormat>, ) { ... } fn internal_set_index_buffer_data( self, data: impl Into<IntPtr>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn internal_set_index_buffer_data_from_array( self, data: impl Into<IlInstance>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_vertex_buffer_params_from_ptr( self, vertex_count: impl Into<i32>, attributes_ptr: impl Into<IntPtr>, attributes_count: impl Into<i32>, ) { ... } fn set_vertex_buffer_params_from_array( self, vertex_count: impl Into<i32>, attributes: impl Into<Array<VertexAttributeDescriptor>>, ) { ... } fn internal_set_vertex_buffer_data( self, stream: impl Into<i32>, data: impl Into<IntPtr>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn internal_set_vertex_buffer_data_from_array( self, stream: impl Into<i32>, data: impl Into<IlInstance>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_vertex_attributes_alloc(self) -> IlInstance { ... } fn get_vertex_attributes_array( self, attributes: impl Into<Array<VertexAttributeDescriptor>>, ) -> i32 { ... } fn get_vertex_attributes_list( self, attributes: impl Into<List_1<VertexAttributeDescriptor>>, ) -> i32 { ... } fn get_vertex_attribute_count_impl(self) -> i32 { ... } fn get_vertex_attribute( self, index: impl Into<i32>, ) -> VertexAttributeDescriptor { ... } fn get_index_start_impl(self, submesh: impl Into<i32>) -> u32 { ... } fn get_index_count_impl(self, submesh: impl Into<i32>) -> u32 { ... } fn get_triangles_count_impl(self, submesh: impl Into<i32>) -> u32 { ... } fn get_base_vertex_impl(self, submesh: impl Into<i32>) -> u32 { ... } fn get_triangles_impl( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32> { ... } fn get_indices_impl( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32> { ... } fn set_indices_impl( self, submesh: impl Into<i32>, topology: impl Into<MeshTopology>, indices_format: impl Into<IndexFormat>, indices: impl Into<IlInstance>, array_start: impl Into<i32>, array_size: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_native_array_impl( self, submesh: impl Into<i32>, topology: impl Into<MeshTopology>, indices_format: impl Into<IndexFormat>, indices: impl Into<IntPtr>, array_start: impl Into<i32>, array_size: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn get_triangles_non_alloc_impl( self, values: impl Into<Array<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn get_triangles_non_alloc_impl16( self, values: impl Into<Array<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn get_indices_non_alloc_impl( self, values: impl Into<Array<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn get_indices_non_alloc_impl16( self, values: impl Into<Array<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn print_error_cant_access_channel(self, ch: impl Into<VertexAttribute>) { ... } fn has_vertex_attribute(self, attr: impl Into<VertexAttribute>) -> bool { ... } fn get_vertex_attribute_dimension( self, attr: impl Into<VertexAttribute>, ) -> i32 { ... } fn get_vertex_attribute_format( self, attr: impl Into<VertexAttribute>, ) -> VertexAttributeFormat { ... } fn set_array_for_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IlInstance>, array_size: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_native_array_for_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IntPtr>, array_size: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_alloc_array_from_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, ) -> IlInstance { ... } fn get_array_from_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IlInstance>, ) { ... } fn get_vertex_buffer_count(self) -> i32 { ... } fn get_native_vertex_buffer_ptr(self, index: impl Into<i32>) -> IntPtr { ... } fn get_native_index_buffer_ptr(self) -> IntPtr { ... } fn get_blend_shape_count(self) -> i32 { ... } fn clear_blend_shapes(self) { ... } fn get_blend_shape_name(self, shape_index: impl Into<i32>) -> Il2CppString { ... } fn get_blend_shape_index( self, blend_shape_name: impl Into<Il2CppString>, ) -> i32 { ... } fn get_blend_shape_frame_count(self, shape_index: impl Into<i32>) -> i32 { ... } fn get_blend_shape_frame_weight( self, shape_index: impl Into<i32>, frame_index: impl Into<i32>, ) -> f32 { ... } fn get_blend_shape_frame_vertices( self, shape_index: impl Into<i32>, frame_index: impl Into<i32>, delta_vertices: impl Into<Array<Vector3>>, delta_normals: impl Into<Array<Vector3>>, delta_tangents: impl Into<Array<Vector3>>, ) { ... } fn add_blend_shape_frame( self, shape_name: impl Into<Il2CppString>, frame_weight: impl Into<f32>, delta_vertices: impl Into<Array<Vector3>>, delta_normals: impl Into<Array<Vector3>>, delta_tangents: impl Into<Array<Vector3>>, ) { ... } fn has_bone_weights(self) -> bool { ... } fn get_bone_weights_impl(self) -> Array<BoneWeight> { ... } fn set_bone_weights_impl(self, weights: impl Into<Array<BoneWeight>>) { ... } fn internal_set_bone_weights( self, bones_per_vertex: impl Into<IntPtr>, bones_per_vertex_size: impl Into<i32>, weights: impl Into<IntPtr>, weights_size: impl Into<i32>, ) { ... } fn get_all_bone_weights_array_size(self) -> i32 { ... } fn get_all_bone_weights_array(self) -> IntPtr { ... } fn get_bones_per_vertex_array(self) -> IntPtr { ... } fn get_bindpose_count(self) -> i32 { ... } fn get_bindposes(self) -> Array<Matrix4x4> { ... } fn set_bindposes(self, value: impl Into<Array<Matrix4x4>>) { ... } fn get_bone_weights_non_alloc_impl( self, values: impl Into<Array<BoneWeight>>, ) { ... } fn get_bindposes_non_alloc_impl(self, values: impl Into<Array<Matrix4x4>>) { ... } fn get_is_readable(self) -> bool { ... } fn get_can_access(self) -> bool { ... } fn get_vertex_count(self) -> i32 { ... } fn get_sub_mesh_count(self) -> i32 { ... } fn set_sub_mesh_count(self, value: impl Into<i32>) { ... } fn set_sub_mesh( self, index: impl Into<i32>, desc: impl Into<SubMeshDescriptor>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_sub_mesh(self, index: impl Into<i32>) -> SubMeshDescriptor { ... } fn set_all_sub_meshes_at_once_from_array( self, desc: impl Into<Array<SubMeshDescriptor>>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_all_sub_meshes_at_once_from_native_array( self, desc: impl Into<IntPtr>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_bounds(self) -> Bounds { ... } fn set_bounds(self, value: impl Into<Bounds>) { ... } fn clear_impl(self, keep_vertex_layout: impl Into<bool>) { ... } fn recalculate_bounds_impl(self, flags: impl Into<MeshUpdateFlags>) { ... } fn recalculate_normals_impl(self, flags: impl Into<MeshUpdateFlags>) { ... } fn recalculate_tangents_impl(self, flags: impl Into<MeshUpdateFlags>) { ... } fn mark_dynamic_impl(self) { ... } fn mark_modified(self) { ... } fn upload_mesh_data_impl(self, mark_no_longer_readable: impl Into<bool>) { ... } fn get_topology_impl(self, submesh: impl Into<i32>) -> MeshTopology { ... } fn recalculate_uv_distribution_metric_impl( self, uv_set_index: impl Into<i32>, uv_area_threshold: impl Into<f32>, ) { ... } fn recalculate_uv_distribution_metrics_impl( self, uv_area_threshold: impl Into<f32>, ) { ... } fn get_uv_distribution_metric(self, uv_set_index: impl Into<i32>) -> f32 { ... } fn combine_meshes_impl( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, use_matrices: impl Into<bool>, has_lightmap_data: impl Into<bool>, ) { ... } fn optimize_impl(self) { ... } fn optimize_index_buffers_impl(self) { ... } fn optimize_reorder_vertex_buffer_impl(self) { ... } fn get_alloc_array_from_channel<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, ) -> Array<M0> { ... } fn get_alloc_array_from_channel_2<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, ) -> Array<M0> { ... } fn set_sized_array_for_channel( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IlInstance>, values_array_length: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_sized_native_array_for_channel( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IntPtr>, values_array_length: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_array_for_channel<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<Array<M0>>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_array_for_channel_2<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, values: impl Into<Array<M0>>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_list_for_channel<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<List_1<M0>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_list_for_channel_2<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, values: impl Into<List_1<M0>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_list_for_channel<M0: IlType + Copy + ClassIdentity>( self, buffer: impl Into<List_1<M0>>, capacity: impl Into<i32>, channel: impl Into<VertexAttribute>, dim: impl Into<i32>, ) { ... } fn get_list_for_channel_2<M0: IlType + Copy + ClassIdentity>( self, buffer: impl Into<List_1<M0>>, capacity: impl Into<i32>, channel: impl Into<VertexAttribute>, dim: impl Into<i32>, channel_type: impl Into<VertexAttributeFormat>, ) { ... } fn get_vertices(self) -> Array<Vector3> { ... } fn set_vertices(self, value: impl Into<Array<Vector3>>) { ... } fn get_normals(self) -> Array<Vector3> { ... } fn set_normals(self, value: impl Into<Array<Vector3>>) { ... } fn get_tangents(self) -> Array<Vector4> { ... } fn set_tangents(self, value: impl Into<Array<Vector4>>) { ... } fn get_uv(self) -> Array<Vector2> { ... } fn set_uv(self, value: impl Into<Array<Vector2>>) { ... } fn get_uv2(self) -> Array<Vector2> { ... } fn set_uv2(self, value: impl Into<Array<Vector2>>) { ... } fn get_uv3(self) -> Array<Vector2> { ... } fn set_uv3(self, value: impl Into<Array<Vector2>>) { ... } fn get_uv4(self) -> Array<Vector2> { ... } fn set_uv4(self, value: impl Into<Array<Vector2>>) { ... } fn get_uv5(self) -> Array<Vector2> { ... } fn set_uv5(self, value: impl Into<Array<Vector2>>) { ... } fn get_uv6(self) -> Array<Vector2> { ... } fn set_uv6(self, value: impl Into<Array<Vector2>>) { ... } fn get_uv7(self) -> Array<Vector2> { ... } fn set_uv7(self, value: impl Into<Array<Vector2>>) { ... } fn get_uv8(self) -> Array<Vector2> { ... } fn set_uv8(self, value: impl Into<Array<Vector2>>) { ... } fn get_colors(self) -> Array<Color> { ... } fn set_colors(self, value: impl Into<Array<Color>>) { ... } fn get_colors32(self) -> Array<Color32> { ... } fn set_colors32(self, value: impl Into<Array<Color32>>) { ... } fn get_vertices_2(self, vertices: impl Into<List_1<Vector3>>) { ... } fn set_vertices_2(self, in_vertices: impl Into<List_1<Vector3>>) { ... } fn set_vertices_3( self, in_vertices: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_vertices_4( self, in_vertices: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_vertices_5( self, in_vertices: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_vertices_6( self, in_vertices: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_normals_2(self, normals: impl Into<List_1<Vector3>>) { ... } fn set_normals_2(self, in_normals: impl Into<List_1<Vector3>>) { ... } fn set_normals_3( self, in_normals: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_normals_4( self, in_normals: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_normals_5( self, in_normals: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_normals_6( self, in_normals: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_tangents_2(self, tangents: impl Into<List_1<Vector4>>) { ... } fn set_tangents_2(self, in_tangents: impl Into<List_1<Vector4>>) { ... } fn set_tangents_3( self, in_tangents: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_tangents_4( self, in_tangents: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_tangents_5( self, in_tangents: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_tangents_6( self, in_tangents: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_colors_2(self, colors: impl Into<List_1<Color>>) { ... } fn set_colors_2(self, in_colors: impl Into<List_1<Color>>) { ... } fn set_colors_3( self, in_colors: impl Into<List_1<Color>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_colors_4( self, in_colors: impl Into<List_1<Color>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_colors_5( self, in_colors: impl Into<Array<Color>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_colors_6( self, in_colors: impl Into<Array<Color>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_colors_3(self, colors: impl Into<List_1<Color32>>) { ... } fn set_colors_7(self, in_colors: impl Into<List_1<Color32>>) { ... } fn set_colors_8( self, in_colors: impl Into<List_1<Color32>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_colors_9( self, in_colors: impl Into<List_1<Color32>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_colors_10(self, in_colors: impl Into<Array<Color32>>) { ... } fn set_colors_11( self, in_colors: impl Into<Array<Color32>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_colors_12( self, in_colors: impl Into<Array<Color32>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_uvs_impl<M0: IlType + Copy + ClassIdentity>( self, uv_index: impl Into<i32>, dim: impl Into<i32>, uvs: impl Into<List_1<M0>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_u_vs(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>) { ... } fn set_u_vs_2( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>, ) { ... } fn set_u_vs_3( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>, ) { ... } fn set_u_vs_4( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_u_vs_5( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_u_vs_6( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_u_vs_7( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_u_vs_8( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_u_vs_9( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_uvs_impl_2( self, uv_index: impl Into<i32>, dim: impl Into<i32>, uvs: impl Into<IlInstance>, array_start: impl Into<i32>, array_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_u_vs_10( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector2>>, ) { ... } fn set_u_vs_11( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector3>>, ) { ... } fn set_u_vs_12( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector4>>, ) { ... } fn set_u_vs_13( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_u_vs_14( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_u_vs_15( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_u_vs_16( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_u_vs_17( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_u_vs_18( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_u_vs_impl<M0: IlType + Copy + ClassIdentity>( self, uv_index: impl Into<i32>, uvs: impl Into<List_1<M0>>, dim: impl Into<i32>, ) { ... } fn get_u_vs(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>) { ... } fn get_u_vs_2( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>, ) { ... } fn get_u_vs_3( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>, ) { ... } fn get_vertex_attribute_count(self) -> i32 { ... } fn get_vertex_attributes(self) -> Array<VertexAttributeDescriptor> { ... } fn get_vertex_attributes_2( self, attributes: impl Into<Array<VertexAttributeDescriptor>>, ) -> i32 { ... } fn get_vertex_attributes_3( self, attributes: impl Into<List_1<VertexAttributeDescriptor>>, ) -> i32 { ... } fn set_vertex_buffer_params( self, vertex_count: impl Into<i32>, attributes: impl Into<Array<VertexAttributeDescriptor>>, ) { ... } fn set_vertex_buffer_data<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<Array<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, stream: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_vertex_buffer_data_2<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<List_1<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, stream: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn print_error_cant_access_indices(self) { ... } fn check_can_access_submesh( self, submesh: impl Into<i32>, error_about_triangles: impl Into<bool>, ) -> bool { ... } fn check_can_access_submesh_triangles(self, submesh: impl Into<i32>) -> bool { ... } fn check_can_access_submesh_indices(self, submesh: impl Into<i32>) -> bool { ... } fn get_triangles(self) -> Array<i32> { ... } fn set_triangles(self, value: impl Into<Array<i32>>) { ... } fn get_triangles_2(self, submesh: impl Into<i32>) -> Array<i32> { ... } fn get_triangles_3( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32> { ... } fn get_triangles_4( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, ) { ... } fn get_triangles_5( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn get_triangles_6( self, triangles: impl Into<List_1<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn get_indices(self, submesh: impl Into<i32>) -> Array<i32> { ... } fn get_indices_2( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32> { ... } fn get_indices_3( self, indices: impl Into<List_1<i32>>, submesh: impl Into<i32>, ) { ... } fn get_indices_4( self, indices: impl Into<List_1<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn get_indices_5( self, indices: impl Into<List_1<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) { ... } fn set_index_buffer_data<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<Array<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_index_buffer_data_2<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<List_1<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_index_start(self, submesh: impl Into<i32>) -> u32 { ... } fn get_index_count(self, submesh: impl Into<i32>) -> u32 { ... } fn get_base_vertex(self, submesh: impl Into<i32>) -> u32 { ... } fn check_indices_array_range( self, values_length: impl Into<i32>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_triangles_impl( self, submesh: impl Into<i32>, indices_format: impl Into<IndexFormat>, triangles: impl Into<IlInstance>, triangles_array_length: impl Into<i32>, start: impl Into<i32>, length: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_2( self, triangles: impl Into<Array<i32>>, submesh: impl Into<i32>, ) { ... } fn set_triangles_3( self, triangles: impl Into<Array<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, ) { ... } fn set_triangles_4( self, triangles: impl Into<Array<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_5( self, triangles: impl Into<Array<i32>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_6( self, triangles: impl Into<Array<u16>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_7( self, triangles: impl Into<Array<u16>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_8( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, ) { ... } fn set_triangles_9( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, ) { ... } fn set_triangles_10( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_11( self, triangles: impl Into<List_1<i32>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_12( self, triangles: impl Into<List_1<u16>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_triangles_13( self, triangles: impl Into<List_1<u16>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices( self, indices: impl Into<Array<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, ) { ... } fn set_indices_2( self, indices: impl Into<Array<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, ) { ... } fn set_indices_3( self, indices: impl Into<Array<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_4( self, indices: impl Into<Array<i32>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_5( self, indices: impl Into<Array<u16>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_6( self, indices: impl Into<Array<u16>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_7( self, indices: impl Into<List_1<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_8( self, indices: impl Into<List_1<i32>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_9( self, indices: impl Into<List_1<u16>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_indices_10( self, indices: impl Into<List_1<u16>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, ) { ... } fn set_sub_meshes( self, desc: impl Into<Array<SubMeshDescriptor>>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_sub_meshes_2( self, desc: impl Into<Array<SubMeshDescriptor>>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_sub_meshes_3( self, desc: impl Into<List_1<SubMeshDescriptor>>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn set_sub_meshes_4( self, desc: impl Into<List_1<SubMeshDescriptor>>, flags: impl Into<MeshUpdateFlags>, ) { ... } fn get_bindposes_2(self, bindposes: impl Into<List_1<Matrix4x4>>) { ... } fn get_bone_weights(self, bone_weights: impl Into<List_1<BoneWeight>>) { ... } fn get_bone_weights_2(self) -> Array<BoneWeight> { ... } fn set_bone_weights(self, value: impl Into<Array<BoneWeight>>) { ... } fn clear(self, keep_vertex_layout: impl Into<bool>) { ... } fn clear_2(self) { ... } fn recalculate_bounds(self) { ... } fn recalculate_normals(self) { ... } fn recalculate_tangents(self) { ... } fn recalculate_bounds_2(self, flags: impl Into<MeshUpdateFlags>) { ... } fn recalculate_normals_2(self, flags: impl Into<MeshUpdateFlags>) { ... } fn recalculate_tangents_2(self, flags: impl Into<MeshUpdateFlags>) { ... } fn recalculate_uv_distribution_metric( self, uv_set_index: impl Into<i32>, uv_area_threshold: impl Into<f32>, ) { ... } fn recalculate_uv_distribution_metrics( self, uv_area_threshold: impl Into<f32>, ) { ... } fn mark_dynamic(self) { ... } fn upload_mesh_data(self, mark_no_longer_readable: impl Into<bool>) { ... } fn optimize(self) { ... } fn optimize_index_buffers(self) { ... } fn optimize_reorder_vertex_buffer(self) { ... } fn get_topology(self, submesh: impl Into<i32>) -> MeshTopology { ... } fn combine_meshes( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, use_matrices: impl Into<bool>, has_lightmap_data: impl Into<bool>, ) { ... } fn combine_meshes_2( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, use_matrices: impl Into<bool>, ) { ... } fn combine_meshes_3( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, ) { ... } fn combine_meshes_4(self, combine: impl Into<Array<CombineInstance>>) { ... } fn get_vertex_attribute_injected( self, index: impl Into<i32>, ) -> VertexAttributeDescriptor { ... } fn set_sub_mesh_injected( self, index: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) -> SubMeshDescriptor { ... } fn get_sub_mesh_injected(self, index: impl Into<i32>) -> SubMeshDescriptor { ... } fn get_bounds_injected(self) -> Bounds { ... } fn set_bounds_injected(self) -> Bounds { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_index_format(self) -> IndexFormat

get_indexFormat() overload

Source

fn set_index_format(self, value: impl Into<IndexFormat>)

set_indexFormat(crate::unity_engine::rendering::indexformat::IndexFormat) overload

Source

fn get_total_index_count(self) -> u32

GetTotalIndexCount() overload

Source

fn set_index_buffer_params( self, index_count: impl Into<i32>, format: impl Into<IndexFormat>, )

SetIndexBufferParams(i32, crate::unity_engine::rendering::indexformat::IndexFormat) overload

Source

fn internal_set_index_buffer_data( self, data: impl Into<IntPtr>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

InternalSetIndexBufferData(::unity::IntPtr, i32, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn internal_set_index_buffer_data_from_array( self, data: impl Into<IlInstance>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

InternalSetIndexBufferDataFromArray(::unity::IlInstance, i32, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_vertex_buffer_params_from_ptr( self, vertex_count: impl Into<i32>, attributes_ptr: impl Into<IntPtr>, attributes_count: impl Into<i32>, )

SetVertexBufferParamsFromPtr(i32, ::unity::IntPtr, i32) overload

Source

fn set_vertex_buffer_params_from_array( self, vertex_count: impl Into<i32>, attributes: impl Into<Array<VertexAttributeDescriptor>>, )

SetVertexBufferParamsFromArray(i32, ::unity::Array<crate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor>) overload

Source

fn internal_set_vertex_buffer_data( self, stream: impl Into<i32>, data: impl Into<IntPtr>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

InternalSetVertexBufferData(i32, ::unity::IntPtr, i32, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn internal_set_vertex_buffer_data_from_array( self, stream: impl Into<i32>, data: impl Into<IlInstance>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, elem_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

InternalSetVertexBufferDataFromArray(i32, ::unity::IlInstance, i32, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_vertex_attributes_alloc(self) -> IlInstance

GetVertexAttributesAlloc() overload

Source

fn get_vertex_attributes_array( self, attributes: impl Into<Array<VertexAttributeDescriptor>>, ) -> i32

GetVertexAttributesArray(::unity::Array<crate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor>) overload

Source

fn get_vertex_attributes_list( self, attributes: impl Into<List_1<VertexAttributeDescriptor>>, ) -> i32

GetVertexAttributesList(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor>) overload

Source

fn get_vertex_attribute_count_impl(self) -> i32

GetVertexAttributeCountImpl() overload

Source

fn get_vertex_attribute( self, index: impl Into<i32>, ) -> VertexAttributeDescriptor

GetVertexAttribute(i32) overload

Source

fn get_index_start_impl(self, submesh: impl Into<i32>) -> u32

GetIndexStartImpl(i32) overload

Source

fn get_index_count_impl(self, submesh: impl Into<i32>) -> u32

GetIndexCountImpl(i32) overload

Source

fn get_triangles_count_impl(self, submesh: impl Into<i32>) -> u32

GetTrianglesCountImpl(i32) overload

Source

fn get_base_vertex_impl(self, submesh: impl Into<i32>) -> u32

GetBaseVertexImpl(i32) overload

Source

fn get_triangles_impl( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32>

GetTrianglesImpl(i32, bool) overload

Source

fn get_indices_impl( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32>

GetIndicesImpl(i32, bool) overload

Source

fn set_indices_impl( self, submesh: impl Into<i32>, topology: impl Into<MeshTopology>, indices_format: impl Into<IndexFormat>, indices: impl Into<IlInstance>, array_start: impl Into<i32>, array_size: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndicesImpl(i32, crate::unity_engine::meshtopology::MeshTopology, crate::unity_engine::rendering::indexformat::IndexFormat, ::unity::IlInstance, i32, i32, bool, i32) overload

Source

fn set_indices_native_array_impl( self, submesh: impl Into<i32>, topology: impl Into<MeshTopology>, indices_format: impl Into<IndexFormat>, indices: impl Into<IntPtr>, array_start: impl Into<i32>, array_size: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndicesNativeArrayImpl(i32, crate::unity_engine::meshtopology::MeshTopology, crate::unity_engine::rendering::indexformat::IndexFormat, ::unity::IntPtr, i32, i32, bool, i32) overload

Source

fn get_triangles_non_alloc_impl( self, values: impl Into<Array<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetTrianglesNonAllocImpl(::unity::Array<i32>, i32, bool) overload

Source

fn get_triangles_non_alloc_impl16( self, values: impl Into<Array<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetTrianglesNonAllocImpl16(::unity::Array<u16>, i32, bool) overload

Source

fn get_indices_non_alloc_impl( self, values: impl Into<Array<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetIndicesNonAllocImpl(::unity::Array<i32>, i32, bool) overload

Source

fn get_indices_non_alloc_impl16( self, values: impl Into<Array<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetIndicesNonAllocImpl16(::unity::Array<u16>, i32, bool) overload

Source

fn print_error_cant_access_channel(self, ch: impl Into<VertexAttribute>)

PrintErrorCantAccessChannel(crate::unity_engine::rendering::vertexattribute::VertexAttribute) overload

Source

fn has_vertex_attribute(self, attr: impl Into<VertexAttribute>) -> bool

HasVertexAttribute(crate::unity_engine::rendering::vertexattribute::VertexAttribute) overload

Source

fn get_vertex_attribute_dimension(self, attr: impl Into<VertexAttribute>) -> i32

GetVertexAttributeDimension(crate::unity_engine::rendering::vertexattribute::VertexAttribute) overload

Source

fn get_vertex_attribute_format( self, attr: impl Into<VertexAttribute>, ) -> VertexAttributeFormat

GetVertexAttributeFormat(crate::unity_engine::rendering::vertexattribute::VertexAttribute) overload

Source

fn set_array_for_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IlInstance>, array_size: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetArrayForChannelImpl(crate::unity_engine::rendering::vertexattribute::VertexAttribute, crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat, i32, ::unity::IlInstance, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_native_array_for_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IntPtr>, array_size: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetNativeArrayForChannelImpl(crate::unity_engine::rendering::vertexattribute::VertexAttribute, crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat, i32, ::unity::IntPtr, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_alloc_array_from_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, ) -> IlInstance

GetAllocArrayFromChannelImpl(crate::unity_engine::rendering::vertexattribute::VertexAttribute, crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat, i32) overload

Source

fn get_array_from_channel_impl( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IlInstance>, )

GetArrayFromChannelImpl(crate::unity_engine::rendering::vertexattribute::VertexAttribute, crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat, i32, ::unity::IlInstance) overload

Source

fn get_vertex_buffer_count(self) -> i32

get_vertexBufferCount() overload

Source

fn get_native_vertex_buffer_ptr(self, index: impl Into<i32>) -> IntPtr

GetNativeVertexBufferPtr(i32) overload

Source

fn get_native_index_buffer_ptr(self) -> IntPtr

GetNativeIndexBufferPtr() overload

Source

fn get_blend_shape_count(self) -> i32

get_blendShapeCount() overload

Source

fn clear_blend_shapes(self)

ClearBlendShapes() overload

Source

fn get_blend_shape_name(self, shape_index: impl Into<i32>) -> Il2CppString

GetBlendShapeName(i32) overload

Source

fn get_blend_shape_index(self, blend_shape_name: impl Into<Il2CppString>) -> i32

GetBlendShapeIndex(::unity::Il2CppString) overload

Source

fn get_blend_shape_frame_count(self, shape_index: impl Into<i32>) -> i32

GetBlendShapeFrameCount(i32) overload

Source

fn get_blend_shape_frame_weight( self, shape_index: impl Into<i32>, frame_index: impl Into<i32>, ) -> f32

GetBlendShapeFrameWeight(i32, i32) overload

Source

fn get_blend_shape_frame_vertices( self, shape_index: impl Into<i32>, frame_index: impl Into<i32>, delta_vertices: impl Into<Array<Vector3>>, delta_normals: impl Into<Array<Vector3>>, delta_tangents: impl Into<Array<Vector3>>, )

GetBlendShapeFrameVertices(i32, i32, ::unity::Array<crate::unity_engine::vector3::Vector3>, ::unity::Array<crate::unity_engine::vector3::Vector3>, ::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn add_blend_shape_frame( self, shape_name: impl Into<Il2CppString>, frame_weight: impl Into<f32>, delta_vertices: impl Into<Array<Vector3>>, delta_normals: impl Into<Array<Vector3>>, delta_tangents: impl Into<Array<Vector3>>, )

AddBlendShapeFrame(::unity::Il2CppString, f32, ::unity::Array<crate::unity_engine::vector3::Vector3>, ::unity::Array<crate::unity_engine::vector3::Vector3>, ::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn has_bone_weights(self) -> bool

HasBoneWeights() overload

Source

fn get_bone_weights_impl(self) -> Array<BoneWeight>

GetBoneWeightsImpl() overload

Source

fn set_bone_weights_impl(self, weights: impl Into<Array<BoneWeight>>)

SetBoneWeightsImpl(::unity::Array<crate::unity_engine::boneweight::BoneWeight>) overload

Source

fn internal_set_bone_weights( self, bones_per_vertex: impl Into<IntPtr>, bones_per_vertex_size: impl Into<i32>, weights: impl Into<IntPtr>, weights_size: impl Into<i32>, )

InternalSetBoneWeights(::unity::IntPtr, i32, ::unity::IntPtr, i32) overload

Source

fn get_all_bone_weights_array_size(self) -> i32

GetAllBoneWeightsArraySize() overload

Source

fn get_all_bone_weights_array(self) -> IntPtr

GetAllBoneWeightsArray() overload

Source

fn get_bones_per_vertex_array(self) -> IntPtr

GetBonesPerVertexArray() overload

Source

fn get_bindpose_count(self) -> i32

GetBindposeCount() overload

Source

fn get_bindposes(self) -> Array<Matrix4x4>

get_bindposes() overload

Source

fn set_bindposes(self, value: impl Into<Array<Matrix4x4>>)

set_bindposes(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>) overload

Source

fn get_bone_weights_non_alloc_impl(self, values: impl Into<Array<BoneWeight>>)

GetBoneWeightsNonAllocImpl(::unity::Array<crate::unity_engine::boneweight::BoneWeight>) overload

Source

fn get_bindposes_non_alloc_impl(self, values: impl Into<Array<Matrix4x4>>)

GetBindposesNonAllocImpl(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>) overload

Source

fn get_is_readable(self) -> bool

get_isReadable() overload

Source

fn get_can_access(self) -> bool

get_canAccess() overload

Source

fn get_vertex_count(self) -> i32

get_vertexCount() overload

Source

fn get_sub_mesh_count(self) -> i32

get_subMeshCount() overload

Source

fn set_sub_mesh_count(self, value: impl Into<i32>)

set_subMeshCount(i32) overload

Source

fn set_sub_mesh( self, index: impl Into<i32>, desc: impl Into<SubMeshDescriptor>, flags: impl Into<MeshUpdateFlags>, )

SetSubMesh(i32, crate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_sub_mesh(self, index: impl Into<i32>) -> SubMeshDescriptor

GetSubMesh(i32) overload

Source

fn set_all_sub_meshes_at_once_from_array( self, desc: impl Into<Array<SubMeshDescriptor>>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetAllSubMeshesAtOnceFromArray(::unity::Array<crate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_all_sub_meshes_at_once_from_native_array( self, desc: impl Into<IntPtr>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetAllSubMeshesAtOnceFromNativeArray(::unity::IntPtr, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_bounds(self) -> Bounds

get_bounds() overload

Source

fn set_bounds(self, value: impl Into<Bounds>)

set_bounds(crate::unity_engine::bounds::Bounds) overload

Source

fn clear_impl(self, keep_vertex_layout: impl Into<bool>)

ClearImpl(bool) overload

Source

fn recalculate_bounds_impl(self, flags: impl Into<MeshUpdateFlags>)

RecalculateBoundsImpl(crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn recalculate_normals_impl(self, flags: impl Into<MeshUpdateFlags>)

RecalculateNormalsImpl(crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn recalculate_tangents_impl(self, flags: impl Into<MeshUpdateFlags>)

RecalculateTangentsImpl(crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn mark_dynamic_impl(self)

MarkDynamicImpl() overload

Source

fn mark_modified(self)

MarkModified() overload

Source

fn upload_mesh_data_impl(self, mark_no_longer_readable: impl Into<bool>)

UploadMeshDataImpl(bool) overload

Source

fn get_topology_impl(self, submesh: impl Into<i32>) -> MeshTopology

GetTopologyImpl(i32) overload

Source

fn recalculate_uv_distribution_metric_impl( self, uv_set_index: impl Into<i32>, uv_area_threshold: impl Into<f32>, )

RecalculateUVDistributionMetricImpl(i32, f32) overload

Source

fn recalculate_uv_distribution_metrics_impl( self, uv_area_threshold: impl Into<f32>, )

RecalculateUVDistributionMetricsImpl(f32) overload

Source

fn get_uv_distribution_metric(self, uv_set_index: impl Into<i32>) -> f32

GetUVDistributionMetric(i32) overload

Source

fn combine_meshes_impl( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, use_matrices: impl Into<bool>, has_lightmap_data: impl Into<bool>, )

CombineMeshesImpl(::unity::Array<crate::unity_engine::combineinstance::CombineInstance>, bool, bool, bool) overload

Source

fn optimize_impl(self)

OptimizeImpl() overload

Source

fn optimize_index_buffers_impl(self)

OptimizeIndexBuffersImpl() overload

Source

fn optimize_reorder_vertex_buffer_impl(self)

OptimizeReorderVertexBufferImpl() overload

Source

fn get_alloc_array_from_channel<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, ) -> Array<M0>

Source

fn get_alloc_array_from_channel_2<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, ) -> Array<M0>

Source

fn set_sized_array_for_channel( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IlInstance>, values_array_length: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetSizedArrayForChannel(crate::unity_engine::rendering::vertexattribute::VertexAttribute, crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat, i32, ::unity::IlInstance, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_sized_native_array_for_channel( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<IntPtr>, values_array_length: impl Into<i32>, values_start: impl Into<i32>, values_count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetSizedNativeArrayForChannel(crate::unity_engine::rendering::vertexattribute::VertexAttribute, crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat, i32, ::unity::IntPtr, i32, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_array_for_channel<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<Array<M0>>, flags: impl Into<MeshUpdateFlags>, )

Source

fn set_array_for_channel_2<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, values: impl Into<Array<M0>>, flags: impl Into<MeshUpdateFlags>, )

Source

fn set_list_for_channel<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dim: impl Into<i32>, values: impl Into<List_1<M0>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

Source

fn set_list_for_channel_2<M0: IlType + Copy + ClassIdentity>( self, channel: impl Into<VertexAttribute>, values: impl Into<List_1<M0>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

Source

fn get_list_for_channel<M0: IlType + Copy + ClassIdentity>( self, buffer: impl Into<List_1<M0>>, capacity: impl Into<i32>, channel: impl Into<VertexAttribute>, dim: impl Into<i32>, )

Source

fn get_list_for_channel_2<M0: IlType + Copy + ClassIdentity>( self, buffer: impl Into<List_1<M0>>, capacity: impl Into<i32>, channel: impl Into<VertexAttribute>, dim: impl Into<i32>, channel_type: impl Into<VertexAttributeFormat>, )

Source

fn get_vertices(self) -> Array<Vector3>

get_vertices() overload

Source

fn set_vertices(self, value: impl Into<Array<Vector3>>)

set_vertices(::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn get_normals(self) -> Array<Vector3>

get_normals() overload

Source

fn set_normals(self, value: impl Into<Array<Vector3>>)

set_normals(::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn get_tangents(self) -> Array<Vector4>

get_tangents() overload

Source

fn set_tangents(self, value: impl Into<Array<Vector4>>)

set_tangents(::unity::Array<crate::unity_engine::vector4::Vector4>) overload

Source

fn get_uv(self) -> Array<Vector2>

get_uv() overload

Source

fn set_uv(self, value: impl Into<Array<Vector2>>)

set_uv(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_uv2(self) -> Array<Vector2>

get_uv2() overload

Source

fn set_uv2(self, value: impl Into<Array<Vector2>>)

set_uv2(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_uv3(self) -> Array<Vector2>

get_uv3() overload

Source

fn set_uv3(self, value: impl Into<Array<Vector2>>)

set_uv3(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_uv4(self) -> Array<Vector2>

get_uv4() overload

Source

fn set_uv4(self, value: impl Into<Array<Vector2>>)

set_uv4(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_uv5(self) -> Array<Vector2>

get_uv5() overload

Source

fn set_uv5(self, value: impl Into<Array<Vector2>>)

set_uv5(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_uv6(self) -> Array<Vector2>

get_uv6() overload

Source

fn set_uv6(self, value: impl Into<Array<Vector2>>)

set_uv6(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_uv7(self) -> Array<Vector2>

get_uv7() overload

Source

fn set_uv7(self, value: impl Into<Array<Vector2>>)

set_uv7(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_uv8(self) -> Array<Vector2>

get_uv8() overload

Source

fn set_uv8(self, value: impl Into<Array<Vector2>>)

set_uv8(::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_colors(self) -> Array<Color>

get_colors() overload

Source

fn set_colors(self, value: impl Into<Array<Color>>)

set_colors(::unity::Array<crate::unity_engine::color::Color>) overload

Source

fn get_colors32(self) -> Array<Color32>

get_colors32() overload

Source

fn set_colors32(self, value: impl Into<Array<Color32>>)

set_colors32(::unity::Array<crate::unity_engine::color32::Color32>) overload

Source

fn get_vertices_2(self, vertices: impl Into<List_1<Vector3>>)

GetVertices(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>) overload

Source

fn set_vertices_2(self, in_vertices: impl Into<List_1<Vector3>>)

SetVertices(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>) overload

Source

fn set_vertices_3( self, in_vertices: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, )

SetVertices(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, i32, i32) overload

Source

fn set_vertices_4( self, in_vertices: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetVertices(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_vertices_5( self, in_vertices: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, )

SetVertices(::unity::Array<crate::unity_engine::vector3::Vector3>, i32, i32) overload

Source

fn set_vertices_6( self, in_vertices: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetVertices(::unity::Array<crate::unity_engine::vector3::Vector3>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_normals_2(self, normals: impl Into<List_1<Vector3>>)

GetNormals(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>) overload

Source

fn set_normals_2(self, in_normals: impl Into<List_1<Vector3>>)

SetNormals(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>) overload

Source

fn set_normals_3( self, in_normals: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, )

SetNormals(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, i32, i32) overload

Source

fn set_normals_4( self, in_normals: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetNormals(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_normals_5( self, in_normals: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, )

SetNormals(::unity::Array<crate::unity_engine::vector3::Vector3>, i32, i32) overload

Source

fn set_normals_6( self, in_normals: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetNormals(::unity::Array<crate::unity_engine::vector3::Vector3>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_tangents_2(self, tangents: impl Into<List_1<Vector4>>)

GetTangents(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload

Source

fn set_tangents_2(self, in_tangents: impl Into<List_1<Vector4>>)

SetTangents(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload

Source

fn set_tangents_3( self, in_tangents: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, )

SetTangents(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, i32, i32) overload

Source

fn set_tangents_4( self, in_tangents: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetTangents(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_tangents_5( self, in_tangents: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, )

SetTangents(::unity::Array<crate::unity_engine::vector4::Vector4>, i32, i32) overload

Source

fn set_tangents_6( self, in_tangents: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetTangents(::unity::Array<crate::unity_engine::vector4::Vector4>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_colors_2(self, colors: impl Into<List_1<Color>>)

GetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>) overload

Source

fn set_colors_2(self, in_colors: impl Into<List_1<Color>>)

SetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>) overload

Source

fn set_colors_3( self, in_colors: impl Into<List_1<Color>>, start: impl Into<i32>, length: impl Into<i32>, )

SetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>, i32, i32) overload

Source

fn set_colors_4( self, in_colors: impl Into<List_1<Color>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_colors_5( self, in_colors: impl Into<Array<Color>>, start: impl Into<i32>, length: impl Into<i32>, )

SetColors(::unity::Array<crate::unity_engine::color::Color>, i32, i32) overload

Source

fn set_colors_6( self, in_colors: impl Into<Array<Color>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetColors(::unity::Array<crate::unity_engine::color::Color>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_colors_3(self, colors: impl Into<List_1<Color32>>)

GetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>) overload

Source

fn set_colors_7(self, in_colors: impl Into<List_1<Color32>>)

SetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>) overload

Source

fn set_colors_8( self, in_colors: impl Into<List_1<Color32>>, start: impl Into<i32>, length: impl Into<i32>, )

SetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, i32, i32) overload

Source

fn set_colors_9( self, in_colors: impl Into<List_1<Color32>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetColors(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_colors_10(self, in_colors: impl Into<Array<Color32>>)

SetColors(::unity::Array<crate::unity_engine::color32::Color32>) overload

Source

fn set_colors_11( self, in_colors: impl Into<Array<Color32>>, start: impl Into<i32>, length: impl Into<i32>, )

SetColors(::unity::Array<crate::unity_engine::color32::Color32>, i32, i32) overload

Source

fn set_colors_12( self, in_colors: impl Into<Array<Color32>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetColors(::unity::Array<crate::unity_engine::color32::Color32>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_uvs_impl<M0: IlType + Copy + ClassIdentity>( self, uv_index: impl Into<i32>, dim: impl Into<i32>, uvs: impl Into<List_1<M0>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

Source

fn set_u_vs(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>)

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>) overload

Source

fn set_u_vs_2(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>)

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>) overload

Source

fn set_u_vs_3(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>)

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload

Source

fn set_u_vs_4( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, )

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>, i32, i32) overload

Source

fn set_u_vs_5( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_u_vs_6( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, )

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, i32, i32) overload

Source

fn set_u_vs_7( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_u_vs_8( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, )

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, i32, i32) overload

Source

fn set_u_vs_9( self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_uvs_impl_2( self, uv_index: impl Into<i32>, dim: impl Into<i32>, uvs: impl Into<IlInstance>, array_start: impl Into<i32>, array_size: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetUvsImpl(i32, i32, ::unity::IlInstance, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_u_vs_10(self, channel: impl Into<i32>, uvs: impl Into<Array<Vector2>>)

SetUVs(i32, ::unity::Array<crate::unity_engine::vector2::Vector2>) overload

Source

fn set_u_vs_11(self, channel: impl Into<i32>, uvs: impl Into<Array<Vector3>>)

SetUVs(i32, ::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn set_u_vs_12(self, channel: impl Into<i32>, uvs: impl Into<Array<Vector4>>)

SetUVs(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>) overload

Source

fn set_u_vs_13( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, )

SetUVs(i32, ::unity::Array<crate::unity_engine::vector2::Vector2>, i32, i32) overload

Source

fn set_u_vs_14( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector2>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetUVs(i32, ::unity::Array<crate::unity_engine::vector2::Vector2>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_u_vs_15( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, )

SetUVs(i32, ::unity::Array<crate::unity_engine::vector3::Vector3>, i32, i32) overload

Source

fn set_u_vs_16( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector3>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetUVs(i32, ::unity::Array<crate::unity_engine::vector3::Vector3>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_u_vs_17( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, )

SetUVs(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>, i32, i32) overload

Source

fn set_u_vs_18( self, channel: impl Into<i32>, uvs: impl Into<Array<Vector4>>, start: impl Into<i32>, length: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetUVs(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_u_vs_impl<M0: IlType + Copy + ClassIdentity>( self, uv_index: impl Into<i32>, uvs: impl Into<List_1<M0>>, dim: impl Into<i32>, )

Source

fn get_u_vs(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector2>>)

GetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector2::Vector2>) overload

Source

fn get_u_vs_2(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector3>>)

GetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>) overload

Source

fn get_u_vs_3(self, channel: impl Into<i32>, uvs: impl Into<List_1<Vector4>>)

GetUVs(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>) overload

Source

fn get_vertex_attribute_count(self) -> i32

get_vertexAttributeCount() overload

Source

fn get_vertex_attributes(self) -> Array<VertexAttributeDescriptor>

GetVertexAttributes() overload

Source

fn get_vertex_attributes_2( self, attributes: impl Into<Array<VertexAttributeDescriptor>>, ) -> i32

GetVertexAttributes(::unity::Array<crate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor>) overload

Source

fn get_vertex_attributes_3( self, attributes: impl Into<List_1<VertexAttributeDescriptor>>, ) -> i32

GetVertexAttributes(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor>) overload

Source

fn set_vertex_buffer_params( self, vertex_count: impl Into<i32>, attributes: impl Into<Array<VertexAttributeDescriptor>>, )

SetVertexBufferParams(i32, ::unity::Array<crate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor>) overload

Source

fn set_vertex_buffer_data<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<Array<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, stream: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

Source

fn set_vertex_buffer_data_2<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<List_1<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, stream: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

Source

fn print_error_cant_access_indices(self)

PrintErrorCantAccessIndices() overload

Source

fn check_can_access_submesh( self, submesh: impl Into<i32>, error_about_triangles: impl Into<bool>, ) -> bool

CheckCanAccessSubmesh(i32, bool) overload

Source

fn check_can_access_submesh_triangles(self, submesh: impl Into<i32>) -> bool

CheckCanAccessSubmeshTriangles(i32) overload

Source

fn check_can_access_submesh_indices(self, submesh: impl Into<i32>) -> bool

CheckCanAccessSubmeshIndices(i32) overload

Source

fn get_triangles(self) -> Array<i32>

get_triangles() overload

Source

fn set_triangles(self, value: impl Into<Array<i32>>)

set_triangles(::unity::Array<i32>) overload

Source

fn get_triangles_2(self, submesh: impl Into<i32>) -> Array<i32>

GetTriangles(i32) overload

Source

fn get_triangles_3( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32>

GetTriangles(i32, bool) overload

Source

fn get_triangles_4( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, )

GetTriangles(crate::system::collections::generic::list_1::List_1<i32>, i32) overload

Source

fn get_triangles_5( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetTriangles(crate::system::collections::generic::list_1::List_1<i32>, i32, bool) overload

Source

fn get_triangles_6( self, triangles: impl Into<List_1<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetTriangles(crate::system::collections::generic::list_1::List_1<u16>, i32, bool) overload

Source

fn get_indices(self, submesh: impl Into<i32>) -> Array<i32>

GetIndices(i32) overload

Source

fn get_indices_2( self, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, ) -> Array<i32>

GetIndices(i32, bool) overload

Source

fn get_indices_3(self, indices: impl Into<List_1<i32>>, submesh: impl Into<i32>)

GetIndices(crate::system::collections::generic::list_1::List_1<i32>, i32) overload

Source

fn get_indices_4( self, indices: impl Into<List_1<i32>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetIndices(crate::system::collections::generic::list_1::List_1<i32>, i32, bool) overload

Source

fn get_indices_5( self, indices: impl Into<List_1<u16>>, submesh: impl Into<i32>, apply_base_vertex: impl Into<bool>, )

GetIndices(crate::system::collections::generic::list_1::List_1<u16>, i32, bool) overload

Source

fn set_index_buffer_data<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<Array<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

Source

fn set_index_buffer_data_2<M0: IlType + Copy + ClassIdentity>( self, data: impl Into<List_1<M0>>, data_start: impl Into<i32>, mesh_buffer_start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

Source

fn get_index_start(self, submesh: impl Into<i32>) -> u32

GetIndexStart(i32) overload

Source

fn get_index_count(self, submesh: impl Into<i32>) -> u32

GetIndexCount(i32) overload

Source

fn get_base_vertex(self, submesh: impl Into<i32>) -> u32

GetBaseVertex(i32) overload

Source

fn check_indices_array_range( self, values_length: impl Into<i32>, start: impl Into<i32>, length: impl Into<i32>, )

CheckIndicesArrayRange(i32, i32, i32) overload

Source

fn set_triangles_impl( self, submesh: impl Into<i32>, indices_format: impl Into<IndexFormat>, triangles: impl Into<IlInstance>, triangles_array_length: impl Into<i32>, start: impl Into<i32>, length: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTrianglesImpl(i32, crate::unity_engine::rendering::indexformat::IndexFormat, ::unity::IlInstance, i32, i32, i32, bool, i32) overload

Source

fn set_triangles_2( self, triangles: impl Into<Array<i32>>, submesh: impl Into<i32>, )

SetTriangles(::unity::Array<i32>, i32) overload

Source

fn set_triangles_3( self, triangles: impl Into<Array<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, )

SetTriangles(::unity::Array<i32>, i32, bool) overload

Source

fn set_triangles_4( self, triangles: impl Into<Array<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(::unity::Array<i32>, i32, bool, i32) overload

Source

fn set_triangles_5( self, triangles: impl Into<Array<i32>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(::unity::Array<i32>, i32, i32, i32, bool, i32) overload

Source

fn set_triangles_6( self, triangles: impl Into<Array<u16>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(::unity::Array<u16>, i32, bool, i32) overload

Source

fn set_triangles_7( self, triangles: impl Into<Array<u16>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(::unity::Array<u16>, i32, i32, i32, bool, i32) overload

Source

fn set_triangles_8( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, )

SetTriangles(crate::system::collections::generic::list_1::List_1<i32>, i32) overload

Source

fn set_triangles_9( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, )

SetTriangles(crate::system::collections::generic::list_1::List_1<i32>, i32, bool) overload

Source

fn set_triangles_10( self, triangles: impl Into<List_1<i32>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(crate::system::collections::generic::list_1::List_1<i32>, i32, bool, i32) overload

Source

fn set_triangles_11( self, triangles: impl Into<List_1<i32>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(crate::system::collections::generic::list_1::List_1<i32>, i32, i32, i32, bool, i32) overload

Source

fn set_triangles_12( self, triangles: impl Into<List_1<u16>>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(crate::system::collections::generic::list_1::List_1<u16>, i32, bool, i32) overload

Source

fn set_triangles_13( self, triangles: impl Into<List_1<u16>>, triangles_start: impl Into<i32>, triangles_length: impl Into<i32>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetTriangles(crate::system::collections::generic::list_1::List_1<u16>, i32, i32, i32, bool, i32) overload

Source

fn set_indices( self, indices: impl Into<Array<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, )

SetIndices(::unity::Array<i32>, crate::unity_engine::meshtopology::MeshTopology, i32) overload

Source

fn set_indices_2( self, indices: impl Into<Array<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, )

SetIndices(::unity::Array<i32>, crate::unity_engine::meshtopology::MeshTopology, i32, bool) overload

Source

fn set_indices_3( self, indices: impl Into<Array<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(::unity::Array<i32>, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_indices_4( self, indices: impl Into<Array<i32>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(::unity::Array<i32>, i32, i32, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_indices_5( self, indices: impl Into<Array<u16>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(::unity::Array<u16>, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_indices_6( self, indices: impl Into<Array<u16>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(::unity::Array<u16>, i32, i32, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_indices_7( self, indices: impl Into<List_1<i32>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(crate::system::collections::generic::list_1::List_1<i32>, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_indices_8( self, indices: impl Into<List_1<i32>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(crate::system::collections::generic::list_1::List_1<i32>, i32, i32, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_indices_9( self, indices: impl Into<List_1<u16>>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(crate::system::collections::generic::list_1::List_1<u16>, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_indices_10( self, indices: impl Into<List_1<u16>>, indices_start: impl Into<i32>, indices_length: impl Into<i32>, topology: impl Into<MeshTopology>, submesh: impl Into<i32>, calculate_bounds: impl Into<bool>, base_vertex: impl Into<i32>, )

SetIndices(crate::system::collections::generic::list_1::List_1<u16>, i32, i32, crate::unity_engine::meshtopology::MeshTopology, i32, bool, i32) overload

Source

fn set_sub_meshes( self, desc: impl Into<Array<SubMeshDescriptor>>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetSubMeshes(::unity::Array<crate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_sub_meshes_2( self, desc: impl Into<Array<SubMeshDescriptor>>, flags: impl Into<MeshUpdateFlags>, )

SetSubMeshes(::unity::Array<crate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor>, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_sub_meshes_3( self, desc: impl Into<List_1<SubMeshDescriptor>>, start: impl Into<i32>, count: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, )

SetSubMeshes(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor>, i32, i32, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn set_sub_meshes_4( self, desc: impl Into<List_1<SubMeshDescriptor>>, flags: impl Into<MeshUpdateFlags>, )

SetSubMeshes(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor>, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_bindposes_2(self, bindposes: impl Into<List_1<Matrix4x4>>)

GetBindposes(crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>) overload

Source

fn get_bone_weights(self, bone_weights: impl Into<List_1<BoneWeight>>)

GetBoneWeights(crate::system::collections::generic::list_1::List_1<crate::unity_engine::boneweight::BoneWeight>) overload

Source

fn get_bone_weights_2(self) -> Array<BoneWeight>

get_boneWeights() overload

Source

fn set_bone_weights(self, value: impl Into<Array<BoneWeight>>)

set_boneWeights(::unity::Array<crate::unity_engine::boneweight::BoneWeight>) overload

Source

fn clear(self, keep_vertex_layout: impl Into<bool>)

Clear(bool) overload

Source

fn clear_2(self)

Clear() overload

Source

fn recalculate_bounds(self)

RecalculateBounds() overload

Source

fn recalculate_normals(self)

RecalculateNormals() overload

Source

fn recalculate_tangents(self)

RecalculateTangents() overload

Source

fn recalculate_bounds_2(self, flags: impl Into<MeshUpdateFlags>)

RecalculateBounds(crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn recalculate_normals_2(self, flags: impl Into<MeshUpdateFlags>)

RecalculateNormals(crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn recalculate_tangents_2(self, flags: impl Into<MeshUpdateFlags>)

RecalculateTangents(crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn recalculate_uv_distribution_metric( self, uv_set_index: impl Into<i32>, uv_area_threshold: impl Into<f32>, )

RecalculateUVDistributionMetric(i32, f32) overload

Source

fn recalculate_uv_distribution_metrics(self, uv_area_threshold: impl Into<f32>)

RecalculateUVDistributionMetrics(f32) overload

Source

fn mark_dynamic(self)

MarkDynamic() overload

Source

fn upload_mesh_data(self, mark_no_longer_readable: impl Into<bool>)

UploadMeshData(bool) overload

Source

fn optimize(self)

Optimize() overload

Source

fn optimize_index_buffers(self)

OptimizeIndexBuffers() overload

Source

fn optimize_reorder_vertex_buffer(self)

OptimizeReorderVertexBuffer() overload

Source

fn get_topology(self, submesh: impl Into<i32>) -> MeshTopology

GetTopology(i32) overload

Source

fn combine_meshes( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, use_matrices: impl Into<bool>, has_lightmap_data: impl Into<bool>, )

CombineMeshes(::unity::Array<crate::unity_engine::combineinstance::CombineInstance>, bool, bool, bool) overload

Source

fn combine_meshes_2( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, use_matrices: impl Into<bool>, )

CombineMeshes(::unity::Array<crate::unity_engine::combineinstance::CombineInstance>, bool, bool) overload

Source

fn combine_meshes_3( self, combine: impl Into<Array<CombineInstance>>, merge_sub_meshes: impl Into<bool>, )

CombineMeshes(::unity::Array<crate::unity_engine::combineinstance::CombineInstance>, bool) overload

Source

fn combine_meshes_4(self, combine: impl Into<Array<CombineInstance>>)

CombineMeshes(::unity::Array<crate::unity_engine::combineinstance::CombineInstance>) overload

Source

fn get_vertex_attribute_injected( self, index: impl Into<i32>, ) -> VertexAttributeDescriptor

GetVertexAttribute_Injected(i32, *mutcrate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor) overload

Source

fn set_sub_mesh_injected( self, index: impl Into<i32>, flags: impl Into<MeshUpdateFlags>, ) -> SubMeshDescriptor

SetSubMesh_Injected(i32, *mutcrate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

fn get_sub_mesh_injected(self, index: impl Into<i32>) -> SubMeshDescriptor

GetSubMesh_Injected(i32, *mutcrate::unity_engine::rendering::submeshdescriptor::SubMeshDescriptor) overload

Source

fn get_bounds_injected(self) -> Bounds

get_bounds_Injected(*mutcrate::unity_engine::bounds::Bounds) overload

Source

fn set_bounds_injected(self) -> Bounds

set_bounds_Injected(*mutcrate::unity_engine::bounds::Bounds) 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: IMesh> IMeshMethods for __T

Available on crate feature unity_engine-mesh only.