PhysX License
Building with PhysX
Snippets
PhysX API Basics
Startup and Shutdown
Threading
Geometry
Custom Geometry
Rigid Body Overview
Rigid Body Collision
Rigid Body Dynamics
Simulation
Advanced Collision Detection
Joints
Articulations
GPU Rigid Bodies
Soft Bodies
Particle System
Geometry Queries
Scene Queries
Gjk Queries
Vehicles
Character Controllers
Debug Visualization
Omniverse Visual Debugger
Simulation Statistics
Serialization
Extending Serialization
Best Practices Guide
Migrating From PhysX SDK 2.x to 3.x
Migrating From PhysX SDK 3.2 to 3.3
Migrating From PhysX SDK 3.3 to 3.4
Migrating From PhysX SDK 3.4 to 4.0
Migrating From PhysX SDK 4.0 to 5.1
C++ API
physx
»
PxSdfSample
PxSdfSample
Defined in
include/foundation/PxMathUtils.h
inline
PxReal
PxSdfSample
(
const
PxReal
*
sdf
,
const
PxVec3
&
localPos
,
const
PxVec3
&
sdfBoxLower
,
const
PxVec3
&
sdfBoxHigher
,
const
PxReal
sdfDx
,
const
PxReal
invSdfDx
,
const
PxU32
dimX
,
const
PxU32
dimY
,
const
PxU32
dimZ
,
PxVec3
&
gradient
,
PxReal
tolerance
=
PX_MAX_F32
)