Skip to main content

Crate physx_sys

Crate physx_sys 

Source
Expand description

§🎳 physx-sys

Build Status Crates.io Docs Contributor Covenant Embark

Unsafe automatically-generated Rust bindings for NVIDIA PhysX 4.1 C++ API.

Please also see the repository containing a work-in-progress safe wrapper.

§Presentation

Tomasz Stachowiak did a presentation at the Stockholm Rust Meetup on October 2019 about this project that goes through the tecnical details of how C++ to Rust bindings of physx-sys works:

§Basic usage

unsafe {
    let foundation = physx_create_foundation();
    let physics = physx_create_physics(foundation);

    let mut scene_desc = PxSceneDesc_new(PxPhysics_getTolerancesScale(physics));
    scene_desc.gravity = PxVec3 {
        x: 0.0,
        y: -9.81,
        z: 0.0,
    };

    let dispatcher = PxDefaultCpuDispatcherCreate(2, null_mut());

    scene_desc.cpuDispatcher = dispatcher as *mut PxCpuDispatcher;
    scene_desc.filterShader = Some(PxDefaultSimulationFilterShader);

    let scene = PxPhysics_createScene_mut(physics, &scene_desc);

    // Your physics simulation goes here
}

§Examples

§Ball

A simple example to showcase how to use physx-sys. It can be run with cargo run --examples ball.

 o

  o
   o

    o
                      ooooooooo
     o              oo         oo
                   o             o
      o           o               o
                 o                 oo
       o        o                    o
               o                                ooooooo
              o                       o       oo       oo
        o    o                         o    oo           oo
            o                           o  o               o    ooooooooo
         o                                o                 o oo         oooooooooo oo

§How it works

The binding is generated using a custom C++ app written against clang’s libtooling. It queries the compiler’s abstract syntax tree, and maps the C++ PhysX functions and types to Rust using heuristics chosen specifically for this SDK. It is not a general C++ <-> Rust binding generator, and using it on other projects will likely crash and burn.

Since C++ does not have a standardized and stable ABI, it’s generally not safe to call it from Rust code; since PhysX exposes a C++ interface, we can’t use it directly. That’s why physx-sys generates both a Rust interface as well as a plain C wrapper. The C code is compiled into a static library at build time, and Rust then talks to C.

In order to minimize the amount of work required to marshall data between the C wrapper and the original C++ API, we generate a bespoke C wrapper for each build target. The wrapper is based on metadata about structure layout extracted directly from compiling and running a tiny program against the PhysX SDK using the specific C++ compiler used in the build process.

The build process comprises a few steps:

  1. The pxbind utility uses clang to extract metadata about PhysX functions and types, and generates partial Rust and C bindings as physx_generated.hpp and physx_generated.rs. Those contain all function definitions, and a small subset of types. It also generates a C++ utility called structgen by emitting structgen.cpp.
  2. structgen is compiled against the PhysX SDK, and generates all the remaining type wrappers. For each struct, it queries the size and offset of its members, and generates structgen_out.hpp and structgen_out.rs. The types are “plain old data” structs which will perfectly match the memory layout of the C++ types.
  3. All the generated C types are compiled together to form physx_api, a static library for Rust to link with.
  4. The Rust wrapper is compiled, and linked with PhysX and the C wrapper.

Steps 2..4 are performed completely automatically from within build.rs, while step 1 is only necessary when upgrading the PhysX SDK or modifying the generator. As such, building and running pxbind is a manual task, and is currently only supported on *nix systems.

§License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Note that the PhysX C++ SDK has it’s own BSD 3 license and depends on additional C++ third party libraries.

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Structs§

FilterShaderCallbackInfo
Interpolation
MemoryBuffer
Px1DConstraint
Px1DConstraintFlags
Flags for Px1DConstraintFlag
PxAABBManager
PxActor
PxActorCacheFlags
Flags for PxActorCacheFlag
PxActorFlags
Flags for PxActorFlag
PxActorShape
PxActorTypeFlags
Flags for PxActorTypeFlag
PxAggregate
PxAllocationListener
PxAllocator
PxAllocatorCallback
PxArticulationAttachment
PxArticulationCache
PxArticulationCacheFlags
Flags for PxArticulationCacheFlag
PxArticulationDrive
PxArticulationFixedTendon
PxArticulationFlags
Flags for PxArticulationFlag
PxArticulationJointReducedCoordinate
PxArticulationKinematicFlags
Flags for PxArticulationKinematicFlag
PxArticulationLimit
PxArticulationLink
PxArticulationMotions
Flags for PxArticulationMotion
PxArticulationReducedCoordinate
PxArticulationRootLinkData
PxArticulationSensor
PxArticulationSensorFlags
Flags for PxArticulationSensorFlag
PxArticulationSpatialTendon
PxArticulationTendon
PxArticulationTendonJoint
PxArticulationTendonLimit
PxAssertHandler
PxBVH
PxBVH33TriangleMesh
PxBVH34MidphaseDesc
PxBVH34TriangleMesh
PxBVHDesc
PxBVHOverlapCallback
PxBVHRaycastCallback
PxBVHTraversalCallback
PxBase
PxBaseFlags
Flags for PxBaseFlag
PxBaseMaterial
PxBaseTask
PxBatchQueryExt
PxBinaryConverter
PxBitAndByte
PxBitMap
PxBoundedData
PxBounds3
PxBoxController
PxBoxControllerDesc
PxBoxGeometry
PxBoxObstacle
PxBroadPhase
PxBroadPhaseCallback
PxBroadPhaseCaps
PxBroadPhaseDesc
PxBroadPhaseExt
PxBroadPhasePair
PxBroadPhaseRegion
PxBroadPhaseRegionInfo
PxBroadPhaseRegions
PxBroadPhaseResults
PxBroadPhaseUpdateData
PxBroadcastingAllocator
PxBroadcastingErrorCallback
PxCCDContactModifyCallback
PxCapsuleController
PxCapsuleControllerDesc
PxCapsuleGeometry
PxCapsuleObstacle
PxCollection
PxCollisionMeshMappingData
PxCollisionTetrahedronMeshData
PxConeLimitParams
PxConeLimitedConstraint
PxConstraint
PxConstraintAllocator
PxConstraintBatchHeader
PxConstraintConnector
PxConstraintFlags
Flags for PxConstraintFlag
PxConstraintInfo
PxConstraintInvMassScale
PxConstraintShaderTable
PxConstraintVisualizer
PxContact
PxContactBuffer
PxContactJoint
PxContactModifyCallback
PxContactModifyPair
PxContactPair
PxContactPairExtraDataItem
PxContactPairExtraDataIterator
PxContactPairFlags
Flags for PxContactPairFlag
PxContactPairHeader
PxContactPairHeaderFlags
Flags for PxContactPairHeaderFlag
PxContactPairIndex
PxContactPairPoint
PxContactPairPose
PxContactPairVelocity
PxContactPatch
PxContactPoint
PxContactSet
PxContactStreamIterator
PxController
PxControllerBehaviorCallback
PxControllerBehaviorFlags
Flags for PxControllerBehaviorFlag
PxControllerCollisionFlags
Flags for PxControllerCollisionFlag
PxControllerDebugRenderFlags
Flags for PxControllerDebugRenderFlag
PxControllerDesc
PxControllerFilterCallback
PxControllerFilters
PxControllerHit
PxControllerManager
PxControllerObstacleHit
PxControllerShapeHit
PxControllerState
PxControllerStats
PxControllersHit
PxConvexFlags
Flags for PxConvexFlag
PxConvexMesh
PxConvexMeshDesc
PxConvexMeshGeometry
PxConvexMeshGeometryFlags
Flags for PxConvexMeshGeometryFlag
PxCooking
PxCookingParams
PxCounterFrequencyToTensOfNanos
PxCpuDispatcher
PxCudaContextManager
PxCustomGeometry
PxCustomGeometryCallbacks
PxCustomGeometryType
PxCustomMaterial
PxCustomParticleSystem
PxCustomSceneQuerySystem
PxCustomSceneQuerySystemAdapter
PxD6Joint
PxD6JointDrive
PxD6JointDriveFlags
Flags for PxD6JointDriveFlag
PxDataAccessFlags
Flags for PxDataAccessFlag
PxDebugLine
PxDebugPoint
PxDebugText
PxDebugTriangle
PxDefaultAllocator
PxDefaultCpuDispatcher
PxDefaultErrorCallback
PxDefaultFileInputData
PxDefaultFileOutputStream
PxDefaultMemoryInputData
PxDefaultMemoryOutputStream
PxDeletionEventFlags
Flags for PxDeletionEventFlag
PxDeletionListener
PxDeserializationContext
PxDiffuseParticleParams
PxDim3
PxDistanceJoint
PxDistanceJointFlags
Flags for PxDistanceJointFlag
PxDominanceGroupPair
PxErrorCallback
PxExtendedContact
PxExtendedVec3
PxFEMCloth
PxFEMClothMaterial
PxFEMMaterial
PxFEMParameters
PxFEMSoftBodyMaterial
PxFLIPMaterial
PxFLIPParticleSystem
PxFilterData
PxFilterFlags
Flags for PxFilterFlag
PxFixedJoint
PxFoundation
PxGearJoint
PxGeomIndexPair
PxGeomOverlapHit
PxGeomRaycastHit
PxGeomSweepHit
PxGeometry
PxGeometryHolder
PxGeometryQuery
PxGeometryQueryFlags
Flags for PxGeometryQueryFlag
PxGpuActorPair
PxGpuBodyData
PxGpuContactPair
PxGpuParticleBufferIndexPair
PxGroupsMask
PxHairSystem
PxHairSystemDataFlags
Flags for PxHairSystemData
PxHairSystemFlags
Flags for PxHairSystemFlag
PxHairSystemGeometry
PxHash
PxHeightField
PxHeightFieldDesc
PxHeightFieldFlags
Flags for PxHeightFieldFlag
PxHeightFieldGeometry
PxHeightFieldSample
PxHitFlags
Flags for PxHitFlag
PxHullPolygon
PxIndexDataPair
PxInputData
PxInputStream
PxInsertionCallback
PxJacobianRow
PxJoint
PxJointAngularLimitPair
PxJointLimitCone
PxJointLimitParameters
PxJointLimitPyramid
PxJointLinearLimit
PxJointLinearLimitPair
PxLightCpuTask
PxLocationHit
PxLockedData
PxLogTwo
PxMPMMaterial
PxMPMParticleSystem
PxMassModificationProps
PxMassProperties
PxMat33
PxMat34
PxMat44
PxMaterial
PxMaterialFlags
Flags for PxMaterialFlag
PxMeshFlags
Flags for PxMeshFlag
PxMeshGeometryFlags
Flags for PxMeshGeometryFlag
PxMeshMeshQueryFlags
Flags for PxMeshMeshQueryFlag
PxMeshOverlapUtil
PxMeshPreprocessingFlags
Flags for PxMeshPreprocessingFlag
PxMeshQuery
PxMeshScale
PxMetaDataEntry
PxMidphaseDesc
PxModifiableContact
PxMutexImpl
PxNodeIndex
PxObstacle
PxObstacleContext
PxOmniPvd
PxOutputStream
PxOverlapBuffer
PxOverlapCallback
PxOverlapHit
PxPBDMaterial
PxPBDParticleSystem
PxPairFlags
Flags for PxPairFlag
PxParticleAndDiffuseBuffer
PxParticleBuffer
PxParticleBufferFlags
Flags for PxParticleBufferFlag
PxParticleClothBuffer
PxParticleMaterial
PxParticlePhaseFlags
Flags for PxParticlePhaseFlag
PxParticleRigidAttachment
PxParticleRigidBuffer
PxParticleRigidFilterPair
PxParticleSpring
PxParticleSystem
PxParticleSystemGeometry
PxParticleVolume
PxPhysics
PxPlane
PxPlaneGeometry
PxPoissonSampler
PxPrismaticJoint
PxPrismaticJointFlags
Flags for PxPrismaticJointFlag
PxProcessPxBaseCallback
PxProfileScoped
PxProfilerCallback
PxPruningStructure
PxPvd
PxPvdInstrumentationFlags
Flags for PxPvdInstrumentationFlag
PxPvdSceneClient
PxPvdSceneFlags
Flags for PxPvdSceneFlag
PxPvdTransport
PxQuat
PxQueryCache
PxQueryFilterCallback
PxQueryFilterData
PxQueryFlags
Flags for PxQueryFlag
PxQueryHit
PxQueryThreadContext
PxRackAndPinionJoint
PxRawAllocator
PxRaycastBuffer
PxRaycastCallback
PxRaycastHit
PxReadWriteLock
PxRefCounted
PxRenderBuffer
PxRenderOutput
PxRepXInstantiationArgs
PxRepXObject
PxRepXSerializer
PxRestitutionModifiers
PxRevoluteJoint
PxRevoluteJointFlags
Flags for PxRevoluteJointFlag
PxRigidActor
PxRigidActorExt
PxRigidBody
PxRigidBodyExt
PxRigidBodyFlags
Flags for PxRigidBodyFlag
PxRigidDynamic
PxRigidDynamicLockFlags
Flags for PxRigidDynamicLockFlag
PxRigidStatic
PxRunnable
PxSDFDesc
PxSListEntry
PxSListImpl
PxSamplingExt
PxScene
PxSceneDesc
PxSceneFlags
Flags for PxSceneFlag
PxSceneLimits
PxSceneQueryDesc
PxSceneQueryExt
PxSceneQuerySystem
PxSceneQuerySystemBase
PxSceneReadLock
PxSceneSQSystem
PxSceneWriteLock
PxSerialization
PxSerializationContext
PxSerializationRegistry
PxSerializer
PxShape
PxShapeExt
PxShapeFlags
Flags for PxShapeFlag
PxSimpleTriangleMesh
PxSimulationEventCallback
PxSimulationFilterCallback
PxSimulationStatistics
PxSimulationTetrahedronMeshData
PxSoftBody
PxSoftBodyAuxData
PxSoftBodyCollisionData
PxSoftBodyDataFlags
Flags for PxSoftBodyData
PxSoftBodyFlags
Flags for PxSoftBodyFlag
PxSoftBodyMesh
PxSoftBodySimulationData
PxSoftBodySimulationDataDesc
PxSolverBody
PxSolverBodyData
PxSolverConstraintDesc
PxSolverConstraintPrepDesc
PxSolverConstraintPrepDescBase
PxSolverContactDesc
PxSpatialForce
PxSpatialVelocity
PxSphereGeometry
PxSphericalJoint
PxSphericalJointFlags
Flags for PxSphericalJointFlag
PxSpring
PxSpringModifiers
PxStridedData
PxStringTable
PxStringTableExt
PxSweepBuffer
PxSweepCallback
PxSweepHit
PxSyncImpl
PxTGSSolverBodyData
PxTGSSolverBodyTxInertia
PxTGSSolverBodyVel
PxTGSSolverConstraintPrepDesc
PxTGSSolverConstraintPrepDescBase
PxTGSSolverContactDesc
PxTask
PxTaskManager
PxTempAllocator
PxTetrahedron
PxTetrahedronMesh
PxTetrahedronMeshData
PxTetrahedronMeshDesc
PxTetrahedronMeshExt
PxTetrahedronMeshFlags
Flags for PxTetrahedronMeshFlag
PxTetrahedronMeshGeometry
PxTime
PxTolerancesScale
PxTransform
PxTransformPadded
PxTriangle
PxTriangleMesh
PxTriangleMeshDesc
PxTriangleMeshFlags
Flags for PxTriangleMeshFlag
PxTriangleMeshGeometry
PxTriangleMeshPoissonSampler
PxTrianglePadded
PxTriggerPair
PxTriggerPairFlags
Flags for PxTriggerPairFlag
PxTypeInfo
PxUnConst
PxUserAllocated
PxUserControllerHitReport
PxVec2
PxVec3
PxVec4
PxVec3Padded
PxVehicleDrivableSurfaceToTireFrictionPairs
PxVehicleTelemetryData
PxVehicleTireForceCalculator
PxVehicleWheels4DynData
PxVehicleWheels4SimData
PxVirtualAllocator
PxVirtualAllocatorCallback
PxXmlMiscParameter
PxgDynamicsMemoryConfig
SimulationEventCallbackInfo
XmlMemoryAllocator
XmlReader
XmlWriter

Enums§

BodyState
Data structure used for preparing constraints before solving them
ConstraintType
Constraint descriptor used inside the solver
Px1DConstraintFlag
Constraint row flags
PxActorCacheFlag
Identifies each type of information for retrieving from actor.
PxActorFlag
Flags which control the behavior of an actor.
PxActorType
Identifies each type of actor.
PxActorTypeFlag
Identifies each type of actor for retrieving actors from a scene.
PxAggregateType
PxArticulationAxis
@ {
PxArticulationCacheFlag
These flags determine what data is read or written to the internal articulation data via cache.
PxArticulationDriveType
PxArticulationFlag
PxArticulationGpuDataType
A description of the types of articulation data that may be directly written to and read from the GPU using the functions PxScene::copyArticulationData() and PxScene::applyArticulationData(). Types that are read-only may only be used in conjunction with PxScene::copyArticulationData(). Types that are write-only may only be used in conjunction with PxScene::applyArticulationData(). A subset of data types may be used in conjunction with both PxScene::applyArticulationData() and PxScene::applyArticulationData().
PxArticulationJointType
PxArticulationKinematicFlag
Flag that configures articulation-state updates by PxArticulationReducedCoordinate::updateKinematic.
PxArticulationMotion
PxArticulationSensorFlag
Flags to configure the forces reported by articulation link sensors.
PxBVH34BuildStrategy
Desired build strategy for PxMeshMidPhase::eBVH34
PxBVHBuildStrategy
Desired build strategy for bounding-volume hierarchies
PxBaseFlag
Flags for PxBase.
PxBatchQueryStatus
PxBroadPhaseType
Broad phase algorithm used in the simulation
PxBufferType
Specifies memory space for a PxBuffer instance.
PxCapsuleClimbingMode
PxCombineMode
Enumeration that determines the way in which two material properties will be combined to yield a friction or restitution coefficient for a collision.
PxConcreteType
an enumeration of concrete classes inheriting from PxBase
PxConstraintExtIDs
Unique identifiers for extensions classes which implement a constraint based on PxConstraint.
PxConstraintFlag
constraint flags
PxConstraintSolveHint
Constraint type hints which the solver uses to optimize constraint handling
PxConstraintVisualizationFlag
Flags for determining which components of the constraint should be visualized.
PxContactPairExtraDataType
Extra data item types for contact pairs.
PxContactPairFlag
Collection of flags providing information on contact report pairs.
PxContactPairHeaderFlag
Collection of flags providing information on contact report pairs.
PxContactPatchFlags
Header for a contact patch where all points share same material and normal
PxControllerBehaviorFlag
specifies controller behavior
PxControllerCollisionFlag
specifies which sides a character is colliding with.
PxControllerDebugRenderFlag
specifies debug-rendering flags
PxControllerNonWalkableMode
specifies how a CCT interacts with non-walkable parts.
PxControllerShapeType
The type of controller, eg box, sphere or capsule.
PxConvexFlag
Flags which describe the format and behavior of a convex mesh.
PxConvexMeshCookingResult
Result from convex cooking.
PxConvexMeshCookingType
Enumeration for convex mesh cooking algorithms.
PxConvexMeshGeometryFlag
Flags controlling the simulated behavior of the convex mesh geometry.
PxD6Axis
Used to specify one of the degrees of freedom of a D6 joint.
PxD6Drive
Used to specify which axes of a D6 joint are driven.
PxD6JointDriveFlag
flags for configuring the drive model of a PxD6Joint
PxD6Motion
Used to specify the range of motions allowed for a degree of freedom in a D6 joint.
PxDataAccessFlag
PxDebugColor
Default color values used for debug rendering.
PxDefaultCpuDispatcherWaitForWorkMode
If a thread ends up waiting for work it will find itself in a spin-wait loop until work becomes available. Three strategies are available to limit wasted cycles. The strategies are as follows: a) wait until a work task signals the end of the spin-wait period. b) yield the thread by providing a hint to reschedule thread execution, thereby allowing other threads to run. c) yield the processor by informing it that it is waiting for work and requesting it to more efficiently use compute resources.
PxDeletionEventFlag
Flags specifying deletion event types.
PxDistanceJointFlag
flags for configuring the drive of a PxDistanceJoint
PxDynamicTreeSecondaryPruner
Secondary pruning structure used for newly added objects in dynamic trees.
PxEMPTY
enum for empty constructor tag
PxErrorCode
Error codes
PxFilterFlag
Collection of flags describing the filter actions to take for a collision pair.
PxFilterObjectFlag
PxFilterObjectType
Identifies each type of filter object.
PxFilterOp
Collision filtering operations.
PxForceMode
Parameter to addForce() and addTorque() calls, determines the exact operation that is carried out.
PxFrictionType
Enum for selecting the friction algorithm used for simulation.
PxGeometryQueryFlag
Geometry-level query flags.
PxGeometryType
A geometry type.
PxHairSystemData
Identifies input and output buffers for PxHairSystem
PxHairSystemFlag
Binary settings for hair system simulation
PxHeightFieldFlag
Enum with flag values to be used in PxHeightFieldDesc.flags.
PxHeightFieldFormat
Describes the format of height field samples.
PxHeightFieldMaterial
Special material index values for height field samples.
PxHeightFieldTessFlag
Determines the tessellation of height field cells.
PxHitFlag
Scene query and geometry query behavior flags.
PxIDENTITY
enum for identity constructor flag for quaternions, transforms, and matrices
PxJointActorIndex
an enumeration for specifying one or other of the actors referenced by a joint
PxJointConcreteType
an enumeration of PhysX’ built-in joint types
PxMaterialFlag
Flags which control the behavior of a material.
PxMeshFlag
Enum with flag values to be used in PxSimpleTriangleMesh::flags.
PxMeshFormat
Defines the tetrahedron structure of a mesh.
PxMeshGeometryFlag
Flags controlling the simulated behavior of the triangle mesh geometry.
PxMeshMeshQueryFlag
PxMeshMidPhase
Mesh midphase structure. This enum is used to select the desired acceleration structure for midphase queries (i.e. raycasts, overlaps, sweeps vs triangle meshes).
PxMeshPreprocessingFlag
Enum for the set of mesh pre-processing parameters.
PxMetaDataFlag
Flags used to configure binary meta data entries, typically set through PX_DEF_BIN_METADATA defines.
PxPairFilteringMode
PxPairFlag
Collection of flags describing the actions to take for a collision pair.
PxParticleBufferFlag
Identifies dirty particle buffers that need to be updated in the particle system.
PxParticlePhaseFlag
Identifies per-particle behavior for a PxParticleSystem.
PxParticleSolverType
Identifies the solver to use for a particle system.
PxPrismaticJointFlag
Flags specific to the prismatic joint.
PxPruningStructureType
Pruning structure used to accelerate scene queries.
PxPvdInstrumentationFlag
types of instrumentation that PVD can do.
PxPvdSceneFlag
PVD scene Flags. They are disabled by default, and only works if PxPvdInstrumentationFlag::eDEBUG is set.
PxPvdUpdateType
Flags for determining how PVD should serialize a constraint update
PxQueryFlag
Filtering flags for scene queries.
PxQueryHitType
Classification of scene query hits (intersections).
PxRevoluteJointFlag
Flags specific to the Revolute Joint.
PxRigidBodyFlag
Collection of flags describing the behavior of a rigid body.
PxRigidDynamicLockFlag
Collection of flags providing a mechanism to lock motion along/around a specific axis.
PxSceneFlag
flags for configuring properties of the scene
PxScenePrunerIndex
Built-in enum for default PxScene pruners
PxSceneQueryUpdateMode
Scene query update mode
PxSdfBitsPerSubgridPixel
Defines the number of bits per subgrid pixel
PxShapeFlag
Flags which affect the behavior of PxShapes.
PxSoftBodyData
Identifies input and output buffers for PxSoftBody.
PxSoftBodyDataFlag
These flags determine what data is read or written to the gpu softbody.
PxSoftBodyFlag
Flags to enable or disable special modes of a SoftBody
PxSolverType
Enum for selecting the type of solver used for the simulation.
PxSphericalJointFlag
Flags specific to the spherical joint.
PxTaskType
Identifies the type of each heavyweight PxTask object
PxTetrahedronMeshFlag
PxThreadPriority
PxTriangleMeshCookingResult
Result from triangle mesh cooking
PxTriangleMeshFlag
Flags for the mesh geometry properties.
PxTriggerPairFlag
Collection of flags providing information on trigger report pairs.
PxVisualizationParameter
Debug visualization parameters.
PxZERO
enum for zero constructor tag for vectors and matrices
RbPairStatsType
Different types of rigid body collision pair statistics.
StreamFormat
A class to iterate over a compressed contact stream. This supports read-only access to the various contact formats.

