pub struct AnimationTrack {
pub node_index: usize,
pub property: AnimatedProperty,
pub interpolation: Interpolation,
pub keyframes: Vec<Keyframe>,
}Expand description
An animation track targeting a specific node property.
Fields§
§node_index: usizeIndex of the target node in the scene’s node list.
property: AnimatedPropertyProperty being animated.
interpolation: InterpolationInterpolation mode.
keyframes: Vec<Keyframe>Keyframes sorted by time.
Trait Implementations§
Source§impl Clone for AnimationTrack
impl Clone for AnimationTrack
Source§fn clone(&self) -> AnimationTrack
fn clone(&self) -> AnimationTrack
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationTrack
impl Debug for AnimationTrack
Source§impl<'de> Deserialize<'de> for AnimationTrack
impl<'de> Deserialize<'de> for AnimationTrack
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnimationTrack
impl RefUnwindSafe for AnimationTrack
impl Send for AnimationTrack
impl Sync for AnimationTrack
impl Unpin for AnimationTrack
impl UnsafeUnpin for AnimationTrack
impl UnwindSafe for AnimationTrack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more