#[repr(i32)]pub enum PxArticulationSensorFlag {
ForwardDynamicsForces = 1,
ConstraintSolverForces = 2,
WorldFrame = 4,
}
Expand description
Flags to configure the forces reported by articulation link sensors.
Variants§
ForwardDynamicsForces = 1
Raise to receive forces from forward dynamics.
ConstraintSolverForces = 2
Raise to receive forces from constraint solver.
WorldFrame = 4
Raise to receive forces in the world rotation frame, otherwise they will be reported in the sensor’s local frame.
Trait Implementations§
source§impl Clone for PxArticulationSensorFlag
impl Clone for PxArticulationSensorFlag
source§fn clone(&self) -> PxArticulationSensorFlag
fn clone(&self) -> PxArticulationSensorFlag
Returns a copy 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 PxArticulationSensorFlag
impl Debug for PxArticulationSensorFlag
source§impl PartialEq for PxArticulationSensorFlag
impl PartialEq for PxArticulationSensorFlag
source§fn eq(&self, other: &PxArticulationSensorFlag) -> bool
fn eq(&self, other: &PxArticulationSensorFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxArticulationSensorFlag
impl Eq for PxArticulationSensorFlag
impl StructuralEq for PxArticulationSensorFlag
impl StructuralPartialEq for PxArticulationSensorFlag
Auto Trait Implementations§
impl RefUnwindSafe for PxArticulationSensorFlag
impl Send for PxArticulationSensorFlag
impl Sync for PxArticulationSensorFlag
impl Unpin for PxArticulationSensorFlag
impl UnwindSafe for PxArticulationSensorFlag
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