Functions§

Interpolation_PxBiLerp⚠
Interpolation_PxLerp⚠
Interpolation_PxSDFIdx⚠
Interpolation_PxSDFSampleImpl⚠
Interpolation_PxTriLerp⚠
PxAABBManager_addObject_mut⚠
Adds an object to the manager.
PxAABBManager_fetchResults_mut⚠
Retrieves the broadphase results after an update.
PxAABBManager_getBounds⚠
Retrieves the managed bounds.
PxAABBManager_getBroadPhase_mut⚠
Retrieves the underlying broadphase.
PxAABBManager_getCapacity⚠
Retrieves the managed buffers’ capacity.
PxAABBManager_getDistances⚠
Retrieves the managed distances.
PxAABBManager_getGroups⚠
Retrieves the managed filter groups.
PxAABBManager_release_mut⚠
PxAABBManager_removeObject_mut⚠
Removes an object from the manager.
PxAABBManager_updateObject_mut⚠
Updates an object in the manager.
PxAABBManager_update_mut⚠
Updates the broadphase and computes the lists of created/deleted pairs.
PxAABBManager_update_mut_1⚠
Helper for single-threaded updates.
PxActorShape_new⚠
PxActorShape_new_1⚠
PxActor_getActorFlags⚠
Reads the PxActor flags.
PxActor_getAggregate⚠
Retrieves the aggregate the actor might be a part of.
PxActor_getDominanceGroup⚠
Retrieves the value set with setDominanceGroup().
PxActor_getName⚠
Retrieves the name string set with setName().
PxActor_getOwnerClient⚠
Returns the owner client that was specified at creation time.
PxActor_getScene⚠
Retrieves the scene which this actor belongs to.
PxActor_getType⚠
Retrieves the type of actor.
PxActor_getWorldBounds⚠
Retrieves the axis aligned bounding box enclosing the actor.
PxActor_release_mut⚠
Deletes the actor.
PxActor_setActorFlag_mut⚠
Raises or clears a particular actor flag.
PxActor_setActorFlags_mut⚠
Sets the actor flags.
PxActor_setDominanceGroup_mut⚠
Assigns dynamic actors a dominance group identifier.
PxActor_setName_mut⚠
Sets a name string for the object that can be retrieved with getName().
PxActor_setOwnerClient_mut⚠
Sets the owner client of an actor.
PxAggregate_addActor_mut⚠
Adds an actor to the aggregate object.
PxAggregate_addArticulation_mut⚠
Adds an articulation to the aggregate object.
PxAggregate_getActors⚠
Retrieve all actors contained in the aggregate.
PxAggregate_getConcreteTypeName⚠
PxAggregate_getMaxNbShapes⚠
Retrieves max amount of shapes that can be contained in the aggregate.
PxAggregate_getNbActors⚠
Returns the number of actors contained in the aggregate.
PxAggregate_getScene_mut⚠
Retrieves the scene which this aggregate belongs to.
PxAggregate_getSelfCollision⚠
Retrieves aggregate’s self-collision flag.
PxAggregate_release_mut⚠
Deletes the aggregate object.
PxAggregate_removeActor_mut⚠
Removes an actor from the aggregate object.
PxAggregate_removeArticulation_mut⚠
Removes an articulation from the aggregate object.
PxAllocationListener_onAllocation_mut⚠
callback when memory is allocated.
PxAllocationListener_onDeallocation_mut⚠
callback when memory is deallocated.
PxAllocatorCallback_allocate_mut⚠
Allocates size bytes of memory, which must be 16-byte aligned.
PxAllocatorCallback_deallocate_mut⚠
Frees memory previously allocated by allocate().
PxAllocatorCallback_delete⚠
PxAllocator_allocate_mut⚠
PxAllocator_deallocate_mut⚠
PxAllocator_new⚠
PxArticulationAttachment_getCoefficient⚠
Gets the attachment coefficient.
PxArticulationAttachment_getConcreteTypeName⚠
Returns the string name of the dynamic type.
PxArticulationAttachment_getLimitParameters⚠
Gets the low and high limit on the length of the sub-tendon from the root to this leaf attachment.
PxArticulationAttachment_getLink⚠
Gets the articulation link.
PxArticulationAttachment_getParent⚠
Gets the parent attachment.
PxArticulationAttachment_getRelativeOffset⚠
Gets the attachment’s relative offset in the link actor frame.
PxArticulationAttachment_getRestLength⚠
Gets the spring rest length for the sub-tendon from the root to this leaf attachment.
PxArticulationAttachment_getTendon⚠
Gets the spatial tendon that the attachment is a part of.
PxArticulationAttachment_isLeaf⚠
Indicates that this attachment is a leaf, and thus defines a sub-tendon from the root to this attachment.
PxArticulationAttachment_release_mut⚠
Releases the attachment.
PxArticulationAttachment_setCoefficient_mut⚠
Sets the attachment coefficient.
PxArticulationAttachment_setLimitParameters_mut⚠
Sets the low and high limit on the length of the sub-tendon from the root to this leaf attachment.
PxArticulationAttachment_setRelativeOffset_mut⚠
Sets the attachment’s relative offset in the link actor frame.
PxArticulationAttachment_setRestLength_mut⚠
Sets the spring rest length for the sub-tendon from the root to this leaf attachment.
PxArticulationCache_new⚠
PxArticulationCache_release_mut⚠
Releases an articulation cache.
PxArticulationDrive_new⚠
PxArticulationDrive_new_1⚠
PxArticulationFixedTendon_createTendonJoint_mut⚠
Creates an articulation tendon joint and adds it to the list of children in the parent tendon joint.
PxArticulationFixedTendon_getConcreteTypeName⚠
Returns the string name of the dynamic type.
PxArticulationFixedTendon_getLimitParameters⚠
Gets the low and high limit on the length of the tendon.
PxArticulationFixedTendon_getNbTendonJoints⚠
Returns the number of tendon joints in the tendon.
PxArticulationFixedTendon_getRestLength⚠
Gets the spring rest length of the tendon.
PxArticulationFixedTendon_getTendonJoints⚠
Fills a user-provided buffer of tendon-joint pointers with the set of tendon joints.
PxArticulationFixedTendon_setLimitParameters_mut⚠
Sets the low and high limit on the length of the tendon.
PxArticulationFixedTendon_setRestLength_mut⚠
Sets the spring rest length of the tendon.
PxArticulationJointReducedCoordinate_getArmature⚠
Gets the joint armature for the given axis.
PxArticulationJointReducedCoordinate_getChildArticulationLink⚠
Gets the child articulation link of this joint.
PxArticulationJointReducedCoordinate_getChildPose⚠
Gets the joint pose in the child link actor frame.
PxArticulationJointReducedCoordinate_getConcreteTypeName⚠
Returns the string name of the dynamic type.
PxArticulationJointReducedCoordinate_getDriveParams⚠
Gets the joint drive configuration for the given axis.
PxArticulationJointReducedCoordinate_getDriveTarget⚠
Returns the joint drive position target for the given axis.
PxArticulationJointReducedCoordinate_getDriveVelocity⚠
Returns the joint drive velocity target for the given axis.
PxArticulationJointReducedCoordinate_getFrictionCoefficient⚠
Gets the joint friction coefficient.
PxArticulationJointReducedCoordinate_getJointPosition⚠
Gets the joint position for the given axis, i.e. joint degree of freedom (DOF).
PxArticulationJointReducedCoordinate_getJointType⚠
Gets the joint type.
PxArticulationJointReducedCoordinate_getJointVelocity⚠
Gets the joint velocity for the given axis.
PxArticulationJointReducedCoordinate_getLimitParams⚠
Returns the joint limits for a given axis.
PxArticulationJointReducedCoordinate_getMaxJointVelocity⚠
Gets the maximal joint velocity enforced for all axes.
PxArticulationJointReducedCoordinate_getMotion⚠
Returns the joint motion for the given axis.
PxArticulationJointReducedCoordinate_getParentArticulationLink⚠
Gets the parent articulation link of this joint.
PxArticulationJointReducedCoordinate_getParentPose⚠
Gets the joint pose in the parent link actor frame.
PxArticulationJointReducedCoordinate_setArmature_mut⚠
Sets the joint armature for the given axis.
PxArticulationJointReducedCoordinate_setChildPose_mut⚠
Sets the joint pose in the child link actor frame.
PxArticulationJointReducedCoordinate_setDriveParams_mut⚠
Configures a joint drive for the given axis.
PxArticulationJointReducedCoordinate_setDriveTarget_mut⚠
Sets the joint drive position target for the given axis.
PxArticulationJointReducedCoordinate_setDriveVelocity_mut⚠
Sets the joint drive velocity target for the given axis.
PxArticulationJointReducedCoordinate_setFrictionCoefficient_mut⚠
Sets the joint friction coefficient, which applies to all joint axes.
PxArticulationJointReducedCoordinate_setJointPosition_mut⚠
Sets the joint position for the given axis.
PxArticulationJointReducedCoordinate_setJointType_mut⚠
Sets the joint type (e.g. revolute).
PxArticulationJointReducedCoordinate_setJointVelocity_mut⚠
Sets the joint velocity for the given axis.
PxArticulationJointReducedCoordinate_setLimitParams_mut⚠
Sets the joint limits for a given axis.
PxArticulationJointReducedCoordinate_setMaxJointVelocity_mut⚠
Sets the maximal joint velocity enforced for all axes.
PxArticulationJointReducedCoordinate_setMotion_mut⚠
Sets the joint motion for a given axis.
PxArticulationJointReducedCoordinate_setParentPose_mut⚠
Sets the joint pose in the parent link actor frame.
PxArticulationLimit_new⚠
PxArticulationLimit_new_1⚠
PxArticulationLink_getAngularVelocity⚠
Get the angular velocity of the link.
PxArticulationLink_getArticulation⚠
Gets the articulation that the link is a part of.
PxArticulationLink_getCfmScale⚠
Get the constraint-force-mixing scale term.
PxArticulationLink_getChildren⚠
Retrieves the child links.
PxArticulationLink_getConcreteTypeName⚠
Returns the string name of the dynamic type.
PxArticulationLink_getInboundJoint⚠
Gets the joint which connects this link to its parent.
PxArticulationLink_getInboundJointDof⚠
Gets the number of degrees of freedom of the joint which connects this link to its parent.
PxArticulationLink_getLinearVelocity⚠
Get the linear velocity of the link.
PxArticulationLink_getLinkIndex⚠
Gets the low-level link index that may be used to index into members of PxArticulationCache.
PxArticulationLink_getNbChildren⚠
Gets the number of child links.
PxArticulationLink_release_mut⚠
Releases the link from the articulation.
PxArticulationLink_setCfmScale_mut⚠
Set the constraint-force-mixing scale term.
PxArticulationReducedCoordinate_addLoopJoint_mut⚠
Adds a loop joint to the articulation system for inverse dynamics.
PxArticulationReducedCoordinate_applyCache_mut⚠
Applies the data in the cache to the articulation.
PxArticulationReducedCoordinate_commonInit⚠
Prepares common articulation data based on articulation pose for inverse dynamics calculations.
PxArticulationReducedCoordinate_computeCoefficientMatrix⚠
Computes the coefficient matrix for contact forces.
PxArticulationReducedCoordinate_computeCoriolisAndCentrifugalForce⚠
Computes the joint DOF forces required to counteract Coriolis and centrifugal forces for the given articulation state.
PxArticulationReducedCoordinate_computeDenseJacobian⚠
Compute the dense Jacobian for the articulation in world space, including the DOFs of a potentially floating base.
PxArticulationReducedCoordinate_computeGeneralizedExternalForce⚠
Computes the joint DOF forces required to counteract external spatial forces applied to articulation links.
PxArticulationReducedCoordinate_computeGeneralizedGravityForce⚠
Computes the joint DOF forces required to counteract gravitational forces for the given articulation pose.
PxArticulationReducedCoordinate_computeGeneralizedMassMatrix⚠
Compute the joint-space inertia matrix that maps joint accelerations to joint forces: forces = M * accelerations.
PxArticulationReducedCoordinate_computeJointAcceleration⚠
Computes the joint accelerations for the given articulation state and joint forces.
PxArticulationReducedCoordinate_computeJointForce⚠
Computes the joint forces for the given articulation state and joint accelerations, not considering gravity.
PxArticulationReducedCoordinate_computeLambda⚠
Computes the lambda values when the test impulse is 1.
PxArticulationReducedCoordinate_copyInternalStateToCache⚠
Copies internal data of the articulation to the cache.
PxArticulationReducedCoordinate_createCache⚠
Creates an articulation cache that can be used to read and write internal articulation data.
PxArticulationReducedCoordinate_createFixedTendon_mut⚠
Creates a fixed tendon to attach to the articulation with default attribute values.
PxArticulationReducedCoordinate_createLink_mut⚠
Adds a link to the articulation with default attribute values.
PxArticulationReducedCoordinate_createSensor_mut⚠
Creates a force sensor attached to a link of the articulation.
PxArticulationReducedCoordinate_createSpatialTendon_mut⚠
Creates a spatial tendon to attach to the articulation with default attribute values.
PxArticulationReducedCoordinate_getAggregate⚠
Returns the aggregate the articulation might be a part of.
PxArticulationReducedCoordinate_getArticulationFlags⚠
Returns the articulation’s flags.
PxArticulationReducedCoordinate_getCacheDataSize⚠
Returns the size of the articulation cache in bytes.
PxArticulationReducedCoordinate_getCoefficientMatrixSize⚠
Returns the required size of the coefficient matrix in the articulation.
PxArticulationReducedCoordinate_getDofs⚠
Returns the total number of joint degrees-of-freedom (DOFs) of the articulation.
PxArticulationReducedCoordinate_getFixedTendons⚠
Returns the fixed tendons attached to the articulation.
PxArticulationReducedCoordinate_getGpuArticulationIndex_mut⚠
Returns the GPU articulation index.
PxArticulationReducedCoordinate_getLinkAcceleration_mut⚠
Returns the (classical) link acceleration in world space for the given low-level link index.
PxArticulationReducedCoordinate_getLinks⚠
Returns the set of links in the articulation in the order that they were added to the articulation using createLink.
PxArticulationReducedCoordinate_getLoopJoints⚠
Returns the set of loop constraints (i.e. joints) in the articulation.
PxArticulationReducedCoordinate_getMaxCOMAngularVelocity⚠
Gets the limit on the magnitude of the angular velocity at the articulation’s center of mass.
PxArticulationReducedCoordinate_getMaxCOMLinearVelocity⚠
Gets the limit on the magnitude of the linear velocity of the articulation’s center of mass.
PxArticulationReducedCoordinate_getName⚠
Returns the name string set with setName().
PxArticulationReducedCoordinate_getNbFixedTendons_mut⚠
Returns the number of fixed tendons in the articulation.
PxArticulationReducedCoordinate_getNbLinks⚠
Returns the number of links in the articulation.
PxArticulationReducedCoordinate_getNbLoopJoints⚠
Returns the number of loop joints in the articulation for inverse dynamics.
PxArticulationReducedCoordinate_getNbSensors_mut⚠
Returns the number of sensors in the articulation.
PxArticulationReducedCoordinate_getNbShapes⚠
Returns the number of shapes in the articulation.
PxArticulationReducedCoordinate_getNbSpatialTendons_mut⚠
Returns the number of spatial tendons in the articulation.
PxArticulationReducedCoordinate_getRootAngularVelocity⚠
Gets the root link angular velocity.
PxArticulationReducedCoordinate_getRootGlobalPose⚠
Returns the root link transform (world to actor frame).
PxArticulationReducedCoordinate_getRootLinearVelocity⚠
Gets the root link center-of-mass linear velocity.
PxArticulationReducedCoordinate_getScene⚠
Returns the scene which this articulation belongs to.
PxArticulationReducedCoordinate_getSensors⚠
Returns the sensors attached to the articulation.
PxArticulationReducedCoordinate_getSleepThreshold⚠
Returns the mass-normalized energy below which the articulation may go to sleep.
PxArticulationReducedCoordinate_getSolverIterationCounts⚠
Returns the solver iteration counts.
PxArticulationReducedCoordinate_getSpatialTendons⚠
Returns the spatial tendons attached to the articulation.
PxArticulationReducedCoordinate_getStabilizationThreshold⚠
Returns the mass-normalized kinetic energy below which the articulation may participate in stabilization.
PxArticulationReducedCoordinate_getWakeCounter⚠
Returns the wake counter of the articulation in seconds.
PxArticulationReducedCoordinate_getWorldBounds⚠
Returns the axis-aligned bounding box enclosing the articulation.
PxArticulationReducedCoordinate_isSleeping⚠
Returns true if this articulation is sleeping.
PxArticulationReducedCoordinate_packJointData⚠
Converts maximal-coordinate joint DOF data to reduced coordinates.
PxArticulationReducedCoordinate_putToSleep_mut⚠
Forces the articulation to sleep.
PxArticulationReducedCoordinate_release_mut⚠
Releases the articulation, and all its links and corresponding joints.
PxArticulationReducedCoordinate_removeLoopJoint_mut⚠
Removes a loop joint from the articulation for inverse dynamics.
PxArticulationReducedCoordinate_setArticulationFlag_mut⚠
Raises or clears a flag on the articulation.
PxArticulationReducedCoordinate_setArticulationFlags_mut⚠
Sets flags on the articulation.
PxArticulationReducedCoordinate_setMaxCOMAngularVelocity_mut⚠
Sets the limit on the magnitude of the angular velocity at the articulation’s center of mass.
PxArticulationReducedCoordinate_setMaxCOMLinearVelocity_mut⚠
Sets the limit on the magnitude of the linear velocity of the articulation’s center of mass.
PxArticulationReducedCoordinate_setName_mut⚠
Sets a name string for the articulation that can be retrieved with getName().
PxArticulationReducedCoordinate_setRootAngularVelocity_mut⚠
Sets the root link angular velocity.
PxArticulationReducedCoordinate_setRootGlobalPose_mut⚠
Sets the root link transform (world to actor frame).
PxArticulationReducedCoordinate_setRootLinearVelocity_mut⚠
Sets the root link linear center-of-mass velocity.
PxArticulationReducedCoordinate_setSleepThreshold_mut⚠
Sets the mass-normalized energy threshold below which the articulation may go to sleep.
PxArticulationReducedCoordinate_setSolverIterationCounts_mut⚠
Sets the solver iteration counts for the articulation.
PxArticulationReducedCoordinate_setStabilizationThreshold_mut⚠
Sets the mass-normalized kinetic energy threshold below which the articulation may participate in stabilization.
PxArticulationReducedCoordinate_setWakeCounter_mut⚠
Sets the wake counter for the articulation in seconds.
PxArticulationReducedCoordinate_unpackJointData⚠
Converts reduced-coordinate joint DOF data to maximal coordinates.
PxArticulationReducedCoordinate_updateKinematic_mut⚠
Update link velocities and/or positions in the articulation.
PxArticulationReducedCoordinate_wakeUp_mut⚠
Wakes up the articulation if it is sleeping.
PxArticulationReducedCoordinate_zeroCache⚠
Zeroes all data in the articulation cache, except user-provided and scratch memory, and cache version.
PxArticulationSensor_getArticulation⚠
Returns the articulation that this sensor is part of.
PxArticulationSensor_getConcreteTypeName⚠
Returns the string name of the dynamic type.
PxArticulationSensor_getFlags⚠
Returns the sensor’s flags.
PxArticulationSensor_getForces⚠
Returns the spatial force in the local frame of the sensor.
PxArticulationSensor_getIndex⚠
Returns the index of this sensor inside the articulation.
PxArticulationSensor_getLink⚠
Returns the link that this sensor is attached to.
PxArticulationSensor_getRelativePose⚠
Returns the relative pose between this sensor and the body frame of the link that the sensor is attached to.
PxArticulationSensor_release_mut⚠
Releases the sensor.
PxArticulationSensor_setFlag_mut⚠
Sets a flag of the sensor.
PxArticulationSensor_setRelativePose_mut⚠
Sets the relative pose between this sensor and the body frame of the link that the sensor is attached to.
PxArticulationSpatialTendon_createAttachment_mut⚠
Creates an articulation attachment and adds it to the list of children in the parent attachment.
PxArticulationSpatialTendon_getAttachments⚠
Fills a user-provided buffer of attachment pointers with the set of attachments.
PxArticulationSpatialTendon_getConcreteTypeName⚠
Returns the string name of the dynamic type.
PxArticulationSpatialTendon_getNbAttachments⚠
Returns the number of attachments in the tendon.
PxArticulationTendonJoint_getCoefficient⚠
Gets the tendon joint coefficient.
PxArticulationTendonJoint_getConcreteTypeName⚠
Returns the string name of the dynamic type.
PxArticulationTendonJoint_getLink⚠
Gets the articulation link.
PxArticulationTendonJoint_getParent⚠
Gets the parent tendon joint.
PxArticulationTendonJoint_getTendon⚠
Gets the tendon that the joint is a part of.
PxArticulationTendonJoint_release_mut⚠
Releases a tendon joint.
PxArticulationTendonJoint_setCoefficient_mut⚠
Sets the tendon joint coefficient.
PxArticulationTendon_getArticulation⚠
Gets the articulation that the tendon is a part of.
PxArticulationTendon_getDamping⚠
Gets the damping term acting both on the tendon length and tendon-length limits.
PxArticulationTendon_getLimitStiffness⚠
Gets the limit stiffness term acting on the tendon’s length limits.
PxArticulationTendon_getOffset⚠
Gets the length offset term for the tendon.
PxArticulationTendon_getStiffness⚠
Gets the spring stiffness of the tendon.
PxArticulationTendon_release_mut⚠
Releases a tendon to remove it from the articulation and free its associated memory.
PxArticulationTendon_setDamping_mut⚠
Sets the damping term acting both on the tendon length and tendon-length limits.
PxArticulationTendon_setLimitStiffness_mut⚠
Sets the limit stiffness term acting on the tendon’s length limits.
PxArticulationTendon_setOffset_mut⚠
Sets the length offset term for the tendon.
PxArticulationTendon_setStiffness_mut⚠
Sets the spring stiffness term acting on the tendon length.
PxAssertHandler_delete⚠
PxBVH34MidphaseDesc_isValid⚠
Returns true if the descriptor is valid.
PxBVH34MidphaseDesc_setToDefault_mut⚠
Desc initialization to default value.
PxBVHDesc_isValid⚠
Returns true if the descriptor is valid.
PxBVHDesc_new⚠
PxBVHDesc_setToDefault_mut⚠
Initialize the BVH descriptor
PxBVHOverlapCallback_delete⚠
PxBVHOverlapCallback_reportHit_mut⚠
PxBVHRaycastCallback_delete⚠
PxBVHRaycastCallback_reportHit_mut⚠
PxBVHTraversalCallback_delete⚠
PxBVHTraversalCallback_reportLeaf_mut⚠
PxBVHTraversalCallback_visitNode_mut⚠
PxBVH_cull⚠
Frustum culling test against a BVH.
PxBVH_getBounds⚠
Retrieve the read-only bounds in the BVH.
PxBVH_getBoundsForModification_mut⚠
Retrieve the bounds in the BVH.
PxBVH_getConcreteTypeName⚠
PxBVH_getNbBounds⚠
Returns the number of bounds in the BVH.
PxBVH_overlap⚠
Overlap test against a BVH.
PxBVH_partialRefit_mut⚠
Refits subset of marked nodes.
PxBVH_raycast⚠
Raycast test against a BVH.
PxBVH_refit_mut⚠
Refit the BVH.
PxBVH_sweep⚠
Sweep test against a BVH.
PxBVH_traverse⚠
Generic BVH traversal function.
PxBVH_updateBounds_mut⚠
Update single bounds.
PxBaseMaterial_isKindOf⚠
PxBaseTask_addReference_mut⚠
Implemented by derived implementation classes
PxBaseTask_getContextId⚠
PxBaseTask_getName⚠
Return a user-provided task name for profiling purposes.
PxBaseTask_getReference⚠
Implemented by derived implementation classes
PxBaseTask_getTaskManager⚠
Return PxTaskManager to which this task was submitted
PxBaseTask_release_mut⚠
Implemented by derived implementation classes
PxBaseTask_removeReference_mut⚠
Implemented by derived implementation classes
PxBaseTask_run_mut⚠
The user-implemented run method where the task’s work should be performed
PxBaseTask_setContextId_mut⚠
PxBase_getBaseFlags⚠
Returns PxBaseFlags
PxBase_getConcreteType⚠
Returns concrete type of object.
PxBase_getConcreteTypeName⚠
Returns string name of dynamic type.
PxBase_isReleasable⚠
Whether the object is subordinate.
PxBase_release_mut⚠
Releases the PxBase instance, please check documentation of release in derived class.
PxBase_setBaseFlag_mut⚠
Set PxBaseFlag
PxBase_setBaseFlags_mut⚠
Set PxBaseFlags
PxBatchQueryExt_execute_mut⚠
PxBatchQueryExt_overlap_mut⚠
Performs an overlap test of a given geometry against objects in the scene.
PxBatchQueryExt_raycast_mut⚠
Performs a raycast against objects in the scene.
PxBatchQueryExt_release_mut⚠
PxBatchQueryExt_sweep_mut⚠
Performs a sweep test against objects in the scene.
PxBoundedData_new⚠
PxBounds3_basisExtent⚠
Construct from center, extent, and (not necessarily orthogonal) basis
PxBounds3_boundsOfPoints⚠
returns the AABB containing v0 and v1.
PxBounds3_centerExtents⚠
returns the AABB from center and extents vectors.
PxBounds3_closestPoint⚠
Finds the closest point in the box to the point p. If p is contained, this will be p, otherwise it will be the closest point on the surface of the box.
PxBounds3_contains⚠
indicates if these bounds contain v.
PxBounds3_empty⚠
Return empty bounds.
PxBounds3_fattenFast_mut⚠
fattens the AABB in all 3 dimensions by the given distance.
PxBounds3_fattenSafe_mut⚠
fattens the AABB in all 3 dimensions by the given distance.
PxBounds3_getCenter⚠
returns the center of this axis aligned box.
PxBounds3_getCenter_1⚠
get component of the box’s center along a given axis
PxBounds3_getDimensions⚠
returns the dimensions (width/height/depth) of this axis aligned box.
PxBounds3_getExtents⚠
get component of the box’s extents along a given axis
PxBounds3_getExtents_1⚠
returns the extents, which are half of the width/height/depth.
PxBounds3_include_mut⚠
expands the volume to include v
PxBounds3_include_mut_1⚠
expands the volume to include b.
PxBounds3_intersects⚠
indicates whether the intersection of this and b is empty or not.
PxBounds3_intersects1D⚠
computes the 1D-intersection between two AABBs, on a given axis.
PxBounds3_isEmpty⚠
PxBounds3_isFinite⚠
checks that the AABB values are not NaN
PxBounds3_isInside⚠
checks a box is inside another box.
PxBounds3_isValid⚠
checks that the AABB values describe a valid configuration.
PxBounds3_new⚠
Default constructor, not performing any initialization for performance reason.
PxBounds3_new_1⚠
Construct from two bounding points
PxBounds3_poseExtent⚠
Construct from pose and extent
PxBounds3_scaleFast_mut⚠
scales the AABB.
PxBounds3_scaleSafe_mut⚠
scales the AABB.
PxBounds3_setEmpty_mut⚠
Sets empty to true
PxBounds3_setMaximal_mut⚠
Sets the bounds to maximum size [-PX_MAX_BOUNDS_EXTENTS, PX_MAX_BOUNDS_EXTENTS].
PxBounds3_transformFast⚠
gets the transformed bounds of the passed AABB (resulting in a bigger AABB).
PxBounds3_transformFast_1⚠
gets the transformed bounds of the passed AABB (resulting in a bigger AABB).
PxBounds3_transformSafe⚠
gets the transformed bounds of the passed AABB (resulting in a bigger AABB).
PxBounds3_transformSafe_1⚠
gets the transformed bounds of the passed AABB (resulting in a bigger AABB).
PxBoxControllerDesc_delete⚠
PxBoxControllerDesc_isValid⚠
returns true if the current settings are valid
PxBoxControllerDesc_new_alloc⚠
constructor sets to default.
PxBoxControllerDesc_setToDefault_mut⚠
(re)sets the structure to the default.
PxBoxController_getHalfForwardExtent⚠
Gets controller’s half forward extent.
PxBoxController_getHalfHeight⚠
Gets controller’s half height.
PxBoxController_getHalfSideExtent⚠
Gets controller’s half side extent.
PxBoxController_setHalfForwardExtent_mut⚠
Sets controller’s half forward extent.
PxBoxController_setHalfHeight_mut⚠
Sets controller’s half height.
PxBoxController_setHalfSideExtent_mut⚠
Sets controller’s half side extent.
PxBoxGeometry_isValid⚠
Returns true if the geometry is valid.
PxBoxGeometry_new⚠
Constructor to initialize half extents from scalar parameters.
PxBoxGeometry_new_1⚠
Constructor to initialize half extents from vector parameter.
PxBoxObstacle_new⚠
PxBroadPhaseCallback_delete⚠
PxBroadPhaseCallback_onObjectOutOfBounds_mut⚠
Out-of-bounds notification.
PxBroadPhaseCallback_onObjectOutOfBounds_mut_1⚠
Out-of-bounds notification.
PxBroadPhaseDesc_isValid⚠
PxBroadPhaseDesc_new⚠
PxBroadPhaseExt_createRegionsFromWorldBounds⚠
Creates regions for PxSceneDesc, from a global box.
PxBroadPhaseRegions_addRegion_mut⚠
Adds a new broad-phase region.
PxBroadPhaseRegions_getNbOutOfBoundsObjects⚠
PxBroadPhaseRegions_getNbRegions⚠
Returns number of regions currently registered in the broad-phase.
PxBroadPhaseRegions_getOutOfBoundsObjects⚠
PxBroadPhaseRegions_getRegions⚠
Gets broad-phase regions.
PxBroadPhaseRegions_removeRegion_mut⚠
Removes a broad-phase region.
PxBroadPhaseResults_new⚠
PxBroadPhaseUpdateData_new⚠
PxBroadPhase_fetchResults_mut⚠
Retrieves the broadphase results after an update.
PxBroadPhase_getAllocator_mut⚠
Retrieves the broadphase allocator.
PxBroadPhase_getCaps⚠
Gets broad-phase caps.
PxBroadPhase_getContextID⚠
Retrieves the profiler’s context ID.
PxBroadPhase_getRegions_mut⚠
Retrieves the regions API if applicable.
PxBroadPhase_getType⚠
Gets the broadphase type.
PxBroadPhase_release_mut⚠
PxBroadPhase_setScratchBlock_mut⚠
Sets a scratch buffer
PxBroadPhase_update_mut⚠
Updates the broadphase and computes the lists of created/deleted pairs.
PxBroadPhase_update_mut_1⚠
Helper for single-threaded updates.
PxBroadcastingAllocator_allocate_mut⚠
Allocates size bytes of memory, which must be 16-byte aligned.
PxBroadcastingAllocator_deallocate_mut⚠
Frees memory previously allocated by allocate().
PxBroadcastingAllocator_delete⚠
The default constructor.
PxBroadcastingAllocator_new_alloc⚠
The default constructor.
PxBroadcastingErrorCallback_delete⚠
The default destructor.
PxBroadcastingErrorCallback_new_alloc⚠
The default constructor.
PxBroadcastingErrorCallback_reportError_mut⚠
Reports an error code.
PxCCDContactModifyCallback_onCCDContactModify_mut⚠
Passes modifiable arrays of contacts to the application.
PxCapsuleControllerDesc_delete⚠
PxCapsuleControllerDesc_isValid⚠
returns true if the current settings are valid
PxCapsuleControllerDesc_new_alloc⚠
constructor sets to default.
PxCapsuleControllerDesc_setToDefault_mut⚠
(re)sets the structure to the default.
PxCapsuleController_getClimbingMode⚠
Gets controller’s climbing mode.
PxCapsuleController_getHeight⚠
Gets controller’s height.
PxCapsuleController_getRadius⚠
Gets controller’s radius.
PxCapsuleController_setClimbingMode_mut⚠
Sets controller’s climbing mode.
PxCapsuleController_setHeight_mut⚠
Resets controller’s height.
PxCapsuleController_setRadius_mut⚠
Sets controller’s radius.
PxCapsuleGeometry_isValid⚠
Returns true if the geometry is valid.
PxCapsuleGeometry_new⚠
Constructor, initializes to a capsule with passed radius and half height.
PxCapsuleObstacle_new⚠
PxCollection_addId_mut⚠
Adds an id to a member PxBase object.
PxCollection_add_mut⚠
Adds a PxBase object to the collection.
PxCollection_add_mut_1⚠
Adds all PxBase objects and their ids of collection to this collection.
PxCollection_contains⚠
Returns whether the collection contains a certain PxBase object.
PxCollection_find⚠
Looks for a PxBase object given a PxSerialObjectId value.
PxCollection_getId⚠
Gets the PxSerialObjectId name of a PxBase object within the collection.
PxCollection_getIds⚠
Copies member PxSerialObjectId values to a user specified buffer.
PxCollection_getNbIds⚠
Gets number of PxSerialObjectId names in this collection.
PxCollection_getNbObjects⚠
Gets number of PxBase objects in this collection.
PxCollection_getObject⚠
Gets the PxBase object of this collection given its index.
PxCollection_getObjects⚠
Copies member PxBase pointers to a user specified buffer.
PxCollection_release_mut⚠
Deletes a collection object.
PxCollection_removeId_mut⚠
Removes id from a contained PxBase object.
PxCollection_remove_mut⚠
Removes a PxBase member object from the collection.
PxCollection_remove_mut_1⚠
Removes all PxBase objects of collection from this collection.
PxCollisionMeshMappingData_release_mut⚠
PxCollisionTetrahedronMeshData_getData⚠
PxCollisionTetrahedronMeshData_getData_mut⚠
PxCollisionTetrahedronMeshData_getMesh⚠
PxCollisionTetrahedronMeshData_getMesh_mut⚠
PxCollisionTetrahedronMeshData_release_mut⚠
PxConeLimitedConstraint_new⚠
PxConstraintAllocator_delete⚠
PxConstraintAllocator_reserveConstraintData_mut⚠
Allocates constraint data. It is the application’s responsibility to release this memory after PxSolveConstraints has completed.
PxConstraintAllocator_reserveFrictionData_mut⚠
Allocates friction data. Friction data can be retained by the application for a given pair and provided as an input to PxSolverContactDesc to improve simulation stability. It is the application’s responsibility to release this memory. If this memory is released, the application should ensure it does not pass pointers to this memory to PxSolverContactDesc.
PxConstraintConnector_connectToConstraint_mut⚠
Let the connector know it has been connected to a constraint.
PxConstraintConnector_delete⚠
virtual destructor
PxConstraintConnector_getConstantBlock⚠
Obtain the pointer to the constraint’s constant data
PxConstraintConnector_getSerializable_mut⚠
Obtain a reference to a PxBase interface if the constraint has one.
PxConstraintConnector_onComShift_mut⚠
Center-of-mass shift callback
PxConstraintConnector_onConstraintRelease_mut⚠
Constraint release callback
PxConstraintConnector_onOriginShift_mut⚠
Origin shift callback
PxConstraintConnector_prepareData_mut⚠
Pre-simulation data preparation when the constraint is marked dirty, this function is called at the start of the simulation step for the SDK to copy the constraint data block.
PxConstraintInfo_new⚠
PxConstraintInfo_new_1⚠
PxConstraintInvMassScale_new⚠
PxConstraintInvMassScale_new_1⚠
PxConstraintVisualizer_visualizeAngularLimit_mut⚠
Visualize joint angular limit
PxConstraintVisualizer_visualizeDoubleCone_mut⚠
Visualize joint double cone
PxConstraintVisualizer_visualizeJointFrames_mut⚠
Visualize joint frames
PxConstraintVisualizer_visualizeLimitCone_mut⚠
Visualize limit cone
PxConstraintVisualizer_visualizeLine_mut⚠
Visualize line
PxConstraintVisualizer_visualizeLinearLimit_mut⚠
Visualize joint linear limit
PxConstraint_getActors⚠
Retrieves the actors for this constraint.
PxConstraint_getBreakForce⚠
Retrieve the constraint break force and torque thresholds
PxConstraint_getConcreteTypeName⚠
PxConstraint_getExternalReference_mut⚠
Fetch external owner of the constraint.
PxConstraint_getFlags⚠
Retrieve the flags for this constraint
PxConstraint_getForce⚠
Retrieve the constraint force most recently applied to maintain this constraint.
PxConstraint_getMinResponseThreshold⚠
Retrieve the constraint break force and torque thresholds
PxConstraint_getScene⚠
Retrieves the scene which this constraint belongs to.
PxConstraint_isValid⚠
whether the constraint is valid.
PxConstraint_markDirty_mut⚠
Notify the scene that the constraint shader data has been updated by the application
PxConstraint_release_mut⚠
Releases a PxConstraint instance.
PxConstraint_setActors_mut⚠
Sets the actors for this constraint.
PxConstraint_setBreakForce_mut⚠
Set the break force and torque thresholds for this constraint.
PxConstraint_setConstraintFunctions_mut⚠
Set the constraint functions for this constraint
PxConstraint_setFlag_mut⚠
Set a flag for this constraint
PxConstraint_setFlags_mut⚠
Set the flags for this constraint
PxConstraint_setMinResponseThreshold_mut⚠
Set the minimum response threshold for a constraint row
PxContactJoint_computeJacobians⚠
PxContactJoint_getBounceThreshold⚠
PxContactJoint_getConcreteTypeName⚠
Returns string name of PxContactJoint, used for serialization
PxContactJoint_getContact⚠
Return the current contact of the joint
PxContactJoint_getContactNormal⚠
Return the current contact normal of the joint
PxContactJoint_getNbJacobianRows⚠
PxContactJoint_getPenetration⚠
Return the current penetration value of the joint
PxContactJoint_getRestitution⚠
PxContactJoint_setBounceThreshold_mut⚠
PxContactJoint_setContactNormal_mut⚠
Set the current contact normal of the joint
PxContactJoint_setContact_mut⚠
Set the current contact of the joint
PxContactJoint_setPenetration_mut⚠
Set the current penetration of the joint
PxContactJoint_setRestitution_mut⚠
PxContactModifyCallback_onContactModify_mut⚠
Passes modifiable arrays of contacts to the application.
PxContactPairExtraDataItem_new⚠
PxContactPairExtraDataIterator_new⚠
Constructor
PxContactPairExtraDataIterator_nextItemSet_mut⚠
Advances the iterator to next set of extra data items.
PxContactPairHeader_new⚠
PxContactPairIndex_new⚠
PxContactPairPose_new⚠
PxContactPairVelocity_new⚠
PxContactPair_bufferContacts⚠
Helper method to clone the contact pair and copy the contact data stream into a user buffer.
PxContactPair_extractContacts⚠
Extracts the contact points from the stream and stores them in a convenient format.
PxContactPair_getInternalFaceIndices⚠
PxContactPair_new⚠
PxContactSet_getDynamicFriction⚠
Get the static friction coefficient for a specific contact point in the set.
PxContactSet_getInternalFaceIndex0⚠
Get the face index with respect to the first shape of the pair for a specific contact point in the set.
PxContactSet_getInternalFaceIndex1⚠
Get the face index with respect to the second shape of the pair for a specific contact point in the set.
PxContactSet_getInvInertiaScale0⚠
Returns the invInertiaScale of body 0
PxContactSet_getInvInertiaScale1⚠
Returns the invInertiaScale of body 1
PxContactSet_getInvMassScale0⚠
Returns the invMassScale of body 0
PxContactSet_getInvMassScale1⚠
Returns the invMassScale of body 1
PxContactSet_getMaxImpulse⚠
Get the maximum impulse for a specific contact point in the set.
PxContactSet_getNormal⚠
Get the contact normal of a specific contact point in the set.
PxContactSet_getPoint⚠
Get the position of a specific contact point in the set.
PxContactSet_getRestitution⚠
Get the restitution coefficient for a specific contact point in the set.
PxContactSet_getSeparation⚠
Get the separation distance of a specific contact point in the set.
PxContactSet_getStaticFriction⚠
Get the static friction coefficient for a specific contact point in the set.
PxContactSet_getTargetVelocity⚠
Get the target velocity of a specific contact point in the set.
PxContactSet_ignore_mut⚠
Ignore the contact point.
PxContactSet_setDynamicFriction_mut⚠
Alter the static dynamic coefficient for a specific contact point in the set.
PxContactSet_setInvInertiaScale0_mut⚠
Sets the invInertiaScale of body 0
PxContactSet_setInvInertiaScale1_mut⚠
Sets the invInertiaScale of body 1
PxContactSet_setInvMassScale0_mut⚠
Sets the invMassScale of body 0
PxContactSet_setInvMassScale1_mut⚠
Sets the invMassScale of body 1
PxContactSet_setMaxImpulse_mut⚠
Alter the maximum impulse for a specific contact point in the set.
PxContactSet_setNormal_mut⚠
Alter the contact normal of a specific contact point in the set.
PxContactSet_setPoint_mut⚠
Alter the position of a specific contact point in the set.
PxContactSet_setRestitution_mut⚠
Alter the restitution coefficient for a specific contact point in the set.
PxContactSet_setSeparation_mut⚠
Alter the separation of a specific contact point in the set.
PxContactSet_setStaticFriction_mut⚠
Alter the static friction coefficient for a specific contact point in the set.
PxContactSet_setTargetVelocity_mut⚠
Alter the target velocity of a specific contact point in the set.
PxContactSet_size⚠
The number of contact points in the set.
PxContactStreamIterator_advanceToIndex_mut⚠
Advances the contact stream iterator to a specific contact index.
PxContactStreamIterator_getContactNormal⚠
Gets the current contact’s normal
PxContactStreamIterator_getContactPoint⚠
Gets the contact’s contact point.
PxContactStreamIterator_getDamping⚠
Gets the contact’s damping value.
PxContactStreamIterator_getDynamicFriction⚠
Gets the contact’s dynamic friction coefficient.
PxContactStreamIterator_getFaceIndex0⚠
Gets the contact’s face index for shape 0.
PxContactStreamIterator_getFaceIndex1⚠
Gets the contact’s face index for shape 1.
PxContactStreamIterator_getInvInertiaScale0⚠
Gets the inverse inertia scale for body 0.
PxContactStreamIterator_getInvInertiaScale1⚠
Gets the inverse inertia scale for body 1.
PxContactStreamIterator_getInvMassScale0⚠
Gets the inverse mass scale for body 0.
PxContactStreamIterator_getInvMassScale1⚠
Gets the inverse mass scale for body 1.
PxContactStreamIterator_getMaterialFlags⚠
Gets the contact’s material flags.
PxContactStreamIterator_getMaterialIndex0⚠
Gets the contact’s material index for shape 0.
PxContactStreamIterator_getMaterialIndex1⚠
Gets the contact’s material index for shape 1.
PxContactStreamIterator_getMaxImpulse⚠
Gets the contact’s max impulse.
PxContactStreamIterator_getRestitution⚠
Gets the contact’s restitution coefficient.
PxContactStreamIterator_getSeparation⚠
Gets the contact’s separation.
PxContactStreamIterator_getStaticFriction⚠
Gets the contact’s static friction coefficient.
PxContactStreamIterator_getTargetVel⚠
Gets the contact’s target velocity.
PxContactStreamIterator_getTotalContactCount⚠
Returns the total contact count.
PxContactStreamIterator_getTotalPatchCount⚠
Returns the total patch count.
PxContactStreamIterator_hasNextContact⚠
Returns if the current patch has more contacts.
PxContactStreamIterator_hasNextPatch⚠
Returns whether there are more patches in this stream.
PxContactStreamIterator_new⚠
Constructor
PxContactStreamIterator_nextContact_mut⚠
Advances to the next contact in the patch.
PxContactStreamIterator_nextPatch_mut⚠
Advances iterator to next contact patch.
PxControllerBehaviorCallback_getBehaviorFlags_mut⚠
Retrieve behavior flags for a shape.
PxControllerBehaviorCallback_getBehaviorFlags_mut_1⚠
Retrieve behavior flags for a controller.
PxControllerBehaviorCallback_getBehaviorFlags_mut_2⚠
Retrieve behavior flags for an obstacle.
PxControllerDesc_getType⚠
Returns the character controller type
PxControllerDesc_isValid⚠
returns true if the current settings are valid
PxControllerFilterCallback_delete⚠
PxControllerFilterCallback_filter_mut⚠
Filtering method for CCT-vs-CCT.
PxControllerFilters_new⚠
PxControllerManager_computeInteractions_mut⚠
Computes character-character interactions.
PxControllerManager_createController_mut⚠
Creates a new character controller.
PxControllerManager_createObstacleContext_mut⚠
Creates an obstacle context.
PxControllerManager_getController_mut⚠
Retrieve one of the controllers in the manager.
PxControllerManager_getNbControllers⚠
Returns the number of controllers that are being managed.
PxControllerManager_getNbObstacleContexts⚠
Returns the number of obstacle contexts that are being managed.
PxControllerManager_getObstacleContext_mut⚠
Retrieve one of the obstacle contexts in the manager.
PxControllerManager_getRenderBuffer_mut⚠
Retrieves debug data.
PxControllerManager_getScene⚠
Returns the scene the manager is adding the controllers to.
PxControllerManager_purgeControllers_mut⚠
Releases all the controllers that are being managed.
PxControllerManager_release_mut⚠
Releases the controller manager.
PxControllerManager_setDebugRenderingFlags_mut⚠
Sets debug rendering flags
PxControllerManager_setOverlapRecoveryModule_mut⚠
Enables or disables the overlap recovery module.
PxControllerManager_setPreciseSweeps_mut⚠
Enables or disables the precise sweeps.
PxControllerManager_setPreventVerticalSlidingAgainstCeiling_mut⚠
Enables or disables vertical sliding against ceilings.
PxControllerManager_setTessellation_mut⚠
Enables or disables runtime tessellation.
PxControllerManager_shiftOrigin_mut⚠
Shift the origin of the character controllers and obstacle objects by the specified vector.
PxController_getActor⚠
Get the rigid body actor associated with this controller (see PhysX documentation). The behavior upon manually altering this actor is undefined, you should primarily use it for reading const properties.
PxController_getContactOffset⚠
Retrieve the contact offset.
PxController_getFootPosition⚠
Retrieve the “foot” position of the controller, i.e. the position of the bottom of the CCT’s shape.
PxController_getNonWalkableMode⚠
Retrieves the non-walkable mode for the CCT.
PxController_getPosition⚠
Retrieve the raw position of the controller.
PxController_getScene_mut⚠
Retrieve the scene associated with the controller.
PxController_getSlopeLimit⚠
Retrieve the slope limit.
PxController_getState⚠
Returns information about the controller’s internal state.
PxController_getStats⚠
Returns the controller’s internal statistics.
PxController_getStepOffset⚠
Retrieve the step height.
PxController_getType⚠
Return the type of controller
PxController_getUpDirection⚠
Retrieve the ‘up’ direction.
PxController_getUserData⚠
Returns the user data associated with this controller.
PxController_invalidateCache_mut⚠
Flushes internal geometry cache.
PxController_move_mut⚠
Moves the character using a “collide-and-slide” algorithm.
PxController_release_mut⚠
Releases the controller.
PxController_resize_mut⚠
Resizes the controller.
PxController_setContactOffset_mut⚠
Sets the contact offset.
PxController_setFootPosition_mut⚠
Set controller’s foot position.
PxController_setNonWalkableMode_mut⚠
Sets the non-walkable mode for the CCT.
PxController_setPosition_mut⚠
Sets controller’s position.
PxController_setSlopeLimit_mut⚠
Sets the slope limit.
PxController_setStepOffset_mut⚠
The step height.
PxController_setUpDirection_mut⚠
Sets the ‘up’ direction.
PxController_setUserData_mut⚠
Sets the user data associated with this controller.
PxConvexMeshDesc_isValid⚠
Returns true if the descriptor is valid.
PxConvexMeshDesc_new⚠
constructor sets to default.
PxConvexMeshDesc_setToDefault_mut⚠
(re)sets the structure to the default.
PxConvexMeshGeometry_isValid⚠
Returns true if the geometry is valid.
PxConvexMeshGeometry_new⚠
Constructor. By default creates an empty object with a NULL mesh and identity scale.
PxConvexMesh_getConcreteTypeName⚠
PxConvexMesh_getIndexBuffer⚠
Returns the index buffer.
PxConvexMesh_getLocalBounds⚠
Returns the local-space (vertex space) AABB from the convex mesh.
PxConvexMesh_getMassInformation⚠
Returns the mass properties of the mesh assuming unit density.
PxConvexMesh_getNbPolygons⚠
Returns the number of polygons.
PxConvexMesh_getNbVertices⚠
Returns the number of vertices.
PxConvexMesh_getPolygonData⚠
Returns the polygon data.
PxConvexMesh_getSDF⚠
Returns the local-space Signed Distance Field for this mesh if it has one.
PxConvexMesh_getVertices⚠
Returns the vertices.
PxConvexMesh_isGpuCompatible⚠
This method decides whether a convex mesh is gpu compatible. If the total number of vertices are more than 64 or any number of vertices in a polygon is more than 32, or convex hull data was not cooked with GPU data enabled during cooking or was loaded from a serialized collection, the convex hull is incompatible with GPU collision detection. Otherwise it is compatible.
PxConvexMesh_release_mut⚠
Decrements the reference count of a convex mesh and releases it if the new reference count is zero.
PxCookingParams_new⚠
PxCounterFrequencyToTensOfNanos_new⚠
PxCounterFrequencyToTensOfNanos_toTensOfNanos⚠
PxCpuDispatcher_delete⚠
PxCpuDispatcher_getWorkerCount⚠
Returns the number of available worker threads for this dispatcher.
PxCpuDispatcher_submitTask_mut⚠
Called by the TaskManager when a task is to be queued for execution.
PxCustomGeometryCallbacks_computeMassProperties⚠
Compute custom geometry mass properties. For geometries usable with dynamic rigidbodies.
PxCustomGeometryCallbacks_delete⚠
PxCustomGeometryCallbacks_getCustomType⚠
Return custom type. The type purpose is for user to differentiate custom geometries. Not used by PhysX.
PxCustomGeometryCallbacks_getLocalBounds⚠
Return local bounds.
PxCustomGeometryCallbacks_overlap⚠
Overlap. Test if geometries overlap.
PxCustomGeometryCallbacks_raycast⚠
Raycast. Cast a ray against the geometry in given pose.
PxCustomGeometryCallbacks_sweep⚠
Sweep. Sweep one geometry against the other.
PxCustomGeometryCallbacks_usePersistentContactManifold⚠
Compatible with PhysX’s PCM feature. Allows to optimize contact generation.
PxCustomGeometryType_INVALID⚠
Invalid type
PxCustomGeometryType_new⚠
Default constructor
PxCustomGeometry_getCustomType⚠
Returns the custom type of the custom geometry.
PxCustomGeometry_isValid⚠
Returns true if the geometry is valid.
PxCustomGeometry_new⚠
Default constructor.
PxCustomGeometry_new_1⚠
Constructor.
PxCustomSceneQuerySystemAdapter_delete⚠
PxCustomSceneQuerySystemAdapter_getPrunerIndex⚠
Gets a pruner index for an actor/shape.
PxCustomSceneQuerySystemAdapter_processPruner⚠
Pruner filtering callback.
PxCustomSceneQuerySystem_addPruner_mut⚠
Adds a pruner to the system.
PxCustomSceneQuerySystem_customBuildstep_mut⚠
Perform a custom build-step for a given pruner.
PxCustomSceneQuerySystem_finishCustomBuildstep_mut⚠
Finish custom build-steps
PxCustomSceneQuerySystem_startCustomBuildstep_mut⚠
Start custom build-steps for all pruners
PxD6JointDrive_isValid⚠
returns true if the drive is valid
PxD6JointDrive_new⚠
default constructor for PxD6JointDrive.
PxD6JointDrive_new_1⚠
constructor a PxD6JointDrive.
PxD6Joint_getConcreteTypeName⚠
Returns string name of PxD6Joint, used for serialization
PxD6Joint_getDistanceLimit⚠
Get the distance limit for the joint.
PxD6Joint_getDrive⚠
Get the drive parameters for the specified drive type.
PxD6Joint_getDrivePosition⚠
Get the drive goal pose.
PxD6Joint_getDriveVelocity⚠
Get the target goal velocity for joint drive.
PxD6Joint_getLinearLimit⚠
Get the linear limit for a given linear axis.
PxD6Joint_getMotion⚠
Get the motion type around the specified axis.
PxD6Joint_getProjectionAngularTolerance⚠
Get the angular tolerance threshold for projection.
PxD6Joint_getProjectionLinearTolerance⚠
Get the linear tolerance threshold for projection.
PxD6Joint_getPyramidSwingLimit⚠
Get the pyramidal swing limit for the joint.
PxD6Joint_getSwingLimit⚠
Get the cone limit for the joint.
PxD6Joint_getSwingYAngle⚠
get the swing angle of the joint from the Y axis
PxD6Joint_getSwingZAngle⚠
get the swing angle of the joint from the Z axis
PxD6Joint_getTwistAngle⚠
get the twist angle of the joint, in the range (-2Pi, 2Pi]
PxD6Joint_getTwistLimit⚠
Get the twist limit for the joint.
PxD6Joint_setDistanceLimit_mut⚠
Set the distance limit for the joint.
PxD6Joint_setDrivePosition_mut⚠
Set the drive goal pose
PxD6Joint_setDriveVelocity_mut⚠
Set the target goal velocity for drive.
PxD6Joint_setDrive_mut⚠
Set the drive parameters for the specified drive type.
PxD6Joint_setLinearLimit_mut⚠
Set the linear limit for a given linear axis.
PxD6Joint_setMotion_mut⚠
Set the motion type around the specified axis.
PxD6Joint_setProjectionAngularTolerance_mut⚠
Set the angular tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint.
PxD6Joint_setProjectionLinearTolerance_mut⚠
Set the linear tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint.
PxD6Joint_setPyramidSwingLimit_mut⚠
Set a pyramidal swing limit for the joint.
PxD6Joint_setSwingLimit_mut⚠
Set the swing cone limit for the joint.
PxD6Joint_setTwistLimit_mut⚠
Set the twist limit for the joint.
PxDebugLine_new⚠
PxDebugPoint_new⚠
PxDebugText_new⚠
PxDebugText_new_1⚠
PxDebugTriangle_new⚠
PxDefaultAllocator_allocate_mut⚠
PxDefaultAllocator_deallocate_mut⚠
PxDefaultAllocator_delete⚠
PxDefaultCpuDispatcher_getRunProfiled⚠
Checks if profiling is enabled at task level.
PxDefaultCpuDispatcher_release_mut⚠
Deletes the dispatcher.
PxDefaultCpuDispatcher_setRunProfiled_mut⚠
Enables profiling at task level.
PxDefaultErrorCallback_delete⚠
PxDefaultErrorCallback_new_alloc⚠
PxDefaultErrorCallback_reportError_mut⚠
PxDefaultFileInputData_delete⚠
PxDefaultFileInputData_getLength⚠
PxDefaultFileInputData_isValid⚠
PxDefaultFileInputData_new_alloc⚠
PxDefaultFileInputData_read_mut⚠
PxDefaultFileInputData_seek_mut⚠
PxDefaultFileInputData_tell⚠
PxDefaultFileOutputStream_delete⚠
PxDefaultFileOutputStream_isValid_mut⚠
PxDefaultFileOutputStream_new_alloc⚠
PxDefaultFileOutputStream_write_mut⚠
PxDefaultMemoryInputData_getLength⚠
PxDefaultMemoryInputData_new_alloc⚠
PxDefaultMemoryInputData_read_mut⚠
PxDefaultMemoryInputData_seek_mut⚠
PxDefaultMemoryInputData_tell⚠
PxDefaultMemoryOutputStream_delete⚠
PxDefaultMemoryOutputStream_getData⚠
PxDefaultMemoryOutputStream_getSize⚠
PxDefaultMemoryOutputStream_new_alloc⚠
PxDefaultMemoryOutputStream_write_mut⚠
PxDeletionListener_onRelease_mut⚠
Notification if an object or its memory gets released
PxDeserializationContext_alignExtraData_mut⚠
Function to align the extra data stream to a power of 2 alignment
PxDeserializationContext_readName_mut⚠
Helper function to read a name from the extra data during deserialization.
PxDeserializationContext_resolveReference⚠
Retrieves a pointer to a deserialized PxBase object given a corresponding deserialized reference value
PxDiffuseParticleParams_new⚠
Construct parameters with default values.
PxDiffuseParticleParams_setToDefault_mut⚠
(re)sets the structure to the default.
PxDim3_new⚠
PxDistanceJoint_getConcreteTypeName⚠
Returns string name of PxDistanceJoint, used for serialization
PxDistanceJoint_getContactDistance⚠
Get the contact distance.
PxDistanceJoint_getDamping⚠
Get the damping of the joint spring.
PxDistanceJoint_getDistance⚠
Return the current distance of the joint
PxDistanceJoint_getDistanceJointFlags⚠
Get the flags specific to the Distance Joint.
PxDistanceJoint_getMaxDistance⚠
Get the allowed maximum distance for the joint.
PxDistanceJoint_getMinDistance⚠
Get the allowed minimum distance for the joint.
PxDistanceJoint_getStiffness⚠
Get the strength of the joint spring.
PxDistanceJoint_getTolerance⚠
Get the error tolerance of the joint.
PxDistanceJoint_setContactDistance_mut⚠
Set the contact distance for the min & max distance limits.
PxDistanceJoint_setDamping_mut⚠
Set the damping of the joint spring.
PxDistanceJoint_setDistanceJointFlag_mut⚠
Set a single flag specific to a Distance Joint to true or false.
PxDistanceJoint_setDistanceJointFlags_mut⚠
Set the flags specific to the Distance Joint.
PxDistanceJoint_setMaxDistance_mut⚠
Set the allowed maximum distance for the joint.
PxDistanceJoint_setMinDistance_mut⚠
Set the allowed minimum distance for the joint.
PxDistanceJoint_setStiffness_mut⚠
Set the strength of the joint spring.
PxDistanceJoint_setTolerance_mut⚠
Set the error tolerance of the joint.
PxDominanceGroupPair_new⚠
PxErrorCallback_delete⚠
PxErrorCallback_reportError_mut⚠
Reports an error code.
PxExtendedVec3_cross⚠
PxExtendedVec3_cross_mut⚠
PxExtendedVec3_cross_mut_1⚠
PxExtendedVec3_cross_mut_2⚠
PxExtendedVec3_distanceSquared⚠
PxExtendedVec3_dot⚠
PxExtendedVec3_isFinite⚠
PxExtendedVec3_isZero⚠
PxExtendedVec3_magnitude⚠
PxExtendedVec3_magnitudeSquared⚠
PxExtendedVec3_maximum_mut⚠
PxExtendedVec3_minimum_mut⚠
PxExtendedVec3_new⚠
PxExtendedVec3_new_1⚠
PxExtendedVec3_normalize_mut⚠
PxExtendedVec3_setMinusInfinity_mut⚠
PxExtendedVec3_setPlusInfinity_mut⚠
PxExtendedVec3_set_mut⚠
PxFEMMaterial_getDynamicFriction⚠
Retrieves the dynamic friction value
PxFEMMaterial_getPoissons⚠
Retrieves the Poisson’s ratio.
PxFEMMaterial_getYoungsModulus⚠
Retrieves the young’s modulus value.
PxFEMMaterial_setDynamicFriction_mut⚠
Sets the dynamic friction value which defines the strength of resistance when two objects slide relative to each other while in contact.
PxFEMMaterial_setPoissons_mut⚠
Sets the Poisson’s ratio which defines the body’s volume preservation. Completely incompressible materials have a poisson ratio of 0.5. Its value should not be set to exactly 0.5 because this leads to numerical problems.
PxFEMMaterial_setYoungsModulus_mut⚠
Sets young’s modulus which defines the body’s stiffness
PxFEMParameters_new⚠
PxFilterData_new⚠
PxFilterData_new_1⚠
Default constructor.
PxFilterData_new_2⚠
Constructor to set filter data initially.
PxFilterData_setToDefault_mut⚠
(re)sets the structure to the default.
PxFixedJoint_getConcreteTypeName⚠
Returns string name of PxFixedJoint, used for serialization
PxFoundation_deregisterAllocationListener_mut⚠
PxFoundation_deregisterErrorCallback_mut⚠
PxFoundation_getAllocatorCallback_mut⚠
Retrieves the allocator this object was created with.
PxFoundation_getErrorCallback_mut⚠
retrieves error callback
PxFoundation_getErrorLevel⚠
Retrieves mask of errors to be reported.
PxFoundation_getReportAllocationNames⚠
Retrieves if allocation names are being passed to allocator callback.
PxFoundation_registerAllocationListener_mut⚠
PxFoundation_registerErrorCallback_mut⚠
PxFoundation_release_mut⚠
Destroys the instance it is called on.
PxFoundation_setErrorLevel_mut⚠
Sets mask of errors to report.
PxFoundation_setReportAllocationNames_mut⚠
Set if allocation names are being passed to allocator callback.
PxGearJoint_getConcreteTypeName⚠
PxGearJoint_getGearRatio⚠
Get the gear ratio.
PxGearJoint_setGearRatio_mut⚠
Set the desired gear ratio.
PxGearJoint_setHinges_mut⚠
Set the hinge/revolute joints connected by the gear joint.
PxGeomIndexPair_new⚠
PxGeomIndexPair_new_1⚠
PxGeomOverlapHit_new⚠
PxGeomRaycastHit_new⚠
PxGeomSweepHit_new⚠
PxGeometryHolder_any⚠
PxGeometryHolder_any_mut⚠
PxGeometryHolder_box⚠
PxGeometryHolder_box_mut⚠
PxGeometryHolder_capsule⚠
PxGeometryHolder_capsule_mut⚠
PxGeometryHolder_convexMesh⚠
PxGeometryHolder_convexMesh_mut⚠
PxGeometryHolder_custom⚠
PxGeometryHolder_custom_mut⚠
PxGeometryHolder_getType⚠
PxGeometryHolder_hairSystem⚠
PxGeometryHolder_hairSystem_mut⚠
PxGeometryHolder_heightField⚠
PxGeometryHolder_heightField_mut⚠
PxGeometryHolder_new⚠
PxGeometryHolder_new_1⚠
PxGeometryHolder_particleSystem⚠
PxGeometryHolder_particleSystem_mut⚠
PxGeometryHolder_plane⚠
PxGeometryHolder_plane_mut⚠
PxGeometryHolder_sphere⚠
PxGeometryHolder_sphere_mut⚠
PxGeometryHolder_storeAny_mut⚠
PxGeometryHolder_tetMesh⚠
PxGeometryHolder_tetMesh_mut⚠
PxGeometryHolder_triangleMesh⚠
PxGeometryHolder_triangleMesh_mut⚠
PxGeometryQuery_computeGeomBounds⚠
computes the bounds for a geometry object
PxGeometryQuery_computePenetration⚠
Compute minimum translational distance (MTD) between two geometry objects.
PxGeometryQuery_isValid⚠
Checks if provided geometry is valid.
PxGeometryQuery_overlap⚠
Overlap test for two geometry objects.
PxGeometryQuery_pointDistance⚠
Computes distance between a point and a geometry object.
PxGeometryQuery_raycast⚠
Raycast test against a geometry object.
PxGeometryQuery_sweep⚠
Sweep a specified geometry object in space and test for collision with a given object.
PxGeometry_getType⚠
Returns the type of the geometry.
PxGroupsMask_delete⚠
PxGroupsMask_new_alloc⚠
PxHairSystemGeometry_isValid⚠
Returns true if the geometry is valid.
PxHairSystemGeometry_new⚠
Default constructor.
PxHeightFieldDesc_isValid⚠
Returns true if the descriptor is valid.
PxHeightFieldDesc_new⚠
Constructor sets to default.
PxHeightFieldDesc_setToDefault_mut⚠
(re)sets the structure to the default.
PxHeightFieldGeometry_isValid⚠
Returns true if the geometry is valid.
PxHeightFieldGeometry_new⚠
Constructor.
PxHeightFieldSample_clearTessFlag_mut⚠
PxHeightFieldSample_setTessFlag_mut⚠
PxHeightFieldSample_tessFlag⚠
PxHeightField_getConcreteTypeName⚠
PxHeightField_getConvexEdgeThreshold⚠
Retrieves the convex edge threshold.
PxHeightField_getFlags⚠
Retrieves the flags bits, combined from values of the enum ::PxHeightFieldFlag.
PxHeightField_getFormat⚠
Retrieves the format of the sample data.
PxHeightField_getHeight⚠
Retrieves the height at the given coordinates in grid space.
PxHeightField_getNbColumns⚠
Retrieves the number of sample columns in the samples array.
PxHeightField_getNbRows⚠
Retrieves the number of sample rows in the samples array.
PxHeightField_getSample⚠
Returns heightfield sample of given row and column
PxHeightField_getSampleStride⚠
Retrieves the offset in bytes between consecutive samples in the array.
PxHeightField_getTimestamp⚠
Returns the number of times the heightfield data has been modified
PxHeightField_getTriangleMaterialIndex⚠
Returns material table index of given triangle
PxHeightField_getTriangleNormal⚠
Returns a triangle face normal for a given triangle index
PxHeightField_modifySamples_mut⚠
Replaces a rectangular subfield in the sample data array.
PxHeightField_release_mut⚠
Decrements the reference count of a height field and releases it if the new reference count is zero.
PxHeightField_saveCells⚠
Writes out the sample data array.
PxInputData_delete⚠
PxInputData_getLength⚠
return the length of the input data
PxInputData_seek_mut⚠
seek to the given offset from the start of the data.
PxInputData_tell⚠
return the current offset from the start of the data
PxInputStream_delete⚠
PxInputStream_read_mut⚠
read from the stream. The number of bytes read may be less than the number requested.
PxInsertionCallback_buildObjectFromData_mut⚠
Builds object (TriangleMesh, Heightfield, ConvexMesh or BVH) from given data in PxPhysics.
PxJacobianRow_new⚠
PxJacobianRow_new_1⚠
PxJointAngularLimitPair_delete⚠
PxJointAngularLimitPair_isValid⚠
Returns true if the limit is valid.
PxJointAngularLimitPair_new⚠
construct an angular hard limit pair.
PxJointAngularLimitPair_new_1⚠
construct an angular soft limit pair.
PxJointLimitCone_delete⚠
PxJointLimitCone_isValid⚠
Returns true if the limit is valid.
PxJointLimitCone_new⚠
Construct a cone hard limit.
PxJointLimitCone_new_1⚠
Construct a cone soft limit.
PxJointLimitParameters_isSoft⚠
PxJointLimitParameters_isValid⚠
Returns true if the current settings are valid.
PxJointLimitParameters_new_alloc⚠
PxJointLimitPyramid_delete⚠
PxJointLimitPyramid_isValid⚠
Returns true if the limit is valid.
PxJointLimitPyramid_new⚠
Construct a pyramid hard limit.
PxJointLimitPyramid_new_1⚠
Construct a pyramid soft limit.
PxJointLinearLimitPair_delete⚠
PxJointLinearLimitPair_isValid⚠
Returns true if the limit is valid.
PxJointLinearLimitPair_new⚠
Construct a linear hard limit pair. The lower distance value must be less than the upper distance value.
PxJointLinearLimitPair_new_1⚠
construct a linear soft limit pair
PxJointLinearLimit_delete⚠
PxJointLinearLimit_isValid⚠
Returns true if the limit is valid
PxJointLinearLimit_new⚠
construct a linear hard limit
PxJointLinearLimit_new_1⚠
construct a linear soft limit
PxJoint_getActors⚠
Get the actors for this joint.
PxJoint_getBinaryMetaData⚠
Put class meta data in stream, used for serialization
PxJoint_getBreakForce⚠
get the break force for this joint.
PxJoint_getConstraint⚠
Retrieves the PxConstraint corresponding to this joint.
PxJoint_getConstraintFlags⚠
get the constraint flags for this joint.
PxJoint_getInvInertiaScale0⚠
get the inverse inertia scale for actor0.
PxJoint_getInvInertiaScale1⚠
get the inverse inertia scale for actor1.
PxJoint_getInvMassScale0⚠
get the inverse mass scale for actor0.
PxJoint_getInvMassScale1⚠
get the inverse mass scale for actor1.
PxJoint_getLocalPose⚠
get the joint local pose for an actor.
PxJoint_getName⚠
Retrieves the name string set with setName().
PxJoint_getRelativeAngularVelocity⚠
get the relative angular velocity of the joint
PxJoint_getRelativeLinearVelocity⚠
get the relative linear velocity of the joint
PxJoint_getRelativeTransform⚠
get the relative pose for this joint
PxJoint_getScene⚠
Retrieves the scene which this joint belongs to.
PxJoint_release_mut⚠
Deletes the joint.
PxJoint_setActors_mut⚠
Set the actors for this joint.
PxJoint_setBreakForce_mut⚠
set the break force for this joint.
PxJoint_setConstraintFlag_mut⚠
set a constraint flags for this joint to a specified value.
PxJoint_setConstraintFlags_mut⚠
set the constraint flags for this joint.
PxJoint_setInvInertiaScale0_mut⚠
set the inverse inertia scale for actor0.
PxJoint_setInvInertiaScale1_mut⚠
set the inverse inertia scale for actor1.
PxJoint_setInvMassScale0_mut⚠
set the inverse mass scale for actor0.
PxJoint_setInvMassScale1_mut⚠
set the inverse mass scale for actor1.
PxJoint_setLocalPose_mut⚠
Set the joint local pose for an actor.
PxJoint_setName_mut⚠
Sets a name string for the object that can be retrieved with getName().
PxLightCpuTask_addReference_mut⚠
Manually increment this task’s reference count. The task will not be allowed to run until removeReference() is called.
PxLightCpuTask_getContinuation⚠
Retrieves continuation task
PxLightCpuTask_getReference⚠
Return the ref-count for this task
PxLightCpuTask_release_mut⚠
called by CpuDispatcher after run method has completed
PxLightCpuTask_removeReference_mut⚠
Manually decrement this task’s reference count. If the reference count reaches zero, the task will be dispatched.
PxLightCpuTask_setContinuation_mut⚠
Initialize this task and specify the task that will have its ref count decremented on completion.
PxLightCpuTask_setContinuation_mut_1⚠
Initialize this task and specify the task that will have its ref count decremented on completion.
PxLocationHit_hadInitialOverlap⚠
For raycast hits: true for shapes overlapping with raycast origin.
PxLocationHit_new⚠
PxLockedData_delete⚠
virtual destructor
PxLockedData_getDataAccessFlags_mut⚠
Any combination of PxDataAccessFlag::eREADABLE and PxDataAccessFlag::eWRITABLE
PxLockedData_unlock_mut⚠
Unlocks the bulk data.
PxMassProperties_getMassSpaceInertia⚠
Get the entries of the diagonalized inertia tensor and the corresponding reference rotation.
PxMassProperties_new⚠
Default constructor.
PxMassProperties_new_1⚠
Construct from individual elements.
PxMassProperties_new_2⚠
Compute mass properties based on a provided geometry structure.
PxMassProperties_rotateInertia⚠
Rotate an inertia tensor around the center of mass
PxMassProperties_scaleInertia⚠
Non-uniform scaling of the inertia tensor
PxMassProperties_sum⚠
Sum up individual mass properties.
PxMassProperties_translateInertia⚠
Translate an inertia tensor using the parallel axis theorem
PxMassProperties_translate_mut⚠
Translate the center of mass by a given vector and adjust the inertia tensor accordingly.
PxMat33_createDiagonal⚠
Construct from diagonal, off-diagonals are zero.
PxMat33_front⚠
PxMat33_getDeterminant⚠
Get determinant
PxMat33_getInverse⚠
Get the real inverse
PxMat33_getTranspose⚠
Get transposed matrix
PxMat33_new⚠
Default constructor
PxMat33_new_1⚠
identity constructor
PxMat33_new_2⚠
zero constructor
PxMat33_new_3⚠
Construct from three base vectors
PxMat33_new_4⚠
constructor from a scalar, which generates a multiple of the identity matrix
PxMat33_new_5⚠
Construct from float[9]
PxMat33_new_6⚠
Construct from a quaternion
PxMat33_outer⚠
Computes the outer product of two vectors
PxMat33_transform⚠
Transform vector by matrix, equal to v’ = M*v
PxMat33_transformTranspose⚠
Transform vector by matrix transpose, v’ = M^t*v
PxMat44_front⚠
PxMat44_getBasis⚠
PxMat44_getPosition⚠
PxMat44_getTranspose⚠
Get transposed matrix
PxMat44_inverseRT⚠
PxMat44_isFinite⚠
PxMat44_new⚠
Default constructor
PxMat44_new_1⚠
identity constructor
PxMat44_new_2⚠
zero constructor
PxMat44_new_3⚠
Construct from four 4-vectors
PxMat44_new_4⚠
constructor that generates a multiple of the identity matrix
PxMat44_new_5⚠
Construct from three base vectors and a translation
PxMat44_new_6⚠
Construct from float[16]
PxMat44_new_7⚠
Construct from a quaternion
PxMat44_new_8⚠
Construct from a diagonal vector
PxMat44_new_9⚠
Construct from Mat33 and a translation
PxMat44_new_10⚠
PxMat44_rotate⚠
Rotate vector by matrix, equal to v’ = M*v
PxMat44_rotate_1⚠
Rotate vector by matrix, equal to v’ = M*v
PxMat44_scale_mut⚠
PxMat44_setPosition_mut⚠
PxMat44_transform⚠
Transform vector by matrix, equal to v’ = M*v
PxMat44_transform_1⚠
Transform vector by matrix, equal to v’ = M*v
PxMaterial_getConcreteTypeName⚠
PxMaterial_getDamping⚠
Retrieves the coefficient of damping.
PxMaterial_getDynamicFriction⚠
Retrieves the DynamicFriction value.
PxMaterial_getFlags⚠
Retrieves the flags. See PxMaterialFlag.
PxMaterial_getFrictionCombineMode⚠
Retrieves the friction combine mode.
PxMaterial_getRestitution⚠
Retrieves the coefficient of restitution.
PxMaterial_getRestitutionCombineMode⚠
Retrieves the restitution combine mode.
PxMaterial_getStaticFriction⚠
Retrieves the coefficient of static friction.
PxMaterial_setDamping_mut⚠
Sets the coefficient of damping
PxMaterial_setDynamicFriction_mut⚠
Sets the coefficient of dynamic friction.
PxMaterial_setFlag_mut⚠
Raises or clears a particular material flag.
PxMaterial_setFlags_mut⚠
sets all the material flags.
PxMaterial_setFrictionCombineMode_mut⚠
Sets the friction combine mode.
PxMaterial_setRestitutionCombineMode_mut⚠
Sets the restitution combine mode.
PxMaterial_setRestitution_mut⚠
Sets the coefficient of restitution
PxMaterial_setStaticFriction_mut⚠
Sets the coefficient of static friction
PxMeshOverlapUtil_delete⚠
PxMeshOverlapUtil_findOverlap_mut⚠
Find the mesh triangles which touch the specified geometry object.
PxMeshOverlapUtil_findOverlap_mut_1⚠
Find the height field triangles which touch the specified geometry object.
PxMeshOverlapUtil_getNbResults⚠
Retrieves number of triangle indices after a findOverlap call.
PxMeshOverlapUtil_getResults⚠
Retrieves array of triangle indices after a findOverlap call.
PxMeshOverlapUtil_new_alloc⚠
PxMeshQuery_findOverlapHeightField⚠
Find the height field triangles which touch the specified geometry object.
PxMeshQuery_findOverlapTriangleMesh⚠
Find the mesh triangles which touch the specified geometry object.
PxMeshQuery_getTriangle⚠
Retrieves triangle data from a triangle ID.
PxMeshQuery_getTriangle_1⚠
Retrieves triangle data from a triangle ID.
PxMeshQuery_sweep⚠
Sweep a specified geometry object in space and test for collision with a set of given triangles.
PxMeshScale_getInverse⚠
Returns the inverse of this scaling transformation.
PxMeshScale_hasNegativeDeterminant⚠
Returns true if combination of negative scale components will cause the triangle normal to flip. The SDK will flip the normals internally.
PxMeshScale_isIdentity⚠
Returns true if the scaling is an identity transformation.
PxMeshScale_isValidForConvexMesh⚠
PxMeshScale_isValidForTriangleMesh⚠
PxMeshScale_new⚠
Constructor initializes to identity scale.
PxMeshScale_new_1⚠
Constructor from scalar.
PxMeshScale_new_2⚠
Constructor to initialize to arbitrary scale and identity scale rotation.
PxMeshScale_new_3⚠
Constructor to initialize to arbitrary scaling.
PxMeshScale_toMat33⚠
Converts this transformation to a 3x3 matrix representation.
PxMeshScale_transform⚠
PxMidphaseDesc_getType⚠
Returns type of midphase mesh structure.
PxMidphaseDesc_isValid⚠
Returns true if the descriptor is valid.
PxMidphaseDesc_new⚠
PxMidphaseDesc_setToDefault_mut⚠
Initialize the midphase mesh structure descriptor
PxMutexImpl_delete⚠
The destructor for Mutex deletes the mutex.
PxMutexImpl_getSize⚠
Size of this class.
PxMutexImpl_lock_mut⚠
Acquire (lock) the mutex. If the mutex is already locked by another thread, this method blocks until the mutex is unlocked.
PxMutexImpl_new_alloc⚠
The constructor for Mutex creates a mutex. It is initially unlocked.
PxMutexImpl_trylock_mut⚠
Acquire (lock) the mutex. If the mutex is already locked by another thread, this method returns false without blocking.
PxMutexImpl_unlock_mut⚠
Release (unlock) the mutex.
PxNodeIndex_articulationLinkId⚠
PxNodeIndex_getInd⚠
PxNodeIndex_index⚠
PxNodeIndex_isArticulation⚠
PxNodeIndex_isStaticBody⚠
PxNodeIndex_isValid⚠
PxNodeIndex_new⚠
PxNodeIndex_new_1⚠
PxNodeIndex_setIndices_mut⚠
PxNodeIndex_setIndices_mut_1⚠
PxObstacleContext_addObstacle_mut⚠
Adds an obstacle to the context.
PxObstacleContext_getControllerManager⚠
Retrieves the controller manager associated with this context.
PxObstacleContext_getNbObstacles⚠
Retrieves number of obstacles in the context.
PxObstacleContext_getObstacle⚠
Retrieves desired obstacle.
PxObstacleContext_getObstacleByHandle⚠
Retrieves desired obstacle by given handle.
PxObstacleContext_release_mut⚠
Releases the context.
PxObstacleContext_removeObstacle_mut⚠
Removes an obstacle from the context.
PxObstacleContext_updateObstacle_mut⚠
Updates data for an existing obstacle.
PxObstacle_getType⚠
PxOutputStream_delete⚠
PxOutputStream_write_mut⚠
write to the stream. The number of bytes written may be less than the number sent.
PxParticleMaterial_getAdhesion⚠
Retrieves the adhesion term
PxParticleMaterial_getAdhesionRadiusScale⚠
Retrieves the adhesion radius scale.
PxParticleMaterial_getDamping⚠
Retrieves the velocity damping term
PxParticleMaterial_getFriction⚠
Retrieves the friction value.
PxParticleMaterial_getGravityScale⚠
Retrieves the gravity scale term
PxParticleMaterial_setAdhesionRadiusScale_mut⚠
Sets material adhesion radius scale. This is multiplied by the particle rest offset to compute the fall-off distance at which point adhesion ceases to operate.
PxParticleMaterial_setAdhesion_mut⚠
Sets adhesion term
PxParticleMaterial_setDamping_mut⚠
Sets velocity damping term
PxParticleMaterial_setFriction_mut⚠
Sets friction
PxParticleMaterial_setGravityScale_mut⚠
Sets gravity scale term
PxParticleSystemGeometry_isValid⚠
Returns true if the geometry is valid.
PxParticleSystemGeometry_new⚠
Default constructor.
PxPhysics_createAggregate_mut⚠
Creates an aggregate with the specified maximum size and filtering hint.
PxPhysics_createArticulationReducedCoordinate_mut⚠
Creates a reduced-coordinate articulation with all fields initialized to their default values.
PxPhysics_createBVH_mut⚠
Creates a bounding volume hierarchy.
PxPhysics_createConstraint_mut⚠
Creates a constraint shader.
PxPhysics_createConvexMesh_mut⚠
Creates a convex mesh object.
PxPhysics_createHeightField_mut⚠
Creates a heightfield object from previously cooked stream.
PxPhysics_createMaterial_mut⚠
Creates a new rigid body material with certain default properties.
PxPhysics_createPruningStructure_mut⚠
Creates a pruning structure from actors.
PxPhysics_createRigidDynamic_mut⚠
Creates a dynamic rigid actor with the specified pose and all other fields initialized to their default values.
PxPhysics_createRigidStatic_mut⚠
Creates a static rigid actor with the specified pose and all other fields initialized to their default values.
PxPhysics_createScene_mut⚠
Creates a scene.
PxPhysics_createShape_mut⚠
Creates a shape which may be attached to multiple actors
PxPhysics_createShape_mut_1⚠
Creates a shape which may be attached to multiple actors
PxPhysics_createSoftBodyMesh_mut⚠
Creates a softbody mesh object.
PxPhysics_createTetrahedronMesh_mut⚠
Creates a tetrahedron mesh object.
PxPhysics_createTriangleMesh_mut⚠
Creates a triangle mesh object.
PxPhysics_getBVHs⚠
Writes the array of bounding volume hierarchy pointers to a user buffer.
PxPhysics_getConvexMeshes⚠
Writes the array of convex mesh pointers to a user buffer.
PxPhysics_getFoundation_mut⚠
Retrieves the Foundation instance.
PxPhysics_getHeightFields⚠
Writes the array of heightfield pointers to a user buffer.
PxPhysics_getMaterials⚠
Writes the array of rigid body material pointers to a user buffer.
PxPhysics_getNbBVHs⚠
Return the number of bounding volume hierarchies that currently exist.
PxPhysics_getNbConvexMeshes⚠
Return the number of convex meshes that currently exist.
PxPhysics_getNbHeightFields⚠
Return the number of heightfields that currently exist.
PxPhysics_getNbMaterials⚠
Return the number of rigid body materials that currently exist.
PxPhysics_getNbScenes⚠
Gets number of created scenes.
PxPhysics_getNbShapes⚠
Return the number of shapes that currently exist.
PxPhysics_getNbTetrahedronMeshes⚠
Return the number of tetrahedron meshes that currently exist.
PxPhysics_getNbTriangleMeshes⚠
Return the number of triangle meshes that currently exist.
PxPhysics_getPhysicsInsertionCallback_mut⚠
Gets PxPhysics object insertion interface.
PxPhysics_getScenes⚠
Writes the array of scene pointers to a user buffer.
PxPhysics_getShapes⚠
Writes the array of shape pointers to a user buffer.
PxPhysics_getTetrahedronMeshes⚠
Writes the array of tetrahedron mesh pointers to a user buffer.
PxPhysics_getTolerancesScale⚠
Returns the simulation tolerance parameters.
PxPhysics_getTriangleMeshes⚠
Writes the array of triangle mesh pointers to a user buffer.
PxPhysics_registerDeletionListenerObjects_mut⚠
Register specific objects for deletion events.
PxPhysics_registerDeletionListener_mut⚠
Register a deletion listener. Listeners will be called whenever an object is deleted.
PxPhysics_release_mut⚠
Destroys the instance it is called on.
PxPhysics_unregisterDeletionListenerObjects_mut⚠
Unregister specific objects for deletion events.
PxPhysics_unregisterDeletionListener_mut⚠
Unregister a deletion listener.
PxPlaneGeometry_isValid⚠
Returns true if the geometry is valid.
PxPlaneGeometry_new⚠
Constructor.
PxPlane_contains⚠
PxPlane_distance⚠
PxPlane_inverseTransform⚠
inverse-transform plane
PxPlane_new⚠
Constructor
PxPlane_new_1⚠
Constructor from a normal and a distance
PxPlane_new_2⚠
Constructor from a normal and a distance
PxPlane_new_3⚠
Constructor from a point on the plane and a normal
PxPlane_new_4⚠
Constructor from three points
PxPlane_normalize_mut⚠
equivalent plane with unit normal
PxPlane_pointInPlane⚠
find an arbitrary point in the plane
PxPlane_project⚠
projects p into the plane
PxPlane_transform⚠
transform plane
PxPoissonSampler_addSamplesInBox_mut⚠
Adds new Poisson Samples inside the box specified
PxPoissonSampler_addSamplesInSphere_mut⚠
Adds new Poisson Samples inside the sphere specified
PxPoissonSampler_delete⚠
PxPoissonSampler_setSamplingRadius_mut⚠
Sets the sampling radius
PxPrismaticJoint_getConcreteTypeName⚠
Returns string name of PxPrismaticJoint, used for serialization
PxPrismaticJoint_getLimit⚠
gets the joint limit parameters.
PxPrismaticJoint_getPosition⚠
returns the displacement of the joint along its axis.
PxPrismaticJoint_getPrismaticJointFlags⚠
Get the flags specific to the Prismatic Joint.
PxPrismaticJoint_getVelocity⚠
returns the velocity of the joint along its axis
PxPrismaticJoint_setLimit_mut⚠
sets the joint limit parameters.
PxPrismaticJoint_setPrismaticJointFlag_mut⚠
Set a single flag specific to a Prismatic Joint to true or false.
PxPrismaticJoint_setPrismaticJointFlags_mut⚠
Set the flags specific to the Prismatic Joint.
PxProcessPxBaseCallback_delete⚠
PxProcessPxBaseCallback_process_mut⚠
PxProfileScoped_delete⚠
PxProfileScoped_new_alloc⚠
PxProfilerCallback_zoneEnd_mut⚠
Mark the end of a nested profile block
PxProfilerCallback_zoneStart_mut⚠
Mark the beginning of a nested profile block
PxPruningStructure_getConcreteTypeName⚠
PxPruningStructure_getDynamicMergeData⚠
Gets the merge data for dynamic actors
PxPruningStructure_getNbRigidActors⚠
Returns the number of rigid actors in the pruning structure.
PxPruningStructure_getRigidActors⚠
Retrieve rigid actors in the pruning structure.
PxPruningStructure_getStaticMergeData⚠
Gets the merge data for static actors
PxPruningStructure_release_mut⚠
Release this object.
PxPvdSceneClient_drawLines_mut⚠
draw lines on PVD application’s render window
PxPvdSceneClient_drawPoints_mut⚠
draw points on PVD application’s render window
PxPvdSceneClient_drawText_mut⚠
draw text on PVD application’s render window
PxPvdSceneClient_drawTriangles_mut⚠
draw triangles on PVD application’s render window
PxPvdSceneClient_getScenePvdFlags⚠
Retrieves the PVD flags. See PxPvdSceneFlags.
PxPvdSceneClient_setScenePvdFlag_mut⚠
Sets the PVD flag. See PxPvdSceneFlag.
PxPvdSceneClient_setScenePvdFlags_mut⚠
Sets the PVD flags. See PxPvdSceneFlags.
PxPvdSceneClient_updateCamera_mut⚠
update camera on PVD application’s render window
PxPvdTransport_connect_mut⚠
Connects to the Visual Debugger application. return True if success
PxPvdTransport_disconnect_mut⚠
Disconnects from the Visual Debugger application. If we are still connected, this will kill the entire debugger connection.
PxPvdTransport_flush_mut⚠
send any data and block until we know it is at least on the wire.
PxPvdTransport_getWrittenDataSize_mut⚠
Return size of written data.
PxPvdTransport_isConnected_mut⚠
Return if connection to PVD is created.
PxPvdTransport_lock_mut⚠
PxPvdTransport_release_mut⚠
PxPvdTransport_unlock_mut⚠
PxPvdTransport_write_mut⚠
write bytes to the other endpoint of the connection. should lock before witre. If an error occurs this connection will assume to be dead.
PxPvd_connect_mut⚠
Connects the SDK to the PhysX Visual Debugger application.
PxPvd_disconnect_mut⚠
Disconnects the SDK from the PhysX Visual Debugger application. If we are still connected, this will kill the entire debugger connection.
PxPvd_getInstrumentationFlags_mut⚠
Retrieves the PVD flags. See PxPvdInstrumentationFlags.
PxPvd_getTransport_mut⚠
returns the PVD data transport returns NULL if no transport is present.
PxPvd_isConnected_mut⚠
Return if connection to PVD is created.
PxPvd_release_mut⚠
Releases the pvd instance.
PxQuat_dot⚠
returns the scalar product of this and other.
PxQuat_getAngle⚠
Gets the angle between this quat and the identity quaternion.
PxQuat_getAngle_1⚠
Gets the angle between this quat and the argument
PxQuat_getBasisVector0⚠
brief computes rotation of x-axis
PxQuat_getBasisVector1⚠
brief computes rotation of y-axis
PxQuat_getBasisVector2⚠
brief computes rotation of z-axis
PxQuat_getConjugate⚠
PxQuat_getImaginaryPart⚠
PxQuat_getNormalized⚠
PxQuat_isFinite⚠
returns true if all elements are finite (not NAN or INF, etc.)
PxQuat_isIdentity⚠
returns true if quat is identity
PxQuat_isSane⚠
returns true if finite and magnitude is reasonably close to unit to allow for some accumulation of error vs isValid
PxQuat_isUnit⚠
returns true if finite and magnitude is close to unit
PxQuat_magnitude⚠
PxQuat_magnitudeSquared⚠
This is the squared 4D vector length, should be 1 for unit quaternions.
PxQuat_new⚠
Default constructor, does not do any initialization.
PxQuat_new_1⚠
identity constructor
PxQuat_new_2⚠
Constructor from a scalar: sets the real part w to the scalar value, and the imaginary parts (x,y,z) to zero
PxQuat_new_3⚠
Constructor. Take note of the order of the elements!
PxQuat_new_4⚠
Creates from angle-axis representation.
PxQuat_new_5⚠
Creates from orientation matrix.
PxQuat_normalize_mut⚠
maps to the closest unit quaternion.
PxQuat_rotate⚠
rotates passed vec by this (assumed unitary)
PxQuat_rotateInv⚠
inverse rotates passed vec by this (assumed unitary)
PxQuat_toRadiansAndUnitAxis⚠
converts this quaternion to angle-axis representation
PxQueryCache_new⚠
constructor sets to default
PxQueryCache_new_1⚠
constructor to set properties
PxQueryFilterCallback_delete⚠
virtual destructor
PxQueryFilterCallback_postFilter_mut⚠
This filter callback is executed if the exact intersection test returned true and PxQueryFlag::ePOSTFILTER flag was set.
PxQueryFilterCallback_preFilter_mut⚠
This filter callback is executed before the exact intersection test if PxQueryFlag::ePREFILTER flag was set.
PxQueryFilterData_new⚠
default constructor
PxQueryFilterData_new_1⚠
constructor to set both filter data and filter flags
PxQueryFilterData_new_2⚠
constructor to set filter flags only
PxQueryHit_new⚠
PxRackAndPinionJoint_getConcreteTypeName⚠
PxRackAndPinionJoint_getRatio⚠
Get the ratio.
PxRackAndPinionJoint_setData_mut⚠
Set the desired ratio indirectly.
PxRackAndPinionJoint_setJoints_mut⚠
Set the hinge & prismatic joints connected by the rack & pinion joint.
PxRackAndPinionJoint_setRatio_mut⚠
Set the desired ratio directly.
PxRawAllocator_allocate_mut⚠
PxRawAllocator_deallocate_mut⚠
PxRawAllocator_new⚠
PxReadWriteLock_delete⚠
PxReadWriteLock_lockReader_mut⚠
PxReadWriteLock_lockWriter_mut⚠
PxReadWriteLock_new_alloc⚠
PxReadWriteLock_unlockReader_mut⚠
PxReadWriteLock_unlockWriter_mut⚠
PxRefCounted_acquireReference_mut⚠
Acquires a counted reference to this object.
PxRefCounted_getReferenceCount⚠
Returns the reference count of the object.
PxRefCounted_release_mut⚠
Decrements the reference count of the object and releases it if the new reference count is zero.
PxRenderBuffer_addLine_mut⚠
PxRenderBuffer_addPoint_mut⚠
PxRenderBuffer_addTriangle_mut⚠
PxRenderBuffer_append_mut⚠
PxRenderBuffer_clear_mut⚠
PxRenderBuffer_delete⚠
PxRenderBuffer_empty⚠
PxRenderBuffer_getLines⚠
PxRenderBuffer_getNbLines⚠
PxRenderBuffer_getNbPoints⚠
PxRenderBuffer_getNbTriangles⚠
PxRenderBuffer_getPoints⚠
PxRenderBuffer_getTriangles⚠
PxRenderBuffer_reserveLines_mut⚠
PxRenderBuffer_reservePoints_mut⚠
PxRenderBuffer_shift_mut⚠
PxRepXInstantiationArgs_new⚠
PxRepXObject_isValid⚠
PxRepXObject_new⚠
PxRepXSerializer_fileToObject_mut⚠
Convert from a descriptor to a live object. Must be an object of this Serializer type.
PxRepXSerializer_getTypeName_mut⚠
The type this Serializer is meant to operate on.
PxRepXSerializer_objectToFile_mut⚠
Convert from a RepX object to a key-value pair hierarchy
PxRevoluteJoint_getAngle⚠
return the angle of the joint, in the range (-2Pi, 2Pi]
PxRevoluteJoint_getConcreteTypeName⚠
Returns string name of PxRevoluteJoint, used for serialization
PxRevoluteJoint_getDriveForceLimit⚠
gets the maximum torque the drive can exert.
PxRevoluteJoint_getDriveGearRatio⚠
gets the gear ratio.
PxRevoluteJoint_getDriveVelocity⚠
gets the target velocity for the drive model.
PxRevoluteJoint_getLimit⚠
get the joint limit parameters.
PxRevoluteJoint_getRevoluteJointFlags⚠
gets the flags specific to the Revolute Joint.
PxRevoluteJoint_getVelocity⚠
return the velocity of the joint
PxRevoluteJoint_setDriveForceLimit_mut⚠
sets the maximum torque the drive can exert.
PxRevoluteJoint_setDriveGearRatio_mut⚠
sets the gear ratio for the drive.
PxRevoluteJoint_setDriveVelocity_mut⚠
set the target velocity for the drive model.
PxRevoluteJoint_setLimit_mut⚠
set the joint limit parameters.
PxRevoluteJoint_setRevoluteJointFlag_mut⚠
sets a single flag specific to a Revolute Joint.
PxRevoluteJoint_setRevoluteJointFlags_mut⚠
sets the flags specific to the Revolute Joint.
PxRigidActorExt_createBVHFromActor⚠
Convenience function to create a PxBVH object from a PxRigidActor.
PxRigidActorExt_createExclusiveShape⚠
Creates a new shape with default properties and a list of materials and adds it to the list of shapes of this actor.
PxRigidActorExt_createExclusiveShape_1⚠
Creates a new shape with default properties and a single material adds it to the list of shapes of this actor.
PxRigidActorExt_getRigidActorShapeLocalBoundsList⚠
Gets a list of bounds based on shapes in rigid actor. This list can be used to cook/create bounding volume hierarchy though PxCooking API.
PxRigidActor_attachShape_mut⚠
Attach a shape to an actor
PxRigidActor_detachShape_mut⚠
Detach a shape from an actor.
PxRigidActor_getConstraints⚠
Retrieve all the constraint shader pointers belonging to the actor.
PxRigidActor_getGlobalPose⚠
Retrieves the actors world space transform.
PxRigidActor_getInternalActorIndex⚠
Returns the internal actor index.
PxRigidActor_getNbConstraints⚠
Returns the number of constraint shaders attached to the actor.
PxRigidActor_getNbShapes⚠
Returns the number of shapes assigned to the actor.
PxRigidActor_getShapes⚠
Retrieve all the shape pointers belonging to the actor.
PxRigidActor_release_mut⚠
Deletes the rigid actor object.
PxRigidActor_setGlobalPose_mut⚠
Method for setting an actor’s pose in the world.
PxRigidBodyExt_addForceAtLocalPos⚠
Applies a force (or impulse) defined in the global coordinate frame, acting at a particular point in local coordinates, to the actor.
PxRigidBodyExt_addForceAtPos⚠
Applies a force (or impulse) defined in the global coordinate frame, acting at a particular point in global coordinates, to the actor.
PxRigidBodyExt_addLocalForceAtLocalPos⚠
Applies a force (or impulse) defined in the actor local coordinate frame, acting at a particular point in local coordinates, to the actor.
PxRigidBodyExt_addLocalForceAtPos⚠
Applies a force (or impulse) defined in the actor local coordinate frame, acting at a particular point in global coordinates, to the actor.
PxRigidBodyExt_computeLinearAngularImpulse⚠
Computes the linear and angular impulse vectors for a given impulse at a world space position taking a mass and inertia scale into account
PxRigidBodyExt_computeMassPropertiesFromShapes⚠
Compute the mass, inertia tensor and center of mass from a list of shapes.
PxRigidBodyExt_computeVelocityDeltaFromImpulse⚠
Compute the change to linear and angular velocity that would occur if an impulsive force and torque were to be applied to a specified rigid body.
PxRigidBodyExt_computeVelocityDeltaFromImpulse_1⚠
Computes the linear and angular velocity change vectors for a given impulse at a world space position taking a mass and inertia scale into account
PxRigidBodyExt_getLocalVelocityAtLocalPos⚠
Computes the velocity of a point given in local coordinates if it were attached to the specified body and moving with it.
PxRigidBodyExt_getVelocityAtOffset⚠
Computes the velocity of a point (offset from the origin of the body) given in world coordinates if it were attached to the specified body and moving with it.
PxRigidBodyExt_getVelocityAtPos⚠
Computes the velocity of a point given in world coordinates if it were attached to the specified body and moving with it.
PxRigidBodyExt_linearSweepMultiple⚠
Performs a linear sweep through space with the body’s geometry objects, returning all overlaps.
PxRigidBodyExt_linearSweepSingle⚠
Performs a linear sweep through space with the body’s geometry objects.
PxRigidBodyExt_setMassAndUpdateInertia⚠
Computation of mass properties for a rigid body actor
PxRigidBodyExt_setMassAndUpdateInertia_1⚠
Computation of mass properties for a rigid body actor
PxRigidBodyExt_updateMassAndInertia⚠
Computation of mass properties for a rigid body actor
PxRigidBodyExt_updateMassAndInertia_1⚠
Computation of mass properties for a rigid body actor
PxRigidBody_addForce_mut⚠
Applies a force (or impulse) defined in the global coordinate frame to the actor at its center of mass.
PxRigidBody_addTorque_mut⚠
Applies an impulsive torque defined in the global coordinate frame to the actor.
PxRigidBody_clearForce_mut⚠
Clears the accumulated forces (sets the accumulated force back to zero).
PxRigidBody_clearTorque_mut⚠
Clears the impulsive torque defined in the global coordinate frame to the actor.
PxRigidBody_getAngularDamping⚠
Retrieves the angular damping coefficient.
PxRigidBody_getAngularVelocity⚠
Retrieves the angular velocity of the actor.
PxRigidBody_getCMassLocalPose⚠
Retrieves the center of mass pose relative to the actor frame.
PxRigidBody_getContactSlopCoefficient⚠
Returns the contact slop coefficient.
PxRigidBody_getInternalIslandNodeIndex⚠
Returns the island node index
PxRigidBody_getInvMass⚠
Retrieves the inverse mass of the actor.
PxRigidBody_getLinearDamping⚠
Retrieves the linear damping coefficient.
PxRigidBody_getLinearVelocity⚠
Retrieves the linear velocity of an actor.
PxRigidBody_getMass⚠
Retrieves the mass of the actor.
PxRigidBody_getMassSpaceInertiaTensor⚠
Retrieves the diagonal inertia tensor of the actor relative to the mass coordinate frame.
PxRigidBody_getMassSpaceInvInertiaTensor⚠
Retrieves the diagonal inverse inertia tensor of the actor relative to the mass coordinate frame.
PxRigidBody_getMaxAngularVelocity⚠
Retrieves the maximum angular velocity permitted for this actor.
PxRigidBody_getMaxContactImpulse⚠
Returns the maximum impulse that may be applied at a contact.
PxRigidBody_getMaxDepenetrationVelocity⚠
Returns the maximum depenetration velocity the solver is permitted to introduced. This value controls how much velocity the solver can introduce to correct for penetrations in contacts.
PxRigidBody_getMaxLinearVelocity⚠
Retrieves the maximum angular velocity permitted for this actor.
PxRigidBody_getMinCCDAdvanceCoefficient⚠
Gets the CCD minimum advance coefficient.
PxRigidBody_getRigidBodyFlags⚠
Reads the PxRigidBody flags.
PxRigidBody_setAngularDamping_mut⚠
Sets the angular damping coefficient.
PxRigidBody_setCMassLocalPose_mut⚠
Sets the pose of the center of mass relative to the actor.
PxRigidBody_setContactSlopCoefficient_mut⚠
Sets a distance scale whereby the angular influence of a contact on the normal constraint in a contact is zeroed if normal.cross(offset) falls below this tolerance. Rather than acting as an absolute value, this tolerance is scaled by the ratio rXn.dot(angVel)/normal.dot(linVel) such that contacts that have relatively larger angular velocity than linear normal velocity (e.g. rolling wheels) achieve larger slop values as the angular velocity increases.
PxRigidBody_setForceAndTorque_mut⚠
Sets the impulsive force and torque defined in the global coordinate frame to the actor.
PxRigidBody_setLinearDamping_mut⚠
Sets the linear damping coefficient.
PxRigidBody_setMassSpaceInertiaTensor_mut⚠
Sets the inertia tensor, using a parameter specified in mass space coordinates.
PxRigidBody_setMass_mut⚠
Sets the mass of a dynamic actor.
PxRigidBody_setMaxAngularVelocity_mut⚠
Lets you set the maximum angular velocity permitted for this actor.
PxRigidBody_setMaxContactImpulse_mut⚠
Sets a limit on the impulse that may be applied at a contact. The maximum impulse at a contact between two dynamic or kinematic bodies will be the minimum of the two limit values. For a collision between a static and a dynamic body, the impulse is limited by the value for the dynamic body.
PxRigidBody_setMaxDepenetrationVelocity_mut⚠
Sets the maximum depenetration velocity permitted to be introduced by the solver. This value controls how much velocity the solver can introduce to correct for penetrations in contacts.
PxRigidBody_setMaxLinearVelocity_mut⚠
Lets you set the maximum linear velocity permitted for this actor.
PxRigidBody_setMinCCDAdvanceCoefficient_mut⚠
Sets the CCD minimum advance coefficient.
PxRigidBody_setRigidBodyFlag_mut⚠
Raises or clears a particular rigid body flag.
PxRigidBody_setRigidBodyFlags_mut⚠
PxRigidDynamic_getAngularVelocity⚠
Retrieves the angular velocity of the actor.
PxRigidDynamic_getConcreteTypeName⚠
PxRigidDynamic_getContactReportThreshold⚠
Retrieves the force threshold for contact reports.
PxRigidDynamic_getKinematicTarget⚠
Get target pose of a kinematically controlled dynamic actor.
PxRigidDynamic_getLinearVelocity⚠
Retrieves the linear velocity of an actor.
PxRigidDynamic_getRigidDynamicLockFlags⚠
Reads the PxRigidDynamic lock flags.
PxRigidDynamic_getSleepThreshold⚠
Returns the mass-normalized kinetic energy below which an actor may go to sleep.
PxRigidDynamic_getSolverIterationCounts⚠
Retrieves the solver iteration counts.
PxRigidDynamic_getStabilizationThreshold⚠
Returns the mass-normalized kinetic energy below which an actor may participate in stabilization.
PxRigidDynamic_getWakeCounter⚠
Returns the wake counter of the actor.
PxRigidDynamic_isSleeping⚠
Returns true if this body is sleeping.
PxRigidDynamic_putToSleep_mut⚠
Forces the actor to sleep.
PxRigidDynamic_setAngularVelocity_mut⚠
Sets the angular velocity of the actor.
PxRigidDynamic_setContactReportThreshold_mut⚠
Sets the force threshold for contact reports.
PxRigidDynamic_setKinematicTarget_mut⚠
Moves kinematically controlled dynamic actors through the game world.
PxRigidDynamic_setLinearVelocity_mut⚠
Sets the linear velocity of the actor.
PxRigidDynamic_setRigidDynamicLockFlag_mut⚠
Raises or clears a particular rigid dynamic lock flag.
PxRigidDynamic_setRigidDynamicLockFlags_mut⚠
PxRigidDynamic_setSleepThreshold_mut⚠
Sets the mass-normalized kinetic energy threshold below which an actor may go to sleep.
PxRigidDynamic_setSolverIterationCounts_mut⚠
Sets the solver iteration counts for the body.
PxRigidDynamic_setStabilizationThreshold_mut⚠
Sets the mass-normalized kinetic energy threshold below which an actor may participate in stabilization.
PxRigidDynamic_setWakeCounter_mut⚠
Sets the wake counter for the actor.
PxRigidDynamic_wakeUp_mut⚠
Wakes up the actor if it is sleeping.
PxRigidStatic_getConcreteTypeName⚠
PxRunnable_delete⚠
PxRunnable_execute_mut⚠
PxRunnable_new_alloc⚠
PxSDFDesc_isValid⚠
Returns true if the descriptor is valid.
PxSDFDesc_new⚠
Constructor
PxSListEntry_new⚠
PxSListEntry_next_mut⚠
PxSListImpl_delete⚠
PxSListImpl_flush_mut⚠
PxSListImpl_getSize⚠
PxSListImpl_new_alloc⚠
PxSListImpl_pop_mut⚠
PxSListImpl_push_mut⚠
PxSceneDesc_getTolerancesScale⚠
PxSceneDesc_isValid⚠
Returns true if the descriptor is valid.
PxSceneDesc_new⚠
constructor sets to default.
PxSceneDesc_setToDefault_mut⚠
(re)sets the structure to the default.
PxSceneLimits_isValid⚠
Returns true if the descriptor is valid.
PxSceneLimits_new⚠
constructor sets to default
PxSceneLimits_setToDefault_mut⚠
(re)sets the structure to the default
PxSceneQueryDesc_isValid⚠
Returns true if the descriptor is valid.
PxSceneQueryDesc_new⚠
constructor sets to default.
PxSceneQueryDesc_setToDefault_mut⚠
(re)sets the structure to the default.
PxSceneQueryExt_overlapAny⚠
Test returning, for a given geometry, any overlapping object in the scene.
PxSceneQueryExt_overlapMultiple⚠
Test overlap between a geometry and objects in the scene.
PxSceneQueryExt_raycastAny⚠
Raycast returning any blocking hit, not necessarily the closest.
PxSceneQueryExt_raycastMultiple⚠
Raycast returning multiple results.
PxSceneQueryExt_raycastSingle⚠
Raycast returning a single result.
PxSceneQueryExt_sweepAny⚠
Sweep returning any blocking hit, not necessarily the closest.
PxSceneQueryExt_sweepMultiple⚠
Sweep returning multiple results.
PxSceneQueryExt_sweepSingle⚠
Sweep returning a single result.
PxSceneQuerySystemBase_flushUpdates_mut⚠
Flushes any changes to the scene query representation.
PxSceneQuerySystemBase_forceRebuildDynamicTree_mut⚠
Forces dynamic trees to be immediately rebuilt.
PxSceneQuerySystemBase_getDynamicTreeRebuildRateHint⚠
Retrieves the rebuild rate of the dynamic tree pruning structures.
PxSceneQuerySystemBase_getStaticTimestamp⚠
Retrieves the system’s internal scene query timestamp, increased each time a change to the static scene query structure is performed.
PxSceneQuerySystemBase_getUpdateMode⚠
Gets scene query update mode
PxSceneQuerySystemBase_overlap⚠
Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOverlapBuffer object or via a custom user callback implementation inheriting from PxOverlapCallback.
PxSceneQuerySystemBase_raycast⚠
Performs a raycast against objects in the scene, returns results in a PxRaycastBuffer object or via a custom user callback implementation inheriting from PxRaycastCallback.
PxSceneQuerySystemBase_setDynamicTreeRebuildRateHint_mut⚠
Sets the rebuild rate of the dynamic tree pruning structures.
PxSceneQuerySystemBase_setUpdateMode_mut⚠
Sets scene query update mode
PxSceneQuerySystemBase_sweep⚠
Performs a sweep test against objects in the scene, returns results in a PxSweepBuffer object or via a custom user callback implementation inheriting from PxSweepCallback.
PxSceneQuerySystem_acquireReference_mut⚠
Acquires a counted reference to this object.
PxSceneQuerySystem_addSQCompound_mut⚠
Adds a compound to the SQ system.
PxSceneQuerySystem_addSQShape_mut⚠
Adds a shape to the SQ system.
PxSceneQuerySystem_finalizeUpdates_mut⚠
Finalizes updates made to the SQ system.
PxSceneQuerySystem_flushMemory_mut⚠
Frees internal memory that may not be in-use anymore.
PxSceneQuerySystem_getHandle⚠
Shape to SQ-pruner-handle mapping function.
PxSceneQuerySystem_merge_mut⚠
Merges a pruning structure with the SQ system’s internal pruners.
PxSceneQuerySystem_preallocate_mut⚠
Preallocates internal arrays to minimize the amount of reallocations.
PxSceneQuerySystem_prepareSceneQueryBuildStep_mut⚠
Prepares asynchronous build step.
PxSceneQuerySystem_release_mut⚠
Decrements the reference count of the object and releases it if the new reference count is zero.
PxSceneQuerySystem_removeSQCompound_mut⚠
Removes a compound from the SQ system.
PxSceneQuerySystem_removeSQShape_mut⚠
Removes a shape from the SQ system.
PxSceneQuerySystem_sceneQueryBuildStep_mut⚠
Executes asynchronous build step.
PxSceneQuerySystem_shiftOrigin_mut⚠
Shift the data structures’ origin by the specified vector.
PxSceneQuerySystem_sync_mut⚠
Synchronizes the scene-query system with another system that references the same objects.
PxSceneQuerySystem_updateSQCompound_mut⚠
Updates a compound in the SQ system.
PxSceneQuerySystem_updateSQShape_mut⚠
Updates a shape in the SQ system.
PxSceneReadLock_delete⚠
PxSceneReadLock_new_alloc⚠
Constructor
PxSceneSQSystem_checkQueries_mut⚠
This checks to see if the scene queries update has completed.
PxSceneSQSystem_fetchQueries_mut⚠
This method must be called after sceneQueriesUpdate. It will wait for the scene queries update to finish. If the user makes an illegal scene queries update call, the SDK will issue an error message.
PxSceneSQSystem_flushQueryUpdates_mut⚠
Flushes any changes to the scene query representation.
PxSceneSQSystem_forceDynamicTreeRebuild_mut⚠
Forces dynamic trees to be immediately rebuilt.
PxSceneSQSystem_getDynamicStructure⚠
Return the value of PxSceneQueryDesc::dynamicStructure that was set when creating the scene with PxPhysics::createScene
PxSceneSQSystem_getSceneQueryStaticTimestamp⚠
Retrieves the scene’s internal scene query timestamp, increased each time a change to the static scene query structure is performed.
PxSceneSQSystem_getSceneQueryUpdateMode⚠
Gets scene query update mode
PxSceneSQSystem_getStaticStructure⚠
Return the value of PxSceneQueryDesc::staticStructure that was set when creating the scene with PxPhysics::createScene
PxSceneSQSystem_sceneQueriesUpdate_mut⚠
Executes scene queries update tasks.
PxSceneSQSystem_setSceneQueryUpdateMode_mut⚠
Sets scene query update mode
PxSceneWriteLock_delete⚠
PxSceneWriteLock_new_alloc⚠
Constructor
PxScene_addActor_mut⚠
Adds an actor to this scene.
PxScene_addActors_mut⚠
Adds actors to this scene. Only supports actors of type PxRigidStatic and PxRigidDynamic.
PxScene_addActors_mut_1⚠
Adds a pruning structure together with its actors to this scene. Only supports actors of type PxRigidStatic and PxRigidDynamic.
PxScene_addAggregate_mut⚠
Adds an aggregate to this scene.
PxScene_addArticulation_mut⚠
Adds an articulation to this scene.
PxScene_addBroadPhaseRegion_mut⚠
Adds a new broad-phase region.
PxScene_addCollection_mut⚠
Adds objects in the collection to this scene.
PxScene_advance_mut⚠
Performs dynamics phase of the simulation pipeline.
PxScene_applyActorData_mut⚠
Apply user-provided data to rigid body.
PxScene_applyArticulationData_mut⚠
Apply GPU articulation data from a user-provided device buffer to the internal GPU buffer.
PxScene_applyParticleBufferData_mut⚠
Apply user-provided data to particle buffers.
PxScene_applySoftBodyData_mut⚠
Apply user-provided data to the internal softbody system.
PxScene_checkResults_mut⚠
This checks to see if the simulation run has completed.
PxScene_collide_mut⚠
Performs collision detection for the scene over elapsedTime
PxScene_computeCoriolisAndCentrifugalForces_mut⚠
Computes the joint DOF forces required to counteract coriolis and centrifugal forces for the given articulation pose.
PxScene_computeDenseJacobians_mut⚠
Compute dense Jacobian matrices for specified articulations on the GPU.
PxScene_computeGeneralizedGravityForces_mut⚠
Computes the joint DOF forces required to counteract gravitational forces for the given articulation pose.
PxScene_computeGeneralizedMassMatrices_mut⚠
Compute the joint-space inertia matrices that maps joint accelerations to joint forces: forces = M * accelerations on the GPU.
PxScene_copyArticulationData_mut⚠
Copy GPU articulation data from the internal GPU buffer to a user-provided device buffer.
PxScene_copyBodyData_mut⚠
Copy GPU rigid body data from the internal GPU buffer to a user-provided device buffer.
PxScene_copyContactData_mut⚠
Copy contact data from the internal GPU buffer to a user-provided device buffer.
PxScene_copySoftBodyData_mut⚠
Copy GPU softbody data from the internal GPU buffer to a user-provided device buffer.
PxScene_createClient_mut⚠
Reserves a new client ID.
PxScene_fetchCollision_mut⚠
This method must be called after collide() and before advance(). It will wait for the collision phase to finish. If the user makes an illegal simulation call, the SDK will issue an error message.
PxScene_fetchResultsFinish_mut⚠
This call performs the second section of fetchResults.
PxScene_fetchResultsParticleSystem_mut⚠
This call performs the synchronization of particle system data copies.
PxScene_fetchResultsStart_mut⚠
This call performs the first section of fetchResults, and returns a pointer to the contact streams output by the simulation. It can be used to process contact pairs in parallel, which is often a limiting factor for fetchResults() performance.
PxScene_fetchResults_mut⚠
This is the big brother to checkResults() it basically does the following:
PxScene_flushSimulation_mut⚠
Clear internal buffers and free memory.
PxScene_getActiveActors_mut⚠
Queries the PxScene for a list of the PxActors whose transforms have been updated during the previous simulation step. Only includes actors of type PxRigidDynamic and PxArticulationLink.
PxScene_getActors⚠
Retrieve an array of all the actors of certain types in the scene. For supported types, see PxActorTypeFlags.
PxScene_getAggregates⚠
Retrieve all the aggregates in the scene.
PxScene_getArticulations⚠
Retrieve all the articulations in the scene.
PxScene_getBounceThresholdVelocity⚠
Return the bounce threshold velocity.
PxScene_getBroadPhaseCallback⚠
Retrieves the PxBroadPhaseCallback pointer set with setBroadPhaseCallback().
PxScene_getBroadPhaseCaps⚠
Gets broad-phase caps.
PxScene_getBroadPhaseRegions⚠
Gets broad-phase regions.
PxScene_getBroadPhaseType⚠
Returns broad-phase type.
PxScene_getCCDContactModifyCallback⚠
Retrieves the PxCCDContactModifyCallback pointer set with setContactModifyCallback().
PxScene_getCCDMaxPasses⚠
Gets the maximum number of CCD passes.
PxScene_getCCDMaxSeparation⚠
Gets the maximum CCD separation.
PxScene_getCCDThreshold⚠
Gets the CCD threshold.
PxScene_getConstraints⚠
Retrieve all the constraint shaders in the scene.
PxScene_getContactModifyCallback⚠
Retrieves the PxContactModifyCallback pointer set with setContactModifyCallback().
PxScene_getContactReportStreamBufferSize⚠
Return the value of PxSceneDesc::contactReportStreamBufferSize that was set when creating the scene with PxPhysics::createScene
PxScene_getCpuDispatcher⚠
Return the cpu dispatcher that was set in PxSceneDesc::cpuDispatcher when creating the scene with PxPhysics::createScene
PxScene_getDominanceGroupPair⚠
Samples the dominance matrix.
PxScene_getFilterShaderData⚠
Gets the shared global filter data in use for this scene.
PxScene_getFilterShaderDataSize⚠
Gets the size of the shared global filter data (PxSceneDesc.filterShaderData)
PxScene_getFlags⚠
Get the scene flags.
PxScene_getFrictionCorrelationDistance⚠
Gets the friction correlation distance.
PxScene_getFrictionOffsetThreshold⚠
Gets the friction offset threshold.
PxScene_getFrictionType⚠
Return the friction model.
PxScene_getGpuDynamicsConfig⚠
PxScene_getGravity⚠
Retrieves the current gravity setting.
PxScene_getKinematicKinematicFilteringMode⚠
Gets the pair filtering mode for kinematic-kinematic pairs.
PxScene_getLimits⚠
Get current scene limits.
PxScene_getMaxBiasCoefficient⚠
Gets the max bias coefficient.
PxScene_getMaxNbContactDataBlocksUsed⚠
get the maximum number of cache blocks used by the scene
PxScene_getNbActors⚠
Retrieve the number of actors of certain types in the scene. For supported types, see PxActorTypeFlags.
PxScene_getNbAggregates⚠
Returns the number of aggregates in the scene.
PxScene_getNbArticulations⚠
Returns the number of articulations in the scene.
PxScene_getNbBroadPhaseRegions⚠
Returns number of regions currently registered in the broad-phase.
PxScene_getNbConstraints⚠
Returns the number of constraint shaders in the scene.
PxScene_getNbContactDataBlocksUsed⚠
get the number of cache blocks currently used by the scene
PxScene_getPhysics_mut⚠
Call this method to retrieve the Physics SDK.
PxScene_getRenderBuffer_mut⚠
Retrieves the render buffer.
PxScene_getScenePvdClient_mut⚠
Returns the Pvd client associated with the scene.
PxScene_getSimulationEventCallback⚠
Retrieves the simulationEventCallback pointer set with setSimulationEventCallback().
PxScene_getSimulationStatistics⚠
Call this method to retrieve statistics for the current simulation step.
PxScene_getSolverArticulationBatchSize⚠
Retrieves the number of articulations required to spawn a separate rigid body solver thread.
PxScene_getSolverBatchSize⚠
Retrieves the number of actors required to spawn a separate rigid body solver thread.
PxScene_getSolverType⚠
Return the solver model.
PxScene_getStaticKinematicFilteringMode⚠
Gets the pair filtering mode for static-kinematic pairs.
PxScene_getTaskManager⚠
Get the task manager associated with this scene
PxScene_getTimestamp⚠
Retrieves the scene’s internal timestamp, increased each time a simulation step is completed.
PxScene_getVisualizationCullingBox⚠
Retrieves the visualization culling box.
PxScene_getVisualizationParameter⚠
Function that lets you query debug visualization parameters.
PxScene_getWakeCounterResetValue⚠
Returns the wake counter reset value.
PxScene_lockRead_mut⚠
Lock the scene for reading from the calling thread.
PxScene_lockWrite_mut⚠
Lock the scene for writing from this thread.
PxScene_processCallbacks_mut⚠
This call processes all event callbacks in parallel. It takes a continuation task, which will be executed once all callbacks have been processed.
PxScene_release_mut⚠
Deletes the scene.
PxScene_removeActor_mut⚠
Removes an actor from this scene.
PxScene_removeActors_mut⚠
Removes actors from this scene. Only supports actors of type PxRigidStatic and PxRigidDynamic.
PxScene_removeAggregate_mut⚠
Removes an aggregate from this scene.
PxScene_removeArticulation_mut⚠
Removes an articulation from this scene.
PxScene_removeBroadPhaseRegion_mut⚠
Removes a new broad-phase region.
PxScene_resetFiltering_mut⚠
Marks the object to reset interactions and re-run collision filters in the next simulation step.
PxScene_resetFiltering_mut_1⚠
Marks the object to reset interactions and re-run collision filters for specified shapes in the next simulation step.
PxScene_setBounceThresholdVelocity_mut⚠
Set the bounce threshold velocity. Collision speeds below this threshold will not cause a bounce.
PxScene_setBroadPhaseCallback_mut⚠
Sets a broad-phase user callback object.
PxScene_setCCDContactModifyCallback_mut⚠
Sets a user callback object, which receives callbacks on all CCD contacts generated for specified actors.
PxScene_setCCDMaxPasses_mut⚠
Sets the maximum number of CCD passes
PxScene_setCCDMaxSeparation_mut⚠
Set the maximum CCD separation.
PxScene_setCCDThreshold_mut⚠
Set the CCD threshold.
PxScene_setContactModifyCallback_mut⚠
Sets a user callback object, which receives callbacks on all contacts generated for specified actors.
PxScene_setDominanceGroupPair_mut⚠
Specifies the dominance behavior of contacts between two actors with two certain dominance groups.
PxScene_setFilterShaderData_mut⚠
Sets the shared global filter data which will get passed into the filter shader.
PxScene_setFlag_mut⚠
Sets a scene flag. You can only set one flag at a time.
PxScene_setFrictionCorrelationDistance_mut⚠
Set the friction correlation distance.
PxScene_setFrictionOffsetThreshold_mut⚠
Set the friction offset threshold.
PxScene_setGravity_mut⚠
Sets a constant gravity for the entire scene.
PxScene_setLimits_mut⚠
Set new scene limits.
PxScene_setMaxBiasCoefficient_mut⚠
Set the max bias coefficient.
PxScene_setNbContactDataBlocks_mut⚠
set the cache blocks that can be used during simulate().
PxScene_setSimulationEventCallback_mut⚠
Sets a user notify object which receives special simulation events when they occur.
PxScene_setSolverArticulationBatchSize_mut⚠
Sets the number of articulations required to spawn a separate rigid body solver thread.
PxScene_setSolverBatchSize_mut⚠
Sets the number of actors required to spawn a separate rigid body solver thread.
PxScene_setVisualizationCullingBox_mut⚠
Defines a box in world space to which visualization geometry will be (conservatively) culled. Use a non-empty culling box to enable the feature, and an empty culling box to disable it.
PxScene_setVisualizationParameter_mut⚠
Function that lets you set debug visualization parameters.
PxScene_shiftOrigin_mut⚠
Shift the scene origin by the specified vector.
PxScene_simulate_mut⚠
Advances the simulation by an elapsedTime time.
PxScene_unlockRead_mut⚠
Unlock the scene from reading.
PxScene_unlockWrite_mut⚠
Unlock the scene from writing.
PxSerializationContext_alignData_mut⚠
Aligns the serialized data.
PxSerializationContext_getCollection⚠
Returns the collection that is being serialized.
PxSerializationContext_registerReference_mut⚠
Registers a reference value corresponding to a PxBase object.
PxSerializationContext_writeData_mut⚠
Serializes object data and object extra data.
PxSerializationContext_writeName_mut⚠
Helper function to write a name to the extraData if serialization is configured to save names.
PxSerializationRegistry_getRepXSerializer⚠
Returns RepX serializer given the corresponding type name
PxSerializationRegistry_getSerializer⚠
Returns PxSerializer corresponding to type
PxSerializationRegistry_registerRepXSerializer_mut⚠
Register a RepX serializer for a concrete type
PxSerializationRegistry_registerSerializer_mut⚠
Register a serializer for a concrete type
PxSerializationRegistry_release_mut⚠
Releases PxSerializationRegistry instance.
PxSerializationRegistry_unregisterRepXSerializer_mut⚠
Unregister a RepX serializer for a concrete type, and retrieves the corresponding serializer object.
PxSerializationRegistry_unregisterSerializer_mut⚠
Unregister a serializer for a concrete type, and retrieves the corresponding serializer object.
PxSerialization_complete⚠
Adds to a collection all objects such that it can be successfully serialized.
PxSerialization_createCollectionFromBinary⚠
Deserializes a PxCollection from memory.
PxSerialization_createCollectionFromXml⚠
Creates a PxCollection from XML data.
PxSerialization_createSerialObjectIds⚠
Creates PxSerialObjectId values for unnamed objects in a collection.
PxSerialization_createSerializationRegistry⚠
Creates an application managed registry for serialization.
PxSerialization_isSerializable⚠
Returns whether the collection is serializable with the externalReferences collection.
PxSerialization_serializeCollectionToBinary⚠
Serializes a collection to a binary stream.
PxSerialization_serializeCollectionToXml⚠
Serializes a physics collection to an XML output stream.
PxSerializer_createObject⚠
Create object at a given address, resolve references and import extra data.
PxSerializer_delete⚠

