Skip to main content
Ctrl+K
PhysX SDK Documentation - Home

PhysX SDK Documentation

  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
PhysX SDK Documentation - Home

PhysX SDK Documentation

  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • PhysX SDK API
  • PxCooking.h
  • PxCreateHeightField

PxCreateHeightField#

Defined in include/cooking/PxCooking.h

inline physx::PxHeightField *PxCreateHeightField(
const physx::PxHeightFieldDesc &desc,
)#

Cooks and creates a heightfield mesh and inserts it into PxPhysics.

Convenience function for standalone objects.

See also

PxCookHeightField() PxPhysics.createHeightField() PxInsertionCallback

Parameters:

desc – [in] The heightfield descriptor to read the HF from.

Returns:

PxHeightField pointer on success

previous

PxCreateHeightField

next

PxCreateSoftBodyMesh

On this page
  • PxCreateHeightField()
NVIDIA NVIDIA

Copyright © 2022-2025, NVIDIA Corporation.

Last updated on Feb 07, 2025.