pub enum NlaRepeatMode {
Loop,
Clamp,
PingPong,
}Expand description
Playback wrap policy controlling how NlaLayer3D handles timestamps past clip duration.
Variants§
Loop
Seamlessly wraps playback time modulo clip duration.
Clamp
Clamps playback time to [0.0, duration_secs].
PingPong
Oscillates forward and backward across [0.0, duration_secs].
Trait Implementations§
Source§impl Clone for NlaRepeatMode
impl Clone for NlaRepeatMode
impl Copy for NlaRepeatMode
Source§impl Debug for NlaRepeatMode
impl Debug for NlaRepeatMode
Source§impl Default for NlaRepeatMode
impl Default for NlaRepeatMode
impl Eq for NlaRepeatMode
Source§impl Hash for NlaRepeatMode
impl Hash for NlaRepeatMode
Source§impl PartialEq for NlaRepeatMode
impl PartialEq for NlaRepeatMode
impl StructuralPartialEq for NlaRepeatMode
Auto Trait Implementations§
impl Forget for NlaRepeatMode
impl Freeze for NlaRepeatMode
impl Move for NlaRepeatMode
impl RefUnwindSafe for NlaRepeatMode
impl Send for NlaRepeatMode
impl Sync for NlaRepeatMode
impl Unpin for NlaRepeatMode
impl UnsafeUnpin for NlaRepeatMode
impl UnwindSafe for NlaRepeatMode
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