Struct blender_armature::Action [−][src]
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][+]
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<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>,