Struct blender_armature::Action[][src]

pub struct Action { /* fields omitted */ }

A set of keyframes along with metadata such as pose markers.

Implementations

impl Action[src]

pub fn new() -> Self[src]

pub fn bone_keyframes(&self) -> &BoneKeyframes[src]

The world space transform keyframes for each bone

pub fn insert_bone_keyframe(&mut self, bone_idx: u8, keyframe: BoneKeyframe)[src]

Add a trnasformation keyframe for a bone.

pub fn pose_markers(&self) -> &HashMap<u16, String>[src]

Labeled frame times for the action.

For example, frame 9 might be marked as the “Contact Point”.

pub fn pose_markers_mut(&mut self) -> &mut HashMap<u16, String>[src]

See [Action.method#pose_markers]

pub fn smallest_frame(&self) -> u16[src]

The smallest frame

pub fn largest_frame(&self) -> u16[src]

The largest frame

pub fn frame_duration(&self) -> u16[src]

Last frame - first frame

Trait Implementations

impl Clone for Action[src]

impl Debug for Action[src]

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

impl PartialEq<Action> for Action[src]

impl Serialize for Action[src]

impl StructuralPartialEq for Action[src]

Auto Trait Implementations

impl RefUnwindSafe for Action

impl Send for Action

impl Sync for Action

impl Unpin for Action

impl UnwindSafe for Action

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