Struct blender_mesh::BoneInfluence[][src]

pub struct BoneInfluence { /* fields omitted */ }

The index of a bone that influences the vertex along with the weighting of that influence

Implementations

impl BoneInfluence[src]

pub fn bone_idx(&self) -> u8[src]

The index of this bone within the mesh’s parent armature’s bones.

pub fn weight(&self) -> f32[src]

The amount between [0.0, 1.0] that this bone should influence the Vertex

Trait Implementations

impl Clone for BoneInfluence[src]

impl Copy for BoneInfluence[src]

impl Debug for BoneInfluence[src]

impl<'de> Deserialize<'de> for BoneInfluence[src]

impl PartialEq<BoneInfluence> for BoneInfluence[src]

impl Serialize for BoneInfluence[src]

impl StructuralPartialEq for BoneInfluence[src]

Auto Trait Implementations

impl RefUnwindSafe for BoneInfluence

impl Send for BoneInfluence

impl Sync for BoneInfluence

impl Unpin for BoneInfluence

impl UnwindSafe for BoneInfluence

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,