Struct physx_sys::PxTGSSolverConstraintPrepDesc
source · #[repr(C)]pub struct PxTGSSolverConstraintPrepDesc {Show 27 fields
pub invMassScales: PxConstraintInvMassScale,
pub desc: *mut PxSolverConstraintDesc,
pub body0: *const PxTGSSolverBodyVel,
pub body1: *const PxTGSSolverBodyVel,
pub body0TxI: *const PxTGSSolverBodyTxInertia,
pub body1TxI: *const PxTGSSolverBodyTxInertia,
pub bodyData0: *const PxTGSSolverBodyData,
pub bodyData1: *const PxTGSSolverBodyData,
pub bodyFrame0: PxTransform,
pub bodyFrame1: PxTransform,
pub bodyState0: BodyState,
pub bodyState1: BodyState,
pub rows: *mut Px1DConstraint,
pub numRows: u32,
pub linBreakForce: f32,
pub angBreakForce: f32,
pub minResponseThreshold: f32,
pub writeback: *mut c_void,
pub disablePreprocessing: bool,
pub improvedSlerp: bool,
pub driveLimitsAreForces: bool,
pub extendedLimits: bool,
pub disableConstraint: bool,
pub structgen_pad0: [u8; 3],
pub body0WorldOffset: PxVec3Padded,
pub cA2w: PxVec3Padded,
pub cB2w: PxVec3Padded,
}
Fields§
§invMassScales: PxConstraintInvMassScale
§desc: *mut PxSolverConstraintDesc
§body0: *const PxTGSSolverBodyVel
§body1: *const PxTGSSolverBodyVel
§body0TxI: *const PxTGSSolverBodyTxInertia
§body1TxI: *const PxTGSSolverBodyTxInertia
§bodyData0: *const PxTGSSolverBodyData
§bodyData1: *const PxTGSSolverBodyData
§bodyFrame0: PxTransform
§bodyFrame1: PxTransform
§bodyState0: BodyState
§bodyState1: BodyState
§rows: *mut Px1DConstraint
§numRows: u32
§linBreakForce: f32
§angBreakForce: f32
§minResponseThreshold: f32
§writeback: *mut c_void
§disablePreprocessing: bool
§improvedSlerp: bool
§driveLimitsAreForces: bool
§extendedLimits: bool
§disableConstraint: bool
§structgen_pad0: [u8; 3]
§body0WorldOffset: PxVec3Padded
§cA2w: PxVec3Padded
§cB2w: PxVec3Padded
Trait Implementations§
source§impl Clone for PxTGSSolverConstraintPrepDesc
impl Clone for PxTGSSolverConstraintPrepDesc
source§fn clone(&self) -> PxTGSSolverConstraintPrepDesc
fn clone(&self) -> PxTGSSolverConstraintPrepDesc
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 moreimpl Copy for PxTGSSolverConstraintPrepDesc
Auto Trait Implementations§
impl RefUnwindSafe for PxTGSSolverConstraintPrepDesc
impl !Send for PxTGSSolverConstraintPrepDesc
impl !Sync for PxTGSSolverConstraintPrepDesc
impl Unpin for PxTGSSolverConstraintPrepDesc
impl UnwindSafe for PxTGSSolverConstraintPrepDesc
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