pub struct NodeAnimation { /* private fields */ }
Expand description
Animation data for a single node
Implementations§
Source§impl NodeAnimation
impl NodeAnimation
Sourcepub fn as_raw(&self) -> *const aiNodeAnim
pub fn as_raw(&self) -> *const aiNodeAnim
Get the raw channel pointer
Sourcepub fn num_position_keys(&self) -> usize
pub fn num_position_keys(&self) -> usize
Get the number of position keyframes
Sourcepub fn position_keys(&self) -> Vec<VectorKey>
pub fn position_keys(&self) -> Vec<VectorKey>
Get the position keyframes
Sourcepub fn num_rotation_keys(&self) -> usize
pub fn num_rotation_keys(&self) -> usize
Get the number of rotation keyframes
Sourcepub fn rotation_keys(&self) -> Vec<QuaternionKey>
pub fn rotation_keys(&self) -> Vec<QuaternionKey>
Get the rotation keyframes
Sourcepub fn num_scaling_keys(&self) -> usize
pub fn num_scaling_keys(&self) -> usize
Get the number of scaling keyframes
Sourcepub fn scaling_keys(&self) -> Vec<VectorKey>
pub fn scaling_keys(&self) -> Vec<VectorKey>
Get the scaling keyframes
Sourcepub fn pre_state(&self) -> AnimBehaviour
pub fn pre_state(&self) -> AnimBehaviour
Behaviour before the first key
Sourcepub fn post_state(&self) -> AnimBehaviour
pub fn post_state(&self) -> AnimBehaviour
Behaviour after the last key
Trait Implementations§
impl Send for NodeAnimation
impl Sync for NodeAnimation
Auto Trait Implementations§
impl Freeze for NodeAnimation
impl RefUnwindSafe for NodeAnimation
impl Unpin for NodeAnimation
impl UnwindSafe for NodeAnimation
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