Skip to main content

Mesh

Struct Mesh 

Source
pub struct Mesh(/* private fields */);
Expand description

IL2CPP class: UnityEngine.Mesh Inherits: Object_2

Implementations§

Source§

impl Mesh

Source

pub fn base(self) -> Object_2

Source§

impl Mesh

Source

pub fn internal_create(mono: impl Into<Mesh>)

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

Source

pub fn from_instance_id(id: impl Into<i32>) -> Mesh

FromInstanceID(i32) overload

Source

pub fn get_uv_channel(uv_index: impl Into<i32>) -> VertexAttribute

GetUVChannel(i32) overload

Source

pub fn default_dimension_for_channel(channel: impl Into<VertexAttribute>) -> i32

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

Source

pub fn acquire_read_only_mesh_data(mesh: impl Into<Mesh>) -> Mesh_MeshDataArray

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

Source

pub fn acquire_read_only_mesh_data_2( meshes: impl Into<Array<Mesh>>, ) -> Mesh_MeshDataArray

AcquireReadOnlyMeshData(::unity::Array<crate::unity_engine::mesh::Mesh>) overload

Source

pub fn acquire_read_only_mesh_data_3( meshes: impl Into<List_1<Mesh>>, ) -> Mesh_MeshDataArray

AcquireReadOnlyMeshData(crate::system::collections::generic::list_1::List_1<crate::unity_engine::mesh::Mesh>) overload

Source

pub fn allocate_writable_mesh_data( mesh_count: impl Into<i32>, ) -> Mesh_MeshDataArray

AllocateWritableMeshData(i32) overload

Source

pub fn apply_and_dispose_writable_mesh_data( data: impl Into<Mesh_MeshDataArray>, mesh: impl Into<Mesh>, flags: impl Into<MeshUpdateFlags>, )

