Struct SimRootMotionExtractor
pub struct SimRootMotionExtractor {
pub prev_translation: [f32; 3],
pub loop_end_translation: [f32; 3],
pub initialized: bool,
}Expand description
Loop-safe root motion extractor for Transform3D skeletons.
Fields§
§prev_translation: [f32; 3]§loop_end_translation: [f32; 3]§initialized: boolImplementations§
§impl SimRootMotionExtractor
impl SimRootMotionExtractor
pub fn extract_and_lock( &mut self, root_transform: &mut Transform3D, looped: bool, ) -> SimRootMotionDelta
Trait Implementations§
§impl Clone for SimRootMotionExtractor
impl Clone for SimRootMotionExtractor
§fn clone(&self) -> SimRootMotionExtractor
fn clone(&self) -> SimRootMotionExtractor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimRootMotionExtractor
§impl Debug for SimRootMotionExtractor
impl Debug for SimRootMotionExtractor
§impl Default for SimRootMotionExtractor
impl Default for SimRootMotionExtractor
§fn default() -> SimRootMotionExtractor
fn default() -> SimRootMotionExtractor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SimRootMotionExtractor
impl RefUnwindSafe for SimRootMotionExtractor
impl Send for SimRootMotionExtractor
impl Sync for SimRootMotionExtractor
impl Unpin for SimRootMotionExtractor
impl UnsafeUnpin for SimRootMotionExtractor
impl UnwindSafe for SimRootMotionExtractor
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