java.lang.Object
physx.NativeObject
physx.common.PxInsertionCallback
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:
-
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 PxInsertionCallbackarrayGet(long baseAddress, int index) static PxInsertionCallbackwrapPointer(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
-
PxInsertionCallback
protected PxInsertionCallback() -
PxInsertionCallback
protected PxInsertionCallback(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-