java.lang.Object
physx.NativeObject
physx.geometry.PxGeometry
physx.geometry.PxCustomGeometry
Custom geometry class. This class allows user to create custom geometries by providing a set of virtual callback functions.
-
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
ConstructorsModifierConstructorDescriptionprotectedprotectedPxCustomGeometry(long address) PxCustomGeometry(SimpleCustomGeometryCallbacks callbacks) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxCustomGeometryarrayGet(long baseAddress, int index) voiddestroy()booleanisValid()static PxCustomGeometrywrapPointer(long address) Methods inherited from class physx.geometry.PxGeometry
getTypeMethods 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
-
PxCustomGeometry
protected PxCustomGeometry() -
PxCustomGeometry
protected PxCustomGeometry(long address) -
PxCustomGeometry
- Parameters:
callbacks- WebIDL type:SimpleCustomGeometryCallbacks[Ref]
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxGeometry
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-