public class PxCooking extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxCooking() |
protected |
PxCooking(long address) |
| Modifier and Type | Method and Description |
|---|---|
PxConvexMesh |
createConvexMesh(PxConvexMeshDesc desc,
PxPhysicsInsertionCallback insertionCallback) |
PxHeightField |
createHeightField(PxHeightFieldDesc desc,
PxPhysicsInsertionCallback insertionCallback) |
PxTriangleMesh |
createTriangleMesh(PxTriangleMeshDesc desc,
PxPhysicsInsertionCallback insertionCallback) |
void |
release() |
static PxCooking |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static PxCooking wrapPointer(long address)
public void release()
public PxConvexMesh createConvexMesh(PxConvexMeshDesc desc, PxPhysicsInsertionCallback insertionCallback)
desc - WebIDL type: PxConvexMeshDesc [Const, Ref]insertionCallback - WebIDL type: PxPhysicsInsertionCallback [Ref]PxConvexMeshpublic PxTriangleMesh createTriangleMesh(PxTriangleMeshDesc desc, PxPhysicsInsertionCallback insertionCallback)
desc - WebIDL type: PxTriangleMeshDesc [Const, Ref]insertionCallback - WebIDL type: PxPhysicsInsertionCallback [Ref]PxTriangleMeshpublic PxHeightField createHeightField(PxHeightFieldDesc desc, PxPhysicsInsertionCallback insertionCallback)
desc - WebIDL type: PxHeightFieldDesc [Const, Ref]insertionCallback - WebIDL type: PxPhysicsInsertionCallback [Ref]PxHeightField