pub trait ISkinnedMeshRendererMethods: ISkinnedMeshRenderer {
Show 25 methods
// Provided methods
fn get_quality(self) -> SkinQuality { ... }
fn set_quality(self, value: impl Into<SkinQuality>) { ... }
fn get_update_when_offscreen(self) -> bool { ... }
fn set_update_when_offscreen(self, value: impl Into<bool>) { ... }
fn get_force_matrix_recalculation_per_render(self) -> bool { ... }
fn set_force_matrix_recalculation_per_render(self, value: impl Into<bool>) { ... }
fn get_root_bone(self) -> Transform { ... }
fn set_root_bone(self, value: impl Into<Transform>) { ... }
fn get_bones(self) -> Array<Transform> { ... }
fn set_bones(self, value: impl Into<Array<Transform>>) { ... }
fn get_shared_mesh(self) -> Mesh { ... }
fn set_shared_mesh(self, value: impl Into<Mesh>) { ... }
fn get_skinned_motion_vectors(self) -> bool { ... }
fn set_skinned_motion_vectors(self, value: impl Into<bool>) { ... }
fn get_blend_shape_weight(self, index: impl Into<i32>) -> f32 { ... }
fn set_blend_shape_weight(
self,
index: impl Into<i32>,
value: impl Into<f32>,
) { ... }
fn bake_mesh(self, mesh: impl Into<Mesh>) { ... }
fn bake_mesh_2(self, mesh: impl Into<Mesh>, use_scale: impl Into<bool>) { ... }
fn get_local_aabb(self) -> Bounds { ... }
fn set_local_aabb(self, b: impl Into<Bounds>) { ... }
fn get_local_bounds(self) -> Bounds { ... }
fn set_local_bounds(self, value: impl Into<Bounds>) { ... }
fn ctor(self) { ... }
fn get_local_aabb_injected(self) -> Bounds { ... }
fn set_local_aabb_injected(self) -> Bounds { ... }
}Provided Methods§
Sourcefn get_quality(self) -> SkinQuality
fn get_quality(self) -> SkinQuality
get_quality() overload
Sourcefn set_quality(self, value: impl Into<SkinQuality>)
fn set_quality(self, value: impl Into<SkinQuality>)
set_quality(crate::unity_engine::skinquality::SkinQuality) overload
Sourcefn get_update_when_offscreen(self) -> bool
fn get_update_when_offscreen(self) -> bool
get_updateWhenOffscreen() overload
Sourcefn set_update_when_offscreen(self, value: impl Into<bool>)
fn set_update_when_offscreen(self, value: impl Into<bool>)
set_updateWhenOffscreen(bool) overload
Sourcefn get_force_matrix_recalculation_per_render(self) -> bool
fn get_force_matrix_recalculation_per_render(self) -> bool
get_forceMatrixRecalculationPerRender() overload
Sourcefn set_force_matrix_recalculation_per_render(self, value: impl Into<bool>)
fn set_force_matrix_recalculation_per_render(self, value: impl Into<bool>)
set_forceMatrixRecalculationPerRender(bool) overload
Sourcefn get_root_bone(self) -> Transform
fn get_root_bone(self) -> Transform
get_rootBone() overload
Sourcefn set_root_bone(self, value: impl Into<Transform>)
fn set_root_bone(self, value: impl Into<Transform>)
set_rootBone(crate::unity_engine::transform::Transform) overload
Sourcefn set_bones(self, value: impl Into<Array<Transform>>)
fn set_bones(self, value: impl Into<Array<Transform>>)
set_bones(::unity::Array<crate::unity_engine::transform::Transform>) overload
get_sharedMesh() overload
set_sharedMesh(crate::unity_engine::mesh::Mesh) overload
Sourcefn get_skinned_motion_vectors(self) -> bool
fn get_skinned_motion_vectors(self) -> bool
get_skinnedMotionVectors() overload
Sourcefn set_skinned_motion_vectors(self, value: impl Into<bool>)
fn set_skinned_motion_vectors(self, value: impl Into<bool>)
set_skinnedMotionVectors(bool) overload
Sourcefn get_blend_shape_weight(self, index: impl Into<i32>) -> f32
fn get_blend_shape_weight(self, index: impl Into<i32>) -> f32
GetBlendShapeWeight(i32) overload
Sourcefn set_blend_shape_weight(self, index: impl Into<i32>, value: impl Into<f32>)
fn set_blend_shape_weight(self, index: impl Into<i32>, value: impl Into<f32>)
SetBlendShapeWeight(i32, f32) overload
Sourcefn bake_mesh_2(self, mesh: impl Into<Mesh>, use_scale: impl Into<bool>)
fn bake_mesh_2(self, mesh: impl Into<Mesh>, use_scale: impl Into<bool>)
BakeMesh(crate::unity_engine::mesh::Mesh, bool) overload
Sourcefn get_local_aabb(self) -> Bounds
fn get_local_aabb(self) -> Bounds
GetLocalAABB() overload
Sourcefn set_local_aabb(self, b: impl Into<Bounds>)
fn set_local_aabb(self, b: impl Into<Bounds>)
SetLocalAABB(crate::unity_engine::bounds::Bounds) overload
Sourcefn get_local_bounds(self) -> Bounds
fn get_local_bounds(self) -> Bounds
get_localBounds() overload
Sourcefn set_local_bounds(self, value: impl Into<Bounds>)
fn set_local_bounds(self, value: impl Into<Bounds>)
set_localBounds(crate::unity_engine::bounds::Bounds) overload
Sourcefn get_local_aabb_injected(self) -> Bounds
fn get_local_aabb_injected(self) -> Bounds
GetLocalAABB_Injected(*mutcrate::unity_engine::bounds::Bounds) overload
Sourcefn set_local_aabb_injected(self) -> Bounds
fn set_local_aabb_injected(self) -> Bounds
SetLocalAABB_Injected(*mutcrate::unity_engine::bounds::Bounds) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ISkinnedMeshRenderer> ISkinnedMeshRendererMethods for __T
unity_engine-skinnedmeshrenderer only.