#[repr(C)]pub struct BoneWeight1 {
pub m_weight: f32,
pub m_bone_index: i32,
}Expand description
Fields§
§m_weight: f32§m_bone_index: i32Implementations§
Source§impl BoneWeight1
impl BoneWeight1
Sourcepub fn get_weight(&mut self) -> f32
pub fn get_weight(&mut self) -> f32
get_weight() overload
Sourcepub fn get_bone_index(&mut self) -> i32
pub fn get_bone_index(&mut self) -> i32
get_boneIndex() 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<BoneWeight1>) -> bool
pub fn equals_2(&mut self, other: impl Into<BoneWeight1>) -> bool
Equals(crate::unity_engine::boneweight1::BoneWeight1) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl BoneWeight1
impl BoneWeight1
pub fn get_weight_method_info() -> &'static MethodInfo
pub fn get_bone_index_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for BoneWeight1
impl ClassIdentity for BoneWeight1
Source§impl Clone for BoneWeight1
impl Clone for BoneWeight1
Source§fn clone(&self) -> BoneWeight1
fn clone(&self) -> BoneWeight1
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 BoneWeight1
Auto Trait Implementations§
impl Freeze for BoneWeight1
impl RefUnwindSafe for BoneWeight1
impl Send for BoneWeight1
impl Sync for BoneWeight1
impl Unpin for BoneWeight1
impl UnwindSafe for BoneWeight1
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)