ApplyAndDisposeWritableMeshData(crate::unity_engine::mesh::Mesh_MeshDataArray, crate::unity_engine::mesh::Mesh, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

pub fn apply_and_dispose_writable_mesh_data_2( data: impl Into<Mesh_MeshDataArray>, meshes: impl Into<Array<Mesh>>, flags: impl Into<MeshUpdateFlags>, )

ApplyAndDisposeWritableMeshData(crate::unity_engine::mesh::Mesh_MeshDataArray, ::unity::Array<crate::unity_engine::mesh::Mesh>, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source

pub fn apply_and_dispose_writable_mesh_data_3( data: impl Into<Mesh_MeshDataArray>, meshes: impl Into<List_1<Mesh>>, flags: impl Into<MeshUpdateFlags>, )

ApplyAndDisposeWritableMeshData(crate::unity_engine::mesh::Mesh_MeshDataArray, crate::system::collections::generic::list_1::List_1<crate::unity_engine::mesh::Mesh>, crate::unity_engine::rendering::meshupdateflags::MeshUpdateFlags) overload

Source§

impl Mesh

Source

pub fn internal_create_method_info() -> &'static MethodInfo

Source

pub fn ctor_method_info() -> &'static MethodInfo

Source

pub fn from_instance_id_method_info() -> &'static MethodInfo

Source

pub fn get_index_format_method_info() -> &'static MethodInfo

Source

pub fn set_index_format_method_info() -> &'static MethodInfo

Source

pub fn get_total_index_count_method_info() -> &'static MethodInfo

Source

pub fn set_index_buffer_params_method_info() -> &'static MethodInfo

Source

pub fn internal_set_index_buffer_data_method_info() -> &'static MethodInfo

Source

pub fn internal_set_index_buffer_data_from_array_method_info() -> &'static MethodInfo

Source

pub fn set_vertex_buffer_params_from_ptr_method_info() -> &'static MethodInfo

Source

pub fn set_vertex_buffer_params_from_array_method_info() -> &'static MethodInfo

Source

pub fn internal_set_vertex_buffer_data_method_info() -> &'static MethodInfo

Source

pub fn internal_set_vertex_buffer_data_from_array_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attributes_alloc_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attributes_array_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attributes_list_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attribute_count_impl_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attribute_method_info() -> &'static MethodInfo

Source

pub fn get_index_start_impl_method_info() -> &'static MethodInfo

Source

pub fn get_index_count_impl_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_count_impl_method_info() -> &'static MethodInfo

Source

pub fn get_base_vertex_impl_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_impl_method_info() -> &'static MethodInfo

Source

pub fn get_indices_impl_method_info() -> &'static MethodInfo

Source

pub fn set_indices_impl_method_info() -> &'static MethodInfo

Source

pub fn set_indices_native_array_impl_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_non_alloc_impl_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_non_alloc_impl16_method_info() -> &'static MethodInfo

Source

pub fn get_indices_non_alloc_impl_method_info() -> &'static MethodInfo

Source

pub fn get_indices_non_alloc_impl16_method_info() -> &'static MethodInfo

Source

pub fn print_error_cant_access_channel_method_info() -> &'static MethodInfo

Source

pub fn has_vertex_attribute_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attribute_dimension_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attribute_format_method_info() -> &'static MethodInfo

Source

pub fn set_array_for_channel_impl_method_info() -> &'static MethodInfo

Source

pub fn set_native_array_for_channel_impl_method_info() -> &'static MethodInfo

Source

pub fn get_alloc_array_from_channel_impl_method_info() -> &'static MethodInfo

Source

pub fn get_array_from_channel_impl_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_buffer_count_method_info() -> &'static MethodInfo

Source

pub fn get_native_vertex_buffer_ptr_method_info() -> &'static MethodInfo

Source

pub fn get_native_index_buffer_ptr_method_info() -> &'static MethodInfo

Source

pub fn get_blend_shape_count_method_info() -> &'static MethodInfo

Source

pub fn clear_blend_shapes_method_info() -> &'static MethodInfo

Source

pub fn get_blend_shape_name_method_info() -> &'static MethodInfo

Source

pub fn get_blend_shape_index_method_info() -> &'static MethodInfo

Source

pub fn get_blend_shape_frame_count_method_info() -> &'static MethodInfo

Source

pub fn get_blend_shape_frame_weight_method_info() -> &'static MethodInfo

Source

pub fn get_blend_shape_frame_vertices_method_info() -> &'static MethodInfo

Source

pub fn add_blend_shape_frame_method_info() -> &'static MethodInfo

Source

pub fn has_bone_weights_method_info() -> &'static MethodInfo

Source

pub fn get_bone_weights_impl_method_info() -> &'static MethodInfo

Source

pub fn set_bone_weights_impl_method_info() -> &'static MethodInfo

Source

pub fn internal_set_bone_weights_method_info() -> &'static MethodInfo

Source

pub fn get_all_bone_weights_array_size_method_info() -> &'static MethodInfo

Source

pub fn get_all_bone_weights_array_method_info() -> &'static MethodInfo

Source

pub fn get_bones_per_vertex_array_method_info() -> &'static MethodInfo

Source

pub fn get_bindpose_count_method_info() -> &'static MethodInfo

Source

pub fn get_bindposes_method_info() -> &'static MethodInfo

Source

pub fn set_bindposes_method_info() -> &'static MethodInfo

Source

pub fn get_bone_weights_non_alloc_impl_method_info() -> &'static MethodInfo

Source

pub fn get_bindposes_non_alloc_impl_method_info() -> &'static MethodInfo

Source

pub fn get_is_readable_method_info() -> &'static MethodInfo

Source

pub fn get_can_access_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_count_method_info() -> &'static MethodInfo

Source

pub fn get_sub_mesh_count_method_info() -> &'static MethodInfo

Source

pub fn set_sub_mesh_count_method_info() -> &'static MethodInfo

Source

pub fn set_sub_mesh_method_info() -> &'static MethodInfo

Source

pub fn get_sub_mesh_method_info() -> &'static MethodInfo

Source

pub fn set_all_sub_meshes_at_once_from_array_method_info() -> &'static MethodInfo

Source

pub fn set_all_sub_meshes_at_once_from_native_array_method_info() -> &'static MethodInfo

Source

pub fn get_bounds_method_info() -> &'static MethodInfo

Source

pub fn set_bounds_method_info() -> &'static MethodInfo

Source

pub fn clear_impl_method_info() -> &'static MethodInfo

Source

pub fn recalculate_bounds_impl_method_info() -> &'static MethodInfo

Source

pub fn recalculate_normals_impl_method_info() -> &'static MethodInfo

Source

pub fn recalculate_tangents_impl_method_info() -> &'static MethodInfo

Source

pub fn mark_dynamic_impl_method_info() -> &'static MethodInfo

Source

pub fn mark_modified_method_info() -> &'static MethodInfo

Source

pub fn upload_mesh_data_impl_method_info() -> &'static MethodInfo

Source

pub fn get_topology_impl_method_info() -> &'static MethodInfo

Source

pub fn recalculate_uv_distribution_metric_impl_method_info() -> &'static MethodInfo

Source

pub fn recalculate_uv_distribution_metrics_impl_method_info() -> &'static MethodInfo

Source

pub fn get_uv_distribution_metric_method_info() -> &'static MethodInfo

Source

pub fn combine_meshes_impl_method_info() -> &'static MethodInfo

Source

pub fn optimize_impl_method_info() -> &'static MethodInfo

Source

pub fn optimize_index_buffers_impl_method_info() -> &'static MethodInfo

Source

pub fn optimize_reorder_vertex_buffer_impl_method_info() -> &'static MethodInfo

Source

pub fn get_uv_channel_method_info() -> &'static MethodInfo

Source

pub fn default_dimension_for_channel_method_info() -> &'static MethodInfo

Source

pub fn set_sized_array_for_channel_method_info() -> &'static MethodInfo

Source

pub fn set_sized_native_array_for_channel_method_info() -> &'static MethodInfo

Source

pub fn get_vertices_method_info() -> &'static MethodInfo

Source

pub fn set_vertices_method_info() -> &'static MethodInfo

Source

pub fn get_normals_method_info() -> &'static MethodInfo

Source

pub fn set_normals_method_info() -> &'static MethodInfo

Source

pub fn get_tangents_method_info() -> &'static MethodInfo

Source

pub fn set_tangents_method_info() -> &'static MethodInfo

Source

pub fn get_uv_method_info() -> &'static MethodInfo

Source

pub fn set_uv_method_info() -> &'static MethodInfo

Source

pub fn get_uv2_method_info() -> &'static MethodInfo

Source

pub fn set_uv2_method_info() -> &'static MethodInfo

Source

pub fn get_uv3_method_info() -> &'static MethodInfo

Source

pub fn set_uv3_method_info() -> &'static MethodInfo

Source

pub fn get_uv4_method_info() -> &'static MethodInfo

Source

pub fn set_uv4_method_info() -> &'static MethodInfo

Source

pub fn get_uv5_method_info() -> &'static MethodInfo

Source

pub fn set_uv5_method_info() -> &'static MethodInfo

Source

pub fn get_uv6_method_info() -> &'static MethodInfo

Source

pub fn set_uv6_method_info() -> &'static MethodInfo

Source

pub fn get_uv7_method_info() -> &'static MethodInfo

Source

pub fn set_uv7_method_info() -> &'static MethodInfo

Source

pub fn get_uv8_method_info() -> &'static MethodInfo

Source

pub fn set_uv8_method_info() -> &'static MethodInfo

Source

pub fn get_colors_method_info() -> &'static MethodInfo

Source

pub fn set_colors_method_info() -> &'static MethodInfo

Source

pub fn get_colors32_method_info() -> &'static MethodInfo

Source

pub fn set_colors32_method_info() -> &'static MethodInfo

Source

pub fn get_vertices_2_method_info() -> &'static MethodInfo

Source

pub fn set_vertices_2_method_info() -> &'static MethodInfo

Source

pub fn set_vertices_3_method_info() -> &'static MethodInfo

Source

pub fn set_vertices_4_method_info() -> &'static MethodInfo

Source

pub fn set_vertices_5_method_info() -> &'static MethodInfo

Source

pub fn set_vertices_6_method_info() -> &'static MethodInfo

Source

pub fn get_normals_2_method_info() -> &'static MethodInfo

Source

pub fn set_normals_2_method_info() -> &'static MethodInfo

Source

pub fn set_normals_3_method_info() -> &'static MethodInfo

Source

pub fn set_normals_4_method_info() -> &'static MethodInfo

Source

pub fn set_normals_5_method_info() -> &'static MethodInfo

Source

pub fn set_normals_6_method_info() -> &'static MethodInfo

Source

pub fn get_tangents_2_method_info() -> &'static MethodInfo

Source

pub fn set_tangents_2_method_info() -> &'static MethodInfo

Source

pub fn set_tangents_3_method_info() -> &'static MethodInfo

Source

pub fn set_tangents_4_method_info() -> &'static MethodInfo

Source

pub fn set_tangents_5_method_info() -> &'static MethodInfo

Source

pub fn set_tangents_6_method_info() -> &'static MethodInfo

Source

pub fn get_colors_2_method_info() -> &'static MethodInfo

Source

pub fn set_colors_2_method_info() -> &'static MethodInfo

Source

pub fn set_colors_3_method_info() -> &'static MethodInfo

Source

pub fn set_colors_4_method_info() -> &'static MethodInfo

Source

pub fn set_colors_5_method_info() -> &'static MethodInfo

Source

pub fn set_colors_6_method_info() -> &'static MethodInfo

Source

pub fn get_colors_3_method_info() -> &'static MethodInfo

Source

pub fn set_colors_7_method_info() -> &'static MethodInfo

Source

pub fn set_colors_8_method_info() -> &'static MethodInfo

Source

pub fn set_colors_9_method_info() -> &'static MethodInfo

Source

pub fn set_colors_10_method_info() -> &'static MethodInfo

Source

pub fn set_colors_11_method_info() -> &'static MethodInfo

Source

pub fn set_colors_12_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_2_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_3_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_4_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_5_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_6_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_7_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_8_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_9_method_info() -> &'static MethodInfo

Source

pub fn set_uvs_impl_2_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_10_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_11_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_12_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_13_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_14_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_15_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_16_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_17_method_info() -> &'static MethodInfo

Source

pub fn set_u_vs_18_method_info() -> &'static MethodInfo

Source

pub fn get_u_vs_method_info() -> &'static MethodInfo

Source

pub fn get_u_vs_2_method_info() -> &'static MethodInfo

Source

pub fn get_u_vs_3_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attribute_count_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attributes_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attributes_2_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attributes_3_method_info() -> &'static MethodInfo

Source

pub fn set_vertex_buffer_params_method_info() -> &'static MethodInfo

Source

pub fn acquire_read_only_mesh_data_method_info() -> &'static MethodInfo

Source

pub fn acquire_read_only_mesh_data_2_method_info() -> &'static MethodInfo

Source

pub fn acquire_read_only_mesh_data_3_method_info() -> &'static MethodInfo

Source

pub fn allocate_writable_mesh_data_method_info() -> &'static MethodInfo

Source

pub fn apply_and_dispose_writable_mesh_data_method_info() -> &'static MethodInfo

Source

pub fn apply_and_dispose_writable_mesh_data_2_method_info() -> &'static MethodInfo

Source

pub fn apply_and_dispose_writable_mesh_data_3_method_info() -> &'static MethodInfo

Source

pub fn print_error_cant_access_indices_method_info() -> &'static MethodInfo

Source

pub fn check_can_access_submesh_method_info() -> &'static MethodInfo

Source

pub fn check_can_access_submesh_triangles_method_info() -> &'static MethodInfo

Source

pub fn check_can_access_submesh_indices_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_2_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_3_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_4_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_5_method_info() -> &'static MethodInfo

Source

pub fn get_triangles_6_method_info() -> &'static MethodInfo

Source

pub fn get_indices_method_info() -> &'static MethodInfo

Source

pub fn get_indices_2_method_info() -> &'static MethodInfo

Source

pub fn get_indices_3_method_info() -> &'static MethodInfo

Source

pub fn get_indices_4_method_info() -> &'static MethodInfo

Source

pub fn get_indices_5_method_info() -> &'static MethodInfo

Source

pub fn get_index_start_method_info() -> &'static MethodInfo

Source

pub fn get_index_count_method_info() -> &'static MethodInfo

Source

pub fn get_base_vertex_method_info() -> &'static MethodInfo

Source

pub fn check_indices_array_range_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_impl_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_2_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_3_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_4_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_5_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_6_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_7_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_8_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_9_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_10_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_11_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_12_method_info() -> &'static MethodInfo

Source

pub fn set_triangles_13_method_info() -> &'static MethodInfo

Source

pub fn set_indices_method_info() -> &'static MethodInfo

Source

pub fn set_indices_2_method_info() -> &'static MethodInfo

Source

pub fn set_indices_3_method_info() -> &'static MethodInfo

Source

pub fn set_indices_4_method_info() -> &'static MethodInfo

Source

pub fn set_indices_5_method_info() -> &'static MethodInfo

Source

pub fn set_indices_6_method_info() -> &'static MethodInfo

Source

pub fn set_indices_7_method_info() -> &'static MethodInfo

Source

pub fn set_indices_8_method_info() -> &'static MethodInfo

Source

pub fn set_indices_9_method_info() -> &'static MethodInfo

Source

pub fn set_indices_10_method_info() -> &'static MethodInfo

Source

pub fn set_sub_meshes_method_info() -> &'static MethodInfo

Source

pub fn set_sub_meshes_2_method_info() -> &'static MethodInfo

Source

pub fn set_sub_meshes_3_method_info() -> &'static MethodInfo

Source

pub fn set_sub_meshes_4_method_info() -> &'static MethodInfo

Source

pub fn get_bindposes_2_method_info() -> &'static MethodInfo

Source

pub fn get_bone_weights_method_info() -> &'static MethodInfo

Source

pub fn get_bone_weights_2_method_info() -> &'static MethodInfo

Source

pub fn set_bone_weights_method_info() -> &'static MethodInfo

Source

pub fn clear_method_info() -> &'static MethodInfo

Source

pub fn clear_2_method_info() -> &'static MethodInfo

Source

pub fn recalculate_bounds_method_info() -> &'static MethodInfo

Source

pub fn recalculate_normals_method_info() -> &'static MethodInfo

Source

pub fn recalculate_tangents_method_info() -> &'static MethodInfo

Source

pub fn recalculate_bounds_2_method_info() -> &'static MethodInfo

Source

pub fn recalculate_normals_2_method_info() -> &'static MethodInfo

Source

pub fn recalculate_tangents_2_method_info() -> &'static MethodInfo

Source

pub fn recalculate_uv_distribution_metric_method_info() -> &'static MethodInfo

Source

pub fn recalculate_uv_distribution_metrics_method_info() -> &'static MethodInfo

Source

pub fn mark_dynamic_method_info() -> &'static MethodInfo

Source

pub fn upload_mesh_data_method_info() -> &'static MethodInfo

Source

pub fn optimize_method_info() -> &'static MethodInfo

Source

pub fn optimize_index_buffers_method_info() -> &'static MethodInfo

Source

pub fn optimize_reorder_vertex_buffer_method_info() -> &'static MethodInfo

Source

pub fn get_topology_method_info() -> &'static MethodInfo

Source

pub fn combine_meshes_method_info() -> &'static MethodInfo

Source

pub fn combine_meshes_2_method_info() -> &'static MethodInfo

Source

pub fn combine_meshes_3_method_info() -> &'static MethodInfo

Source

pub fn combine_meshes_4_method_info() -> &'static MethodInfo

Source

pub fn get_vertex_attribute_injected_method_info() -> &'static MethodInfo

Source

pub fn set_sub_mesh_injected_method_info() -> &'static MethodInfo

Source

pub fn get_sub_mesh_injected_method_info() -> &'static MethodInfo

Source

pub fn get_bounds_injected_method_info() -> &'static MethodInfo

Source

pub fn set_bounds_injected_method_info() -> &'static MethodInfo

Source§

impl Mesh

Source

pub fn new() -> Self

.ctor() — no args

Trait Implementations§

Source§

impl ClassIdentity for Mesh

Source§

const NAMESPACE: &'static str = "UnityEngine"

Source§

const NAME: &'static str = "Mesh"

Source§

fn class() -> Class

Source§

impl Clone for Mesh

Source§

fn clone(&self) -> Mesh

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl FromIlInstance for Mesh

Source§

fn from_il_instance(instance: IlInstance) -> Self

§

fn instantiate() -> Option<Self>

§

fn instantiate_with_class(class: Class) -> Option<Self>

Caller swears class is a subtype of Self or layout compatible
Source§

impl IObject_2 for Mesh

Source§

impl IlType for Mesh

Source§

fn il_type() -> &'static Il2CppType

Source§

impl Copy for Mesh

Source§

impl IMesh for Mesh

Source§

impl IObject for Mesh

Auto Trait Implementations§

§

impl Freeze for Mesh

§

impl RefUnwindSafe for Mesh

§

impl !Send for Mesh

§

impl !Sync for Mesh

§

impl Unpin for Mesh

§

impl UnwindSafe for Mesh

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Cast for T
where T: SystemObject,

§

fn get_class(self) -> Class

§

fn is_null(self) -> bool

§

fn rebind_class(self, new_class: Class)

§

fn override_class(self) -> Class

§

fn is_instance_of<T>(self) -> bool
where T: ClassIdentity,

§

fn is_direct_subclass_of<T>(self) -> bool
where T: ClassIdentity,

§

fn try_cast<T>(self) -> Option<T>

§

unsafe fn cast<T>(self) -> T

Safety Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> DefaultInjectedMembers for T

§

fn __injected_fields() -> Vec<InjectedFieldDescriptor>

§

fn __injected_methods() -> Vec<InjectedMethodDescriptor>

§

fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>

§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T0, __U> IArrayBuilder_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, capacity: i32)
where Self: Sized,

Source§

fn get_capacity(self) -> i32
where Self: Sized,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_item(self, index: i32) -> T0
where Self: Sized,

Source§

fn add(self, item: T0)
where Self: Sized,

Source§

fn to_array(self) -> Array<T0>
where Self: Sized,

Source§

fn unchecked_add(self, item: T0)
where Self: Sized,

Source§

fn ensure_capacity(self, minimum: i32)
where Self: Sized,

Source§

impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_location_name(self) -> Il2CppString
where Self: Sized,

Source§

fn set_location_name(self, value: Il2CppString)
where Self: Sized,

Source§

fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle

Source§

fn ctor(self, op: AsyncOperationBase_1<T0>)
where Self: Sized,

Source§

fn get_download_status(self) -> DownloadStatus
where Self: Sized,

Source§

fn internal_get_download_status( self, visited: HashSet_1<Object>, ) -> DownloadStatus
where Self: Sized,

Source§

fn ctor_2(self, op: IAsyncOperation)
where Self: Sized,

Source§

fn ctor_3(self, op: IAsyncOperation, version: i32)
where Self: Sized,

Source§

fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)
where Self: Sized,

