java.lang.Object
physx.NativeObject
physx.geometry.PxGeometry
- Direct Known Subclasses:
PxBoxGeometry,PxCapsuleGeometry,PxConvexMeshGeometry,PxCustomGeometry,PxHeightFieldGeometry,PxPlaneGeometry,PxSphereGeometry,PxTriangleMeshGeometry
A geometry object.
A geometry object defines the characteristics of a spatial object, but without any information about its placement in the world.
Note: This is an abstract class. You cannot create instances directly. Create an instance of one of the derived classes instead.
-
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 PxGeometryarrayGet(long baseAddress, int index) voiddestroy()getType()Returns the type of the geometry.static PxGeometrywrapPointer(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
-
PxGeometry
protected PxGeometry() -
PxGeometry
protected PxGeometry(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getType
Returns the type of the geometry.- Returns:
- The type of the object.
-