Skip to main content

ISkinnedMeshRendererMethods

Trait ISkinnedMeshRendererMethods 

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

Source

fn get_quality(self) -> SkinQuality

get_quality() overload

Source

fn set_quality(self, value: impl Into<SkinQuality>)

set_quality(crate::unity_engine::skinquality::SkinQuality) overload

Source

fn get_update_when_offscreen(self) -> bool

get_updateWhenOffscreen() overload

Source

fn set_update_when_offscreen(self, value: impl Into<bool>)

set_updateWhenOffscreen(bool) overload

Source

fn get_force_matrix_recalculation_per_render(self) -> bool

get_forceMatrixRecalculationPerRender() overload

Source

fn set_force_matrix_recalculation_per_render(self, value: impl Into<bool>)

set_forceMatrixRecalculationPerRender(bool) overload

Source

fn get_root_bone(self) -> Transform

get_rootBone() overload

Source

fn set_root_bone(self, value: impl Into<Transform>)

set_rootBone(crate::unity_engine::transform::Transform) overload

Source

fn get_bones(self) -> Array<Transform>

get_bones() overload

Source

fn set_bones(self, value: impl Into<Array<Transform>>)

set_bones(::unity::Array<crate::unity_engine::transform::Transform>) overload

Source

fn get_shared_mesh(self) -> Mesh

get_sharedMesh() overload

Source

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

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

Source

fn get_skinned_motion_vectors(self) -> bool

get_skinnedMotionVectors() overload

Source

fn set_skinned_motion_vectors(self, value: impl Into<bool>)

set_skinnedMotionVectors(bool) overload

Source

fn get_blend_shape_weight(self, index: impl Into<i32>) -> f32

GetBlendShapeWeight(i32) overload

Source

fn set_blend_shape_weight(self, index: impl Into<i32>, value: impl Into<f32>)

SetBlendShapeWeight(i32, f32) overload

Source

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

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

Source

fn bake_mesh_2(self, mesh: impl Into<Mesh>, use_scale: impl Into<bool>)

BakeMesh(crate::unity_engine::mesh::Mesh, bool) overload

Source

fn get_local_aabb(self) -> Bounds

GetLocalAABB() overload

Source

fn set_local_aabb(self, b: impl Into<Bounds>)

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

Source

fn get_local_bounds(self) -> Bounds

get_localBounds() overload

Source

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

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

Source

fn ctor(self)

.ctor() overload

Source

fn get_local_aabb_injected(self) -> Bounds

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

Source

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§

Source§

impl<__T: ISkinnedMeshRenderer> ISkinnedMeshRendererMethods for __T

Available on crate feature unity_engine-skinnedmeshrenderer only.