Struct blender_mesh::BoneInfluence [−][src]
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
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][+]
T: PartialEq<T> + Copy + Any + Debug,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[+]
SS: SubsetOf<SP>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,