java.lang.Object
physx.NativeObject
physx.common.PxErrorCallback
physx.common.PxDefaultErrorCallback
default implementation of the error callback
This class is provided in order to enable the SDK to be started with the minimum of user code. Typically an application will use its own error callback, and log the error to file or otherwise make it visible. Warnings and error messages from the SDK are usually indicative that changes are required in order for PhysX to function correctly, and should not be ignored.
-
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 PxDefaultErrorCallbackarrayGet(long baseAddress, int index) voiddestroy()static PxDefaultErrorCallbackwrapPointer(long address) Methods inherited from class physx.common.PxErrorCallback
reportErrorMethods 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
-
PxDefaultErrorCallback
protected PxDefaultErrorCallback(long address) -
PxDefaultErrorCallback
public PxDefaultErrorCallback()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxErrorCallback
-