pub struct AnimationClip3D { /* private fields */ }Expand description
Reusable skeletal/transform animation clip with duration and looping control.
Implementations§
Source§impl AnimationClip3D
Clip construction and time normalization for AnimationClip3D.
impl AnimationClip3D
Clip construction and time normalization for AnimationClip3D.
Sourcepub fn with_track(self, track: JointTrack3D) -> Self
pub fn with_track(self, track: JointTrack3D) -> Self
Source§impl AnimationClip3D
impl AnimationClip3D
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn get_duration_secs(&self) -> f32
pub fn get_mut_duration_secs(&mut self) -> &mut f32
pub fn set_duration_secs(&mut self, val: f32) -> &mut Self
pub fn get_looping(&self) -> bool
pub fn get_mut_looping(&mut self) -> &mut bool
pub fn set_looping(&mut self, val: bool) -> &mut Self
pub fn get_tracks(&self) -> &Vec<JointTrack3D>
pub fn get_mut_tracks(&mut self) -> &mut Vec<JointTrack3D>
pub fn set_tracks(&mut self, val: Vec<JointTrack3D>) -> &mut Self
Trait Implementations§
Source§impl Clone for AnimationClip3D
impl Clone for AnimationClip3D
Source§impl Debug for AnimationClip3D
impl Debug for AnimationClip3D
Source§impl PartialEq for AnimationClip3D
impl PartialEq for AnimationClip3D
impl StructuralPartialEq for AnimationClip3D
Auto Trait Implementations§
impl Forget for AnimationClip3D
impl Freeze for AnimationClip3D
impl Move for AnimationClip3D
impl RefUnwindSafe for AnimationClip3D
impl Send for AnimationClip3Dwhere
RawVecInner: Send,
impl Sync for AnimationClip3Dwhere
RawVecInner: Sync,
impl Unpin for AnimationClip3D
impl UnsafeUnpin for AnimationClip3Dwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<JointTrack3D>: UnsafeUnpin,
impl UnwindSafe for AnimationClip3Dwhere
RawVecInner: UnwindSafe,
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