PxSolverConstraintDesc Struct Reference

#include <PxSolverDefs.h>

Collaboration diagram for PxSolverConstraintDesc:

Public Types

enum  ConstraintType { eCONTACT_CONSTRAINT, eJOINT_CONSTRAINT }
 

Public Attributes

union {
   PxSolverBody *   bodyA
 bodyA pointer More...
 
   Dy::ArticulationV *   articulationA
 Articulation pointer for body A. More...
 
}; 
 
union {
   PxSolverBody *   bodyB
 BodyB pointer. More...
 
   Dy::ArticulationV *   articulationB
 Articulation pointer for body B. More...
 
}; 
 
PxU16 linkIndexA
 Link index defining which link in Articulation A this constraint affects. If not an articulation, must be NO_LINK. More...
 
PxU16 linkIndexB
 Link index defining which link in Articulation B this constraint affects. If not an articulation, must be NO_LINK. More...
 
union {
   PxU16   articulationALength
 The total length of articulation A in multiples of 16 bytes. More...
 
   PxU32   bodyADataIndex
 Body A's index into the SolverBodyData array. More...
 
}; 
 
union {
   PxU16   articulationBLength
 The total lengh of articulation B in multiples of 16 bytes. More...
 
   PxU32   bodyBDataIndex
 Body B's index into the SolverBodyData array. More...
 
}; 
 
PxU16 writeBackLengthOver4
 writeBackLength/4, max writeback length is 256K, allows PxSolverConstraintDesc to fit in 32 bytes More...
 
PxU16 constraintLengthOver16
 constraintLength/16, max constraint length is 1MB, allows PxSolverConstraintDesc to fit in 32 bytes More...
 
PxU8 * constraint
 Pointer to the constraint rows to be solved. More...
 
void * writeBack
 Pointer to the writeback structure results for this given constraint are to be written to. More...
 

Static Public Attributes

static const PxU16 NO_LINK = 0xffff
 

Member Enumeration Documentation

◆ ConstraintType

Enumerator
eCONTACT_CONSTRAINT 

Defines this pair is a contact constraint.

eJOINT_CONSTRAINT 

Defines this pair is a joint constraint.

Member Data Documentation

◆ @10

union { ... }

◆ @12

union { ... }

◆ @14

union { ... }

◆ @8

union { ... }

◆ articulationA

Dy::ArticulationV* PxSolverConstraintDesc::articulationA

Articulation pointer for body A.

◆ articulationALength

PxU16 PxSolverConstraintDesc::articulationALength

The total length of articulation A in multiples of 16 bytes.

◆ articulationB

Dy::ArticulationV* PxSolverConstraintDesc::articulationB

Articulation pointer for body B.

◆ articulationBLength

PxU16 PxSolverConstraintDesc::articulationBLength

The total lengh of articulation B in multiples of 16 bytes.

◆ bodyA

PxSolverBody* PxSolverConstraintDesc::bodyA

bodyA pointer

◆ bodyADataIndex

PxU32 PxSolverConstraintDesc::bodyADataIndex

Body A's index into the SolverBodyData array.

◆ bodyB

PxSolverBody* PxSolverConstraintDesc::bodyB

BodyB pointer.

◆ bodyBDataIndex

PxU32 PxSolverConstraintDesc::bodyBDataIndex

Body B's index into the SolverBodyData array.

◆ constraint

PxU8* PxSolverConstraintDesc::constraint

Pointer to the constraint rows to be solved.

◆ constraintLengthOver16

PxU16 PxSolverConstraintDesc::constraintLengthOver16

constraintLength/16, max constraint length is 1MB, allows PxSolverConstraintDesc to fit in 32 bytes

◆ linkIndexA

PxU16 PxSolverConstraintDesc::linkIndexA

Link index defining which link in Articulation A this constraint affects. If not an articulation, must be NO_LINK.

◆ linkIndexB

PxU16 PxSolverConstraintDesc::linkIndexB

Link index defining which link in Articulation B this constraint affects. If not an articulation, must be NO_LINK.

◆ NO_LINK

const PxU16 PxSolverConstraintDesc::NO_LINK = 0xffff
static

◆ writeBack

void* PxSolverConstraintDesc::writeBack

Pointer to the writeback structure results for this given constraint are to be written to.

◆ writeBackLengthOver4

PxU16 PxSolverConstraintDesc::writeBackLengthOver4

writeBackLength/4, max writeback length is 256K, allows PxSolverConstraintDesc to fit in 32 bytes


The documentation for this struct was generated from the following file: