#[repr(C)]pub struct BoneWeight {
pub m_weight0: f32,
pub m_weight1: f32,
pub m_weight2: f32,
pub m_weight3: f32,
pub m_bone_index0: i32,
pub m_bone_index1: i32,
pub m_bone_index2: i32,
pub m_bone_index3: i32,
}Expand description
Fields§
§m_weight0: f32§m_weight1: f32§m_weight2: f32§m_weight3: f32§m_bone_index0: i32§m_bone_index1: i32§m_bone_index2: i32§m_bone_index3: i32Implementations§
Source§impl BoneWeight
impl BoneWeight
Sourcepub fn get_weight0(&mut self) -> f32
pub fn get_weight0(&mut self) -> f32
get_weight0() overload
Sourcepub fn get_weight1(&mut self) -> f32
pub fn get_weight1(&mut self) -> f32
get_weight1() overload
Sourcepub fn get_weight2(&mut self) -> f32
pub fn get_weight2(&mut self) -> f32
get_weight2() overload
Sourcepub fn get_weight3(&mut self) -> f32
pub fn get_weight3(&mut self) -> f32
get_weight3() overload
Sourcepub fn get_bone_index0(&mut self) -> i32
pub fn get_bone_index0(&mut self) -> i32
get_boneIndex0() overload
Sourcepub fn get_bone_index1(&mut self) -> i32
pub fn get_bone_index1(&mut self) -> i32
get_boneIndex1() overload
Sourcepub fn get_bone_index2(&mut self) -> i32
pub fn get_bone_index2(&mut self) -> i32
get_boneIndex2() overload
Sourcepub fn get_bone_index3(&mut self) -> i32
pub fn get_bone_index3(&mut self) -> i32
get_boneIndex3() overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn equals(&mut self, other: impl Into<Object>) -> bool
pub fn equals(&mut self, other: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<BoneWeight>) -> bool
pub fn equals_2(&mut self, other: impl Into<BoneWeight>) -> bool
Equals(crate::unity_engine::boneweight::BoneWeight) overload
Source§impl BoneWeight
impl BoneWeight
pub fn get_weight0_method_info() -> &'static MethodInfo
pub fn get_weight1_method_info() -> &'static MethodInfo
pub fn get_weight2_method_info() -> &'static MethodInfo
pub fn get_weight3_method_info() -> &'static MethodInfo
pub fn get_bone_index0_method_info() -> &'static MethodInfo
pub fn get_bone_index1_method_info() -> &'static MethodInfo
pub fn get_bone_index2_method_info() -> &'static MethodInfo
pub fn get_bone_index3_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for BoneWeight
impl ClassIdentity for BoneWeight
Source§impl Clone for BoneWeight
impl Clone for BoneWeight
Source§fn clone(&self) -> BoneWeight
fn clone(&self) -> BoneWeight
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoneWeight
Auto Trait Implementations§
impl Freeze for BoneWeight
impl RefUnwindSafe for BoneWeight
impl Send for BoneWeight
impl Sync for BoneWeight
impl Unpin for BoneWeight
impl UnwindSafe for BoneWeight
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)