PxSerializer_exportData⚠
Exports object’s data to stream.
PxSerializer_exportExtraData⚠
Exports object’s extra data to stream.
PxSerializer_getClassSize⚠
Returns size needed to create the class instance.
PxSerializer_getConcreteTypeName⚠
Returns string name of dynamic type.
PxSerializer_isSubordinate⚠
Whether the object is subordinate.
PxSerializer_registerReferences⚠
Register references that the object maintains to other objects.
PxSerializer_requiresObjects⚠
Adds required objects to the collection.
PxShapeExt_getGlobalPose⚠
Retrieves the world space pose of the shape.
PxShapeExt_getWorldBounds⚠
Retrieves the axis aligned bounding box enclosing the shape.
PxShapeExt_overlap⚠
Test overlap between the shape and a geometry object
PxShapeExt_raycast⚠
Raycast test against the shape.
PxShapeExt_sweep⚠
Sweep a geometry object against the shape.
PxShape_getActor⚠
Retrieves the actor which this shape is associated with.
PxShape_getConcreteTypeName⚠
PxShape_getContactOffset⚠
Retrieves the contact offset.
PxShape_getDensityForFluid⚠
Retrieves the density used to interact with fluids.
PxShape_getFlags⚠
Retrieves shape flags.
PxShape_getGeometry⚠
Retrieve a reference to the shape’s geometry.
PxShape_getLocalPose⚠
Retrieves the pose of the shape in actor space, i.e. relative to the actor they are owned by.
PxShape_getMaterialFromInternalFaceIndex⚠
Retrieve material from given triangle index.
PxShape_getMaterials⚠
Retrieve all the material pointers associated with the shape.
PxShape_getMinTorsionalPatchRadius⚠
Gets minimum torsional patch radius.
PxShape_getName⚠
retrieves the name string set with setName().
PxShape_getNbMaterials⚠
Returns the number of materials assigned to the shape.
PxShape_getQueryFilterData⚠
Retrieves the shape’s Query filter data.
PxShape_getRestOffset⚠
Retrieves the rest offset.
PxShape_getSimulationFilterData⚠
Retrieves the shape’s collision filter data.
PxShape_getTorsionalPatchRadius⚠
Gets torsional patch radius.
PxShape_isExclusive⚠
Returns true if the shape is exclusive to an actor.
PxShape_release_mut⚠
Decrements the reference count of a shape and releases it if the new reference count is zero.
PxShape_setContactOffset_mut⚠
Sets the contact offset.
PxShape_setDensityForFluid_mut⚠
Sets the density used to interact with fluids.
PxShape_setFlag_mut⚠
Sets shape flags
PxShape_setFlags_mut⚠
Sets shape flags
PxShape_setGeometry_mut⚠
Adjust the geometry of the shape.
PxShape_setLocalPose_mut⚠
Sets the pose of the shape in actor space, i.e. relative to the actors to which they are attached.
PxShape_setMaterials_mut⚠
Assigns material(s) to the shape. Will remove existing materials from the shape.
PxShape_setMinTorsionalPatchRadius_mut⚠
Sets minimum torsional patch radius.
PxShape_setName_mut⚠
Sets a name string for the object that can be retrieved with getName.
PxShape_setQueryFilterData_mut⚠
Sets the user definable query filter data.
PxShape_setRestOffset_mut⚠
Sets the rest offset.
PxShape_setSimulationFilterData_mut⚠
Sets the user definable collision filter data.
PxShape_setTorsionalPatchRadius_mut⚠
Sets torsional patch radius.
PxSimpleTriangleMesh_isValid⚠
returns true if the current settings are valid
PxSimpleTriangleMesh_new⚠
constructor sets to default.
PxSimpleTriangleMesh_setToDefault_mut⚠
(re)sets the structure to the default.
PxSimulationEventCallback_delete⚠
PxSimulationEventCallback_onAdvance_mut⚠
Provides early access to the new pose of moving rigid bodies.
PxSimulationEventCallback_onConstraintBreak_mut⚠
This is called when a breakable constraint breaks.
PxSimulationEventCallback_onContact_mut⚠
This is called when certain contact events occur.
PxSimulationEventCallback_onSleep_mut⚠
This is called with the actors which have just been put to sleep.
PxSimulationEventCallback_onTrigger_mut⚠
This is called with the current trigger pair events.
PxSimulationEventCallback_onWake_mut⚠
This is called with the actors which have just been woken up.
PxSimulationFilterCallback_pairFound_mut⚠
Filter method to specify how a pair of potentially colliding objects should be processed.
PxSimulationFilterCallback_pairLost_mut⚠
Callback to inform that a tracked collision pair is gone.
PxSimulationFilterCallback_statusChange_mut⚠
Callback to give the opportunity to change the filter state of a tracked collision pair.
PxSimulationStatistics_getNbBroadPhaseAdds⚠
Get number of broadphase volumes added for the current simulation step.
PxSimulationStatistics_getNbBroadPhaseRemoves⚠
Get number of broadphase volumes removed for the current simulation step.
PxSimulationStatistics_getRbPairStats⚠
Get number of shape collision pairs of a certain type processed for the current simulation step.
PxSimulationStatistics_new⚠
PxSimulationTetrahedronMeshData_getData_mut⚠
PxSimulationTetrahedronMeshData_getMesh_mut⚠
PxSimulationTetrahedronMeshData_release_mut⚠
PxSoftBodyAuxData_release_mut⚠
Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.
PxSoftBodyMesh_getCollisionMesh⚠
Const accecssor to the softbody’s collision mesh.
PxSoftBodyMesh_getCollisionMesh_mut⚠
Accecssor to the softbody’s collision mesh.
PxSoftBodyMesh_getSimulationMesh⚠
Const accessor to the softbody’s simulation mesh.
PxSoftBodyMesh_getSimulationMesh_mut⚠
Accecssor to the softbody’s simulation mesh.
PxSoftBodyMesh_getSoftBodyAuxData⚠
Const accessor to the softbodies simulation state.
PxSoftBodyMesh_getSoftBodyAuxData_mut⚠
Accessor to the softbody’s auxilary data like mass and rest pose information
PxSoftBodyMesh_release_mut⚠
Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.
PxSoftBodySimulationDataDesc_isValid⚠
PxSoftBodySimulationDataDesc_new⚠
Constructor to build an empty simulation description
PxSolverBodyData_projectVelocity⚠
PxSolverBody_new⚠
PxSolverConstraintPrepDesc_delete⚠
PxSphereGeometry_isValid⚠
Returns true if the geometry is valid.
PxSphereGeometry_new⚠
Constructor.
PxSphericalJoint_getConcreteTypeName⚠
Returns string name of PxSphericalJoint, used for serialization
PxSphericalJoint_getLimitCone⚠
Set the limit cone.
PxSphericalJoint_getSphericalJointFlags⚠
Get the flags specific to the Spherical Joint.
PxSphericalJoint_getSwingYAngle⚠
get the swing angle of the joint from the Y axis
PxSphericalJoint_getSwingZAngle⚠
get the swing angle of the joint from the Z axis
PxSphericalJoint_setLimitCone_mut⚠
Get the limit cone.
PxSphericalJoint_setSphericalJointFlag_mut⚠
Set a single flag specific to a Spherical Joint to true or false.
PxSphericalJoint_setSphericalJointFlags_mut⚠
Set the flags specific to the Spherical Joint.
PxSpring_new⚠
PxStridedData_new⚠
PxStringTableExt_createStringTable⚠
PxStringTable_allocateStr_mut⚠
Allocate a new string.
PxStringTable_release_mut⚠
Release the string table and all the strings associated with it.
PxSyncImpl_delete⚠
PxSyncImpl_getSize⚠
Size of this class.
PxSyncImpl_new_alloc⚠
PxSyncImpl_reset_mut⚠
Reset the synchronization object
PxSyncImpl_set_mut⚠
Signal the synchronization object, waking all threads waiting on it
PxSyncImpl_wait_mut⚠
Wait on the object for at most the given number of ms. Returns true if the object is signaled. Sync::waitForever will block forever or until the object is signaled.
PxTGSSolverBodyData_projectVelocity⚠
PxTGSSolverBodyVel_projectVelocity⚠
PxTGSSolverConstraintPrepDesc_delete⚠
PxTaskManager_createTaskManager⚠
Construct a new PxTaskManager instance with the given [optional] dispatchers
PxTaskManager_getCpuDispatcher⚠
Get the user-provided dispatcher object for CPU tasks
PxTaskManager_getNamedTask_mut⚠
Retrieve a task by name
PxTaskManager_getTaskFromID_mut⚠
Retrieve a task given a task ID
PxTaskManager_release_mut⚠
Release the PxTaskManager object, referenced dispatchers will not be released
PxTaskManager_resetDependencies_mut⚠
Reset any dependencies between Tasks
PxTaskManager_setCpuDispatcher_mut⚠
Set the user-provided dispatcher object for CPU tasks
PxTaskManager_startSimulation_mut⚠
Called by the owning scene to start the task graph.
PxTaskManager_stopSimulation_mut⚠
Called by the owning scene at the end of a simulation step.
PxTaskManager_submitNamedTask_mut⚠
Submit a task with a unique name.
PxTaskManager_submitUnnamedTask_mut⚠
Submit an unnamed task.
PxTaskManager_taskCompleted_mut⚠
Called by the worker threads to inform the PxTaskManager that a task has completed processing.
PxTask_addReference_mut⚠
Manually increment this task’s reference count. The task will not be allowed to run until removeReference() is called.
PxTask_finishBefore_mut⚠
Inform the PxTaskManager this task must finish before the given
PxTask_getReference⚠
Return the ref-count for this task
PxTask_getTaskID⚠
Return the unique ID for this task
PxTask_release_mut⚠
Release method implementation
PxTask_removeReference_mut⚠
Manually decrement this task’s reference count. If the reference count reaches zero, the task will be dispatched.
PxTask_startAfter_mut⚠
Inform the PxTaskManager this task cannot start until the given
PxTask_submitted_mut⚠
Called by PxTaskManager at submission time for initialization
PxTempAllocatorChunk_new⚠
PxTempAllocator_allocate_mut⚠
PxTempAllocator_deallocate_mut⚠
PxTempAllocator_new⚠
PxTetrahedronMeshDesc_isValid⚠
PxTetrahedronMeshDesc_new⚠
Constructor to build an empty tetmesh description
PxTetrahedronMeshExt_findTetrahedronClosestToPoint⚠
Returns the index of the tetrahedron closest to a point
PxTetrahedronMeshExt_findTetrahedronContainingPoint⚠
Returns the index of the tetrahedron that contains a point
PxTetrahedronMeshGeometry_isValid⚠
Returns true if the geometry is valid.
PxTetrahedronMeshGeometry_new⚠
Constructor. By default creates an empty object with a NULL mesh and identity scale.
PxTetrahedronMesh_getLocalBounds⚠
Returns the local-space (vertex space) AABB from the tetrahedron mesh.
PxTetrahedronMesh_getNbTetrahedrons⚠
Returns the number of tetrahedrons.
PxTetrahedronMesh_getNbVertices⚠
Returns the number of vertices.
PxTetrahedronMesh_getTetrahedraRemap⚠
Returns the tetrahedra remapping table.
PxTetrahedronMesh_getTetrahedronMeshFlags⚠
Reads the PxTetrahedronMesh flags.
PxTetrahedronMesh_getTetrahedrons⚠
Returns the tetrahedron indices.
PxTetrahedronMesh_getVertices⚠
Returns the vertices
PxTetrahedronMesh_release_mut⚠
Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.
PxTetrahedron_delete⚠
Destructor
PxTetrahedron_new_alloc⚠
Constructor
PxTetrahedron_new_alloc_1⚠
Constructor
PxTime_getBootCounterFrequency⚠
PxTime_getCounterFrequency⚠
PxTime_getCurrentCounterValue⚠
PxTime_getCurrentTimeInTensOfNanoSeconds⚠
PxTime_getElapsedSeconds_mut⚠
PxTime_getLastTime⚠
PxTime_new⚠
PxTime_peekElapsedSeconds_mut⚠
PxTolerancesScale_isValid⚠
Returns true if the descriptor is valid.
PxTolerancesScale_new⚠
constructor sets to default
PxTransform_getInverse⚠
PxTransform_getNormalized⚠
return a normalized transform (i.e. one in which the quaternion has unit magnitude)
PxTransform_isFinite⚠
returns true if all elems are finite (not NAN or INF, etc.)
PxTransform_isSane⚠
returns true if finite and quat magnitude is reasonably close to unit to allow for some accumulation of error vs isValid
PxTransform_isValid⚠
returns true if finite and q is a unit quaternion
PxTransform_new⚠
PxTransform_new_1⚠
PxTransform_new_2⚠
PxTransform_new_3⚠
PxTransform_new_4⚠
PxTransform_new_5⚠
PxTransform_new_6⚠
PxTransform_rotate⚠
PxTransform_rotateInv⚠
PxTransform_transform⚠
PxTransform_transformInv⚠
PxTransform_transformInv_1⚠
Transform transform from parent (returns compound transform: first src, then this->inverse)
PxTransform_transform_1⚠
Transform transform to parent (returns compound transform: first src, then *this)
PxTriangleMeshDesc_isValid⚠
Returns true if the descriptor is valid.
PxTriangleMeshDesc_new⚠
Constructor sets to default.
PxTriangleMeshDesc_setToDefault_mut⚠
(re)sets the structure to the default.
PxTriangleMeshGeometry_isValid⚠
Returns true if the geometry is valid.
PxTriangleMeshGeometry_new⚠
Constructor. By default creates an empty object with a NULL mesh and identity scale.
PxTriangleMeshPoissonSampler_delete⚠
PxTriangleMeshPoissonSampler_isPointInTriangleMesh_mut⚠
Checks whether a point is inside the triangle mesh
PxTriangleMesh_getLocalBounds⚠
Returns the local-space (vertex space) AABB from the triangle mesh.
PxTriangleMesh_getMassInformation⚠
Returns the mass properties of the mesh assuming unit density.
PxTriangleMesh_getNbTriangles⚠
Returns the number of triangles.
PxTriangleMesh_getNbVertices⚠
Returns the number of vertices.
PxTriangleMesh_getPreferSDFProjection⚠
Returns whether this mesh prefers SDF projection.
PxTriangleMesh_getSDF⚠
Returns the local-space Signed Distance Field for this mesh if it has one.
PxTriangleMesh_getSDFDimensions⚠
Returns the resolution of the local-space dense SDF.
PxTriangleMesh_getTriangleMaterialIndex⚠
Returns material table index of given triangle
PxTriangleMesh_getTriangleMeshFlags⚠
Reads the PxTriangleMesh flags.
PxTriangleMesh_getTriangles⚠
Returns the triangle indices.
PxTriangleMesh_getTrianglesRemap⚠
Returns the triangle remapping table.
PxTriangleMesh_getVertices⚠
Returns the vertices.
PxTriangleMesh_getVerticesForModification_mut⚠
Returns all mesh vertices for modification.
PxTriangleMesh_refitBVH_mut⚠
Refits BVH for mesh vertices.
PxTriangleMesh_release_mut⚠
Decrements the reference count of a triangle mesh and releases it if the new reference count is zero.
PxTriangleMesh_setPreferSDFProjection_mut⚠
Sets whether this mesh should be preferred for SDF projection.
PxTrianglePadded_delete⚠
PxTrianglePadded_new_alloc⚠
PxTriangle_area⚠
Compute the area of the triangle.
PxTriangle_delete⚠
Destructor
PxTriangle_denormalizedNormal⚠
Compute the unnormalized normal of the triangle.
PxTriangle_new_alloc⚠
Constructor
PxTriangle_new_alloc_1⚠
Constructor
PxTriangle_normal⚠
Compute the normal of the Triangle.
PxTriangle_pointFromUV⚠
Computes a point on the triangle from u and v barycentric coordinates.
PxTriggerPair_new⚠
PxUserControllerHitReport_onControllerHit_mut⚠
Called when current controller hits another controller.
PxUserControllerHitReport_onObstacleHit_mut⚠
Called when current controller hits a user-defined obstacle.
PxUserControllerHitReport_onShapeHit_mut⚠
Called when current controller hits a shape.
PxVec2_dot⚠
returns the scalar product of this and other.
PxVec2_getNormalized⚠
returns a unit vector
PxVec2_isFinite⚠
returns true if all 2 elems of the vector are finite (not NAN or INF, etc.)
PxVec2_isNormalized⚠
is normalized - used by API parameter validation
PxVec2_isZero⚠
tests for exact zero vector
PxVec2_magnitude⚠
returns the magnitude
PxVec2_magnitudeSquared⚠
returns the squared magnitude
PxVec2_maxElement⚠
returns MAX(x, y);
PxVec2_maximum⚠
element-wise maximum
PxVec2_minElement⚠
returns MIN(x, y);
PxVec2_minimum⚠
element-wise minimum
PxVec2_multiply⚠
a[i] * b[i], for all i.
PxVec2_new⚠
default constructor leaves data uninitialized.
PxVec2_new_1⚠
zero constructor.
PxVec2_new_2⚠
Assigns scalar parameter to all elements.
PxVec2_new_3⚠
Initializes from 2 scalar parameters.
PxVec2_normalize_mut⚠
normalizes the vector in place
PxVec3Padded_delete⚠
PxVec3Padded_new_alloc⚠
PxVec3Padded_new_alloc_1⚠
PxVec3Padded_new_alloc_2⚠
PxVec3_abs⚠
returns absolute values of components;
PxVec3_cross⚠
cross product
PxVec3_dot⚠
returns the scalar product of this and other.
PxVec3_getNormalized⚠
returns a unit vector
PxVec3_isFinite⚠
returns true if all 3 elems of the vector are finite (not NAN or INF, etc.)
PxVec3_isNormalized⚠
is normalized - used by API parameter validation
PxVec3_isZero⚠
tests for exact zero vector
PxVec3_magnitude⚠
returns the magnitude
PxVec3_magnitudeSquared⚠
returns the squared magnitude
PxVec3_maxElement⚠
returns MAX(x, y, z);
PxVec3_maximum⚠
element-wise maximum
PxVec3_minElement⚠
returns MIN(x, y, z);
PxVec3_minimum⚠
element-wise minimum
PxVec3_multiply⚠
a[i] * b[i], for all i.
PxVec3_new⚠
default constructor leaves data uninitialized.
PxVec3_new_1⚠
zero constructor.
PxVec3_new_2⚠
Assigns scalar parameter to all elements.
PxVec3_new_3⚠
Initializes from 3 scalar parameters.
PxVec3_normalizeFast_mut⚠
normalizes the vector in place. Asserts if vector magnitude is under PX_NORMALIZATION_EPSILON. returns vector magnitude.
PxVec3_normalizeSafe_mut⚠
normalizes the vector in place. Does nothing if vector magnitude is under PX_NORMALIZATION_EPSILON. Returns vector magnitude if >= PX_NORMALIZATION_EPSILON and 0.0f otherwise.
PxVec3_normalize_mut⚠
normalizes the vector in place
PxVec4_dot⚠
returns the scalar product of this and other.
PxVec4_getNormalized⚠
returns a unit vector
PxVec4_getXYZ⚠
PxVec4_isFinite⚠
returns true if all 3 elems of the vector are finite (not NAN or INF, etc.)
PxVec4_isNormalized⚠
is normalized - used by API parameter validation
PxVec4_isZero⚠
tests for exact zero vector
PxVec4_magnitude⚠
returns the magnitude
PxVec4_magnitudeSquared⚠
returns the squared magnitude
PxVec4_maximum⚠
element-wise maximum
PxVec4_minimum⚠
element-wise minimum
PxVec4_multiply⚠
a[i] * b[i], for all i.
PxVec4_new⚠
default constructor leaves data uninitialized.
PxVec4_new_1⚠
zero constructor.
PxVec4_new_2⚠
Assigns scalar parameter to all elements.
PxVec4_new_3⚠
Initializes from 3 scalar parameters.
PxVec4_new_4⚠
Initializes from 3 scalar parameters.
PxVec4_new_5⚠
Initializes from an array of scalar parameters.
PxVec4_normalize_mut⚠
normalizes the vector in place
PxVirtualAllocatorCallback_allocate_mut⚠
PxVirtualAllocatorCallback_deallocate_mut⚠
PxVirtualAllocatorCallback_delete⚠
PxVirtualAllocator_allocate_mut⚠
PxVirtualAllocator_deallocate_mut⚠
PxVirtualAllocator_new⚠
PxXmlMiscParameter_new⚠
PxXmlMiscParameter_new_1⚠
PxgDynamicsMemoryConfig_isValid⚠
PxgDynamicsMemoryConfig_new⚠
create_alloc_callback⚠
create_assert_handler⚠
create_contact_callback⚠Deprecated
Create a C++ proxy callback which will forward contact events to Callback. The returned pointer must be freed by calling destroy_contact_callback when done using.
create_error_callback⚠
create_overlap_buffer⚠
create_overlap_callback⚠
create_pre_and_post_raycast_filter_callback_func⚠
Destroy the returned callback object using PxQueryFilterCallback_delete.
create_profiler_callback⚠
create_raycast_buffer⚠
create_raycast_callback⚠
create_raycast_filter_callback⚠
Destroy the returned callback object using PxQueryFilterCallback_delete.
create_raycast_filter_callback_func⚠
Destroy the returned callback object using PxQueryFilterCallback_delete.
create_simulation_event_callbacks⚠
New interface to handle simulation events, replacing create_contact_callback.
create_sweep_buffer⚠
create_sweep_callback⚠
delete_overlap_callback⚠
delete_raycast_callback⚠
delete_sweep_callback⚠
destroy_contact_callback⚠Deprecated
Deallocates the PxSimulationEventCallback that has previously been created
destroy_simulation_event_callbacks⚠
enable_custom_filter_shader⚠
Override the default filter shader in the scene with a custom function. If call_default_filter_shader_first is set to true, this will first call the built-in PhysX filter (that matches Physx 2.8 behavior) before your callback.
get_alloc_callback_user_data⚠
get_default_allocator⚠
get_default_error_callback⚠
get_default_simulation_filter_shader⚠
get_simulation_event_info⚠
phys_PxBitCount⚠
phys_PxBuildSmoothNormals⚠
Builds smooth vertex normals over a mesh.
phys_PxCloneDynamic⚠
create a dynamic body by copying attributes from an existing body
phys_PxCloneShape⚠
create a shape by copying attributes from another shape
phys_PxCloneStatic⚠
create a static body by copying attributes from another rigid actor
phys_PxCloseExtensions⚠
Shut down the PhysXExtensions library.
phys_PxComputeAngle⚠
Compute the angle between two non-unit vectors
phys_PxComputeBasisVectors⚠
Compute two normalized vectors (right and up) that are perpendicular to an input normalized vector (dir).
phys_PxComputeBasisVectors_1⚠
Compute three normalized vectors (dir, right and up) that are parallel to (dir) and perpendicular to (right, up) the normalized direction vector (p1 - p0)/||p1 - p0||.
phys_PxComputeHeightFieldPenetration⚠
Computes an approximate minimum translational distance (MTD) between a geometry object and a heightfield.
phys_PxComputeHullPolygons⚠
Computed hull polygons from given vertices and triangles. Polygons are needed for PxConvexMeshDesc rather than triangles.
phys_PxComputeTriangleMeshPenetration⚠
Computes an approximate minimum translational distance (MTD) between a geometry object and a mesh.
phys_PxContactJointCreate⚠
Create a distance Joint.
phys_PxCookBVH⚠
Cooks a bounding volume hierarchy. The results are written to the stream.
phys_PxCookConvexMesh⚠
Cooks a convex mesh. The results are written to the stream.
phys_PxCookHeightField⚠
Cooks a heightfield. The results are written to the stream.
phys_PxCookTriangleMesh⚠
Cooks a triangle mesh. The results are written to the stream.
phys_PxCountLeadingZeros⚠
Returns the index of the highest set bit. Returns 32 for v=0.
phys_PxCreateAABBManager⚠
AABB manager factory function.
phys_PxCreateBVH⚠
Cooks and creates a bounding volume hierarchy without going through a stream.
phys_PxCreateBatchQueryExt⚠
Create a PxBatchQueryExt without the need for pre-allocated result or touch buffers.
phys_PxCreateBatchQueryExt_1⚠
Create a PxBatchQueryExt with user-supplied result and touch buffers.
phys_PxCreateBroadPhase⚠
Broadphase factory function.
phys_PxCreateCollection⚠
Creates a collection object.
phys_PxCreateControllerManager⚠
Creates the controller manager.
phys_PxCreateConvexMesh⚠
Cooks and creates a convex mesh without going through a stream.
phys_PxCreateCustomSceneQuerySystem⚠
Creates a custom scene query system.
phys_PxCreateDynamic⚠
simple method to create a PxRigidDynamic actor with a single PxShape.
phys_PxCreateDynamic_1⚠
simple method to create a PxRigidDynamic actor with a single PxShape.
phys_PxCreateExternalSceneQuerySystem⚠
Creates an external scene query system.
phys_PxCreateFoundation⚠
Creates an instance of the foundation class
phys_PxCreateHeightField⚠
Cooks and creates a heightfield mesh and inserts it into PxPhysics.
phys_PxCreateKinematic⚠
simple method to create a kinematic PxRigidDynamic actor with a single PxShape.
phys_PxCreateKinematic_1⚠
simple method to create a kinematic PxRigidDynamic actor with a single PxShape.
phys_PxCreatePhysics⚠
Creates an instance of the physics SDK.
phys_PxCreatePlane⚠
create a plane actor. The plane equation is n.x + d = 0
phys_PxCreatePvd⚠
Create a pvd instance.
phys_PxCreateShapeSampler⚠
Creates a shape sampler
phys_PxCreateStatic⚠
simple method to create a PxRigidStatic actor with a single PxShape.
phys_PxCreateStatic_1⚠
simple method to create a PxRigidStatic actor with a single PxShape.
phys_PxCreateTriangleMesh⚠
Cooks and creates a triangle mesh without going through a stream.
phys_PxCreateTriangleMeshSampler⚠
Creates a triangle mesh sampler
phys_PxCustomGeometry_getUniqueID⚠
For internal use
phys_PxD6JointCreate⚠
Create a D6 joint.
phys_PxDecFoundationRefCount⚠
Decrement the ref count of PxFoundation
phys_PxDefaultCpuDispatcherCreate⚠
Create default dispatcher, extensions SDK needs to be initialized first.
phys_PxDefaultPvdFileTransportCreate⚠
Create a default file transport.
phys_PxDefaultPvdSocketTransportCreate⚠
Create a default socket transport.
phys_PxDefaultSimulationFilterShader⚠
Implementation of a simple filter shader that emulates PhysX 2.8.x filtering
phys_PxDiagonalize⚠
phys_PxDisableFPExceptions⚠
Disables floating point exceptions for the scalar and SIMD unit
phys_PxDistanceJointCreate⚠
Create a distance Joint.
phys_PxEllipseClamp⚠
Compute the closest point on an 2d ellipse to a given 2d point.
phys_PxEnableFPExceptions⚠
Enables floating point exceptions for the scalar and SIMD unit
phys_PxExp⚠
Compute the exponent of a PxVec3
phys_PxFilterObjectIsKinematic⚠
Specifies whether the collision object belongs to a kinematic rigid body
phys_PxFilterObjectIsTrigger⚠
Specifies whether the collision object is a trigger shape
phys_PxFindFaceIndex⚠
Computes closest polygon of the convex hull geometry for a given impact point and impact direction. When doing sweeps against a scene, one might want to delay the rather expensive computation of the hit face index for convexes until it is clear the information is really needed and then use this method to get the corresponding face index.
phys_PxFixedJointCreate⚠
Create a fixed joint.
phys_PxGearJointCreate⚠
Create a gear Joint.
phys_PxGetAggregateFilterHint⚠
phys_PxGetAggregateSelfCollisionBit⚠
phys_PxGetAggregateType⚠
phys_PxGetAllocatorCallback⚠
Get the allocator callback
phys_PxGetAssertHandler⚠
phys_PxGetBroadPhaseDynamicFilterGroup⚠
Retrieves a filter group for dynamic objects.
phys_PxGetBroadPhaseKinematicFilterGroup⚠
Retrieves a filter group for kinematic objects.
phys_PxGetBroadPhaseStaticFilterGroup⚠
Retrieves the filter group for static objects.
phys_PxGetBroadcastAllocator⚠
Get the broadcasting allocator callback
phys_PxGetBroadcastError⚠
Get the broadcasting error callback
phys_PxGetErrorCallback⚠
Get the error callback
phys_PxGetFilterBool⚠
Retrieves filtering’s boolean value. See comments for PxGroupsMask
phys_PxGetFilterConstants⚠
Gets filtering constant K0 and K1. See comments for PxGroupsMask
phys_PxGetFilterObjectType⚠
Extract filter object type from the filter attributes of a collision pair object
phys_PxGetFilterOps⚠
Retrieves filtering operation. See comments for PxGroupsMask
phys_PxGetFoundation⚠
phys_PxGetGroup⚠
Retrieves the value set with PxSetGroup()
phys_PxGetGroupCollisionFlag⚠
Determines if collision detection is performed between a pair of groups
phys_PxGetGroupsMask⚠
Gets 64-bit mask used for collision filtering. See comments for PxGroupsMask
phys_PxGetNextIndex3⚠
Compute (i+1)%3
phys_PxGetPhysics⚠
phys_PxGetProfilerCallback⚠
Get the callback that will be used for all profiling.
phys_PxGetStandaloneInsertionCallback⚠
phys_PxGetWarnOnceTimeStamp⚠
Get the warn once timestamp
phys_PxHighestSetBit⚠
Return the index of the highest set bit. Not valid for zero arg.
phys_PxHighestSetBitUnsafe⚠
Return the index of the highest set bit. Undefined for zero arg.
phys_PxILog2⚠
phys_PxIncFoundationRefCount⚠
Increment the ref count of PxFoundation
phys_PxInitExtensions⚠
Initialize the PhysXExtensions library.
phys_PxIntegrateTransform⚠
integrate transform.
phys_PxIsPowerOfTwo⚠
phys_PxLargestAxis⚠
return Returns 0 if v.x is largest element of v, 1 if v.y is largest element, 2 if v.z is largest element.
phys_PxLog⚠
return Returns the log of a PxQuat
phys_PxLowestSetBit⚠
Return the index of the highest set bit. Not valid for zero arg.
phys_PxLowestSetBitUnsafe⚠
Return the index of the highest set bit. Undefined for zero arg.
phys_PxMarkSerializedMemory⚠
Mark a specified amount of memory with 0xcd pattern. This is used to check that the meta data definition for serialized classes is complete in checked builds.
phys_PxMemCopy⚠
Copies the bytes of one memory block to another. The memory blocks must not overlap.
phys_PxMemMove⚠
Copies the bytes of one memory block to another. The memory blocks can overlap.
phys_PxMemSet⚠
Sets the bytes of the provided buffer to the specified value.
phys_PxMemZero⚠
Sets the bytes of the provided buffer to zero.
phys_PxMemoryBarrier⚠
phys_PxNextPowerOfTwo⚠
phys_PxOptimizeBoundingBox⚠
computes a oriented bounding box around the scaled basis.
phys_PxPlaneEquationFromTransform⚠
creates a plane equation from a transform, such as the actor transform for a PxPlaneGeometry
phys_PxPrefetch⚠
Prefetch bytes starting at
phys_PxPrefetchLine⚠
Prefetch aligned 64B x86, 32b ARM around
phys_PxPrismaticJointCreate⚠
Create a prismatic joint.
phys_PxRackAndPinionJointCreate⚠
Create a rack & pinion Joint.
phys_PxRevoluteJointCreate⚠
Create a revolute joint.
phys_PxScaleRigidActor⚠
scale a rigid actor by a uniform scale
phys_PxSdfSample⚠
phys_PxSeparateSwingTwist⚠
Compute from an input quaternion q a pair of quaternions (swing, twist) such that q = swing * twist with the caveats that swing.x = twist.y = twist.z = 0.
phys_PxSetAssertHandler⚠
phys_PxSetFilterBool⚠
Setups filtering’s boolean value. See comments for PxGroupsMask
phys_PxSetFilterConstants⚠
Setups filtering’s K0 and K1 value. See comments for PxGroupsMask
phys_PxSetFilterOps⚠
Setups filtering operations. See comments for PxGroupsMask
phys_PxSetFoundationInstance⚠
phys_PxSetGroup⚠
Sets which collision group this actor is part of
phys_PxSetGroupCollisionFlag⚠
Specifies if collision should be performed by a pair of groups
phys_PxSetGroupsMask⚠
Sets 64-bit mask used for collision filtering. See comments for PxGroupsMask
phys_PxSetJointGlobalFrame⚠
Helper function to setup a joint’s global frame
phys_PxSetProfilerCallback⚠
Set the callback that will be used for all profiling.
phys_PxShortestRotation⚠
finds the shortest rotation between two vectors.
phys_PxSlerp⚠
Spherical linear interpolation of two quaternions.
phys_PxSphericalJointCreate⚠
Create a spherical joint.
phys_PxTanHalf⚠
Compute tan(theta/2) given sin(theta) and cos(theta) as inputs.
phys_PxTlsAlloc⚠
phys_PxTlsFree⚠
phys_PxTlsGet⚠
phys_PxTlsGetValue⚠
phys_PxTlsSet⚠
phys_PxTlsSetValue⚠
phys_PxTransformFromPlaneEquation⚠
creates a transform from a plane equation, suitable for an actor transform for a PxPlaneGeometry
phys_PxTransformFromSegment⚠
creates a transform from the endpoints of a segment, suitable for an actor transform for a PxCapsuleGeometry
phys_PxValidateConvexMesh⚠
Verifies if the convex mesh is valid. Prints an error message for each inconsistency found.
phys_PxValidateTriangleMesh⚠
Verifies if the triangle mesh is valid. Prints an error message for each inconsistency found.
phys_computeBarycentric⚠
phys_computeBarycentric_1⚠
phys_platformAlignedAlloc⚠
phys_platformAlignedFree⚠
phys_toVec3⚠
physx_create_foundation⚠
physx_create_foundation_with_alloc⚠
physx_create_physics⚠
version

Type Aliases§

AdvanceCallback
AllocCallback
AssertHandler
CollisionCallback
ConstraintBreakCallback
DeallocCallback
ErrorCallback
FinalizeQueryCallback
OverlapProcessTouchesCallback
PostFilterCallback
RaycastHitCallback
RaycastProcessTouchesCallback
SimulationFilterShader
SweepProcessTouchesCallback
TriggerCallback
WakeSleepCallback
ZoneEndCallback
ZoneStartCallback

Unions§

Px1DConstraintMods
PxTempAllocatorChunk