Source§

fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)
where Self: Sized,

Source§

fn acquire(self) -> AsyncOperationHandle_1<T0>
where Self: Sized,

Source§

fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)
where Self: Sized,

Source§

fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)
where Self: Sized,

Source§

fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn get_debug_name(self) -> Il2CppString
where Self: Sized,

Source§

fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn equals(self, other: AsyncOperationHandle_1<T0>) -> bool
where Self: Sized,

Source§

fn get_hash_code(self) -> i32
where Self: Sized,

Source§

fn wait_for_completion(self) -> T0
where Self: Sized,

Source§

fn get_internal_op(self) -> AsyncOperationBase_1<T0>
where Self: Sized,

Source§

fn get_is_done(self) -> bool
where Self: Sized,

Source§

fn is_valid(self) -> bool
where Self: Sized,

Source§

fn get_percent_complete(self) -> f32
where Self: Sized,

Source§

fn get_reference_count(self) -> i32
where Self: Sized,

Source§

fn release(self)
where Self: Sized,

Source§

fn get_result(self) -> T0
where Self: Sized,

Source§

fn get_status(self) -> AsyncOperationStatus
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_move_next(self) -> bool
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get(self) -> (T0, T0)
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> KeyValuePair_2<T0, T1>
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntry
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_key(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_value(self) -> Object
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T1
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IExposedReference_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn resolve(self, resolver: IExposedPropertyTable) -> T0
where Self: Sized,

Source§

impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, set: HashSet_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U

Source§

fn ctor(self, key: T0, value: T1)
where Self: Sized,

Source§

fn get_key(self) -> T0
where Self: Sized,

Source§

fn get_value(self) -> T1
where Self: Sized,

Source§

fn to_string(self) -> Il2CppString
where Self: Sized,

Source§

impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, initialize: bool)
where Self: Sized,

