pub struct Keyframe3D { /* private fields */ }Expand description
Single timestamped 3D transform keyframe inside an AnimationClip3D.
Implementations§
Source§impl Keyframe3D
impl Keyframe3D
pub fn get_time_secs(&self) -> f32
pub fn get_mut_time_secs(&mut self) -> &mut f32
pub fn set_time_secs(&mut self, val: f32) -> &mut Self
pub fn get_transform(&self) -> Transform3D
pub fn get_mut_transform(&mut self) -> &mut Transform3D
pub fn set_transform(&mut self, val: Transform3D) -> &mut Self
Source§impl Keyframe3D
impl Keyframe3D
pub fn new(time_secs: f32, transform: Transform3D) -> Self
Trait Implementations§
Source§impl Clone for Keyframe3D
impl Clone for Keyframe3D
impl Copy for Keyframe3D
Source§impl Debug for Keyframe3D
impl Debug for Keyframe3D
Source§impl PartialEq for Keyframe3D
impl PartialEq for Keyframe3D
impl StructuralPartialEq for Keyframe3D
Auto Trait Implementations§
impl Forget for Keyframe3D
impl Freeze for Keyframe3D
impl Move for Keyframe3D
impl RefUnwindSafe for Keyframe3D
impl Send for Keyframe3D
impl Sync for Keyframe3D
impl Unpin for Keyframe3D
impl UnsafeUnpin for Keyframe3D
impl UnwindSafe for Keyframe3D
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