Enum blender_armature::JointIndicesRef[][src]

pub enum JointIndicesRef<'a> {
    All,
    Some(&'a [u8]),
}

The joints to sample.

To only animate, say, the lower body, you’d pass in only the joint indices for the lower body. You’ll typically get this vector via: blender_armature.bone_groups.get('lower_body').unwrap() assuming that you’ve created a lower_body bone group in Blender.

Variants

All

Encodes that all of an armature’s joints you be used

Some(&'a [u8])

Use some subset of the armature’s joints.

Useful for only animating a part of an armature, such as playing a walk animation on the lower body while the upper body is playing an attack animation.

Trait Implementations

impl<'a> Clone for JointIndicesRef<'a>[src]

impl<'a> Copy for JointIndicesRef<'a>[src]

impl<'a> Debug for JointIndicesRef<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for JointIndicesRef<'a>

impl<'a> Send for JointIndicesRef<'a>

impl<'a> Sync for JointIndicesRef<'a>

impl<'a> Unpin for JointIndicesRef<'a>

impl<'a> UnwindSafe for JointIndicesRef<'a>

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> 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<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>,