Source§

fn ctor_2(self, max_capacity: i32)
where Self: Sized,

Source§

fn add_range(self, items: IEnumerable_1<T0>)
where Self: Sized,

Source§

fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)
where Self: Sized,

Source§

fn get_buffer(self, index: i32) -> Array<T0>
where Self: Sized,

Source§

fn to_array(self) -> Array<T0>
where Self: Sized,

Source§

fn try_move(self) -> (bool, Array<T0>)
where Self: Sized,

Source§

fn allocate_buffer(self)
where Self: Sized,

Source§

impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, list: LinkedList_1<T0>)
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn system_runtime_serialization_i_deserialization_callback_on_deserialization( self, sender: Object, )
where Self: Sized,

Source§

impl<T0, __U> IListBuffer_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_capacity(self) -> i32
where Self: Sized,

Source§

fn get_item(self) -> (*mut T0, i32)
where Self: Sized,

Source§

fn get_unchecked(self) -> (*mut T0, i32)
where Self: Sized,

Source§

fn try_add(self) -> (bool, T0)
where Self: Sized,

Source§

fn try_copy_to(self, other: ListBuffer_1<T0>) -> bool
where Self: Sized,

Source§

impl<T0, __U> IList_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, list: List_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn move_next_rare(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<__T> IMeshMethods for __T
where __T: IMesh,

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
Source§

impl<__T> IObjectMethods for __T
where __T: IObject,

Source§

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload
Source§

fn ctor(self)

.ctor() overload
Source§

fn finalize(self)

Finalize() overload
Source§

fn get_hash_code(self) -> i32

GetHashCode() overload
Source§

fn get_type(self) -> SystemType

GetType() overload
Source§

fn memberwise_clone(self) -> Object

MemberwiseClone() overload
Source§

fn to_string(self) -> Il2CppString

ToString() overload
Source§

fn field_getter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, ) -> IlInstance

