PxCreateHeightField#
Defined in include/cooking/PxCooking.h
- physx::PxHeightField *PxCreateHeightField(
- const physx::PxHeightFieldDesc &desc,
- physx::PxInsertionCallback &insertionCallback,
Cooks and creates a heightfield mesh and inserts it into PxPhysics.
See also
PxCookHeightField() PxPhysics.createHeightField() PxInsertionCallback
- Parameters:
desc – [in] The heightfield descriptor to read the HF from.
insertionCallback – [in] The insertion interface from PxPhysics.
- Returns:
PxHeightField pointer on success