Package physx.common

Class PxInsertionCallback

java.lang.Object
physx.NativeObject
physx.common.PxInsertionCallback

public class PxInsertionCallback extends NativeObject
Callback interface that permits TriangleMesh, Heightfield, ConvexMesh or BVH to be used directly without the need to store the cooking results into a stream.

Using this is advised only if real-time cooking is required; using "offline" cooking and streams is otherwise preferred.

The default PxInsertionCallback implementations must be used. The PxPhysics default callback can be obtained using the PxPhysics::getPhysicsInsertionCallback(). The PxCooking default callback can be obtained using the PxCooking::getStandaloneInsertionCallback().

See Also:
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxInsertionCallback

      protected PxInsertionCallback()
    • PxInsertionCallback

      protected PxInsertionCallback(long address)
  • Method Details