FieldGetter(::unity::Il2CppString, ::unity::Il2CppString, *mut::unity::IlInstance) overload
Source§

fn field_setter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, val: impl Into<Object>, )

FieldSetter(::unity::Il2CppString, ::unity::Il2CppString, crate::system::object::Object) overload
Source§

impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, value: T0, pool: ObjectPool_1_2<T0>)
where Self: Sized,

Source§

fn system_i_disposable_dispose(self)
where Self: Sized,

Source§

impl<__T> IObject_2Methods for __T
where __T: IObject_2,

Source§

fn get_instance_id(self) -> i32

GetInstanceID() overload
Source§

fn get_hash_code(self) -> i32

GetHashCode() overload
Source§

fn equals(self, other: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload
Source§

fn ensure_running_on_main_thread(self)

EnsureRunningOnMainThread() overload
Source§

fn get_cached_ptr(self) -> IntPtr

GetCachedPtr() overload
Source§

fn get_name(self) -> Il2CppString

get_name() overload
Source§

fn set_name(self, value: impl Into<Il2CppString>)

set_name(::unity::Il2CppString) overload
Source§

fn get_hide_flags(self) -> HideFlags

get_hideFlags() overload
Source§

fn set_hide_flags(self, value: impl Into<HideFlags>)

set_hideFlags(crate::unity_engine::hideflags::HideFlags) overload
Source§

fn to_string(self) -> Il2CppString

ToString() overload
Source§

fn ctor(self)

.ctor() overload
Source§

impl<T0, __U> IQueue_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, q: Queue_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn throw_enumeration_not_started_or_ended(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IScriptPlayable_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_null() -> ScriptPlayable_1<T0>

Source§

fn create(graph: PlayableGraph, input_count: i32) -> ScriptPlayable_1<T0>

Source§

fn create_2( graph: PlayableGraph, template: T0, input_count: i32, ) -> ScriptPlayable_1<T0>

Source§

fn create_handle( graph: PlayableGraph, template: T0, input_count: i32, ) -> PlayableHandle

Source§

fn create_script_instance() -> Object

Source§

fn clone_script_instance(source: IPlayableBehaviour_Interface) -> Object

Source§

fn clone_script_instance_from_engine_object(source: Object_2) -> Object

Source§

fn ctor(self, handle: PlayableHandle)
where Self: Sized,

Source§

fn get_handle(self) -> PlayableHandle
where Self: Sized,

Source§

fn get_behaviour(self) -> T0
where Self: Sized,

Source§

fn op_implicit(playable: ScriptPlayable_1<T0>) -> Playable

Source§

fn op_explicit(playable: Playable) -> ScriptPlayable_1<T0>

Source§

fn equals(self, other: ScriptPlayable_1<T0>) -> bool
where Self: Sized,

Source§

fn cctor()

Source§

impl<T0, T1, __U> ISortedDictionary_2_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor( self, dictionary: SortedDictionary_2<T0, T1>, get_enumerator_ret_type: i32, )
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn get_current(self) -> KeyValuePair_2<T0, T1>
where Self: Sized,

Source§

fn get_not_started_or_ended(self) -> bool
where Self: Sized,

Source§

fn reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_key(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_value(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntry
where Self: Sized,

Source§

impl<T0, T1, __U> ISortedDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, T1, __U> ISortedDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T1
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ISortedSet_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, set: SortedSet_1<T0>)
where Self: Sized,

Source§

fn ctor_2(self, set: SortedSet_1<T0>, reverse: bool)
where Self: Sized,

Source§

fn system_runtime_serialization_i_deserialization_callback_on_deserialization( self, sender: Object, )
where Self: Sized,

Source§

fn initialize(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn get_not_started_or_ended(self) -> bool
where Self: Sized,

Source§

fn reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn cctor()

Source§

impl<T0, __U> IStack_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, stack: Stack_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn throw_enumeration_not_started_or_ended(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ITMP_TextProcessingStack_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, stack: Array<T0>)
where Self: Sized,

Source§

fn ctor_2(self, capacity: i32)
where Self: Sized,

Source§

fn ctor_3(self, capacity: i32, rollover_size: i32)
where Self: Sized,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn get_rollover_size(self) -> i32
where Self: Sized,

Source§

fn set_rollover_size(self, value: i32)
where Self: Sized,

Source§

fn set_default(stack: Array<TMP_TextProcessingStack_1<T0>>, item: T0)

Source§

fn clear(self)
where Self: Sized,

Source§

fn set_default_2(self, item: T0)
where Self: Sized,

Source§

fn add(self, item: T0)
where Self: Sized,

Source§

fn remove(self) -> T0
where Self: Sized,

Source§

fn push(self, item: T0)
where Self: Sized,

Source§

fn pop(self) -> T0
where Self: Sized,

Source§

fn peek(self) -> T0
where Self: Sized,

Source§

fn current_item(self) -> T0
where Self: Sized,

Source§

fn previous_item(self) -> T0
where Self: Sized,

§

impl<T> IlNull for T
where T: FromIlInstance,

§

fn null() -> Self

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> SystemObject for T
where T: Copy + Into<IlInstance>,

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.