pub enum JointPoseMode {
Preserve,
Authored,
}Expand description
Select which rest fields world-space authoring captures.
See WorldJointFrame and PhysicsWorld::joint_desc_from_world.
Variants§
Preserve
Capture current relative rotation and distance/spring rest length. Fixed/hinge world pivots must coincide. Controls remain authored.
Authored
Retain explicit reference rotation and rest length. A missing reference captures current relative rotation, matching ordinary insertion defaults.
Trait Implementations§
Source§impl Clone for JointPoseMode
impl Clone for JointPoseMode
Source§fn clone(&self) -> JointPoseMode
fn clone(&self) -> JointPoseMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JointPoseMode
impl Debug for JointPoseMode
Source§impl PartialEq for JointPoseMode
impl PartialEq for JointPoseMode
impl Copy for JointPoseMode
impl Eq for JointPoseMode
impl StructuralPartialEq for JointPoseMode
Auto Trait Implementations§
impl Freeze for JointPoseMode
impl RefUnwindSafe for JointPoseMode
impl Send for JointPoseMode
impl Sync for JointPoseMode
impl Unpin for JointPoseMode
impl UnwindSafe for JointPoseMode
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