java.lang.Object
physx.NativeObject
physx.cooking.PxCooking
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxCookingarrayGet(long baseAddress, int index) createConvexMesh(PxConvexMeshDesc desc, PxInsertionCallback insertionCallback) createHeightField(PxHeightFieldDesc desc, PxInsertionCallback insertionCallback) createTriangleMesh(PxTriangleMeshDesc desc, PxInsertionCallback insertionCallback) voidrelease()static PxCookingwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxCooking
protected PxCooking() -
PxCooking
protected PxCooking(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
release
public void release() -
createConvexMesh
- Parameters:
desc- WebIDL type:PxConvexMeshDesc[Const, Ref]insertionCallback- WebIDL type:PxInsertionCallback[Ref]- Returns:
- WebIDL type:
PxConvexMesh
-
createTriangleMesh
public PxTriangleMesh createTriangleMesh(PxTriangleMeshDesc desc, PxInsertionCallback insertionCallback) - Parameters:
desc- WebIDL type:PxTriangleMeshDesc[Const, Ref]insertionCallback- WebIDL type:PxInsertionCallback[Ref]- Returns:
- WebIDL type:
PxTriangleMesh
-
createHeightField
public PxHeightField createHeightField(PxHeightFieldDesc desc, PxInsertionCallback insertionCallback) - Parameters:
desc- WebIDL type:PxHeightFieldDesc[Const, Ref]insertionCallback- WebIDL type:PxInsertionCallback[Ref]- Returns:
- WebIDL type:
PxHeightField
-