java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.common.PxRefCounted
physx.geometry.PxConvexMesh
-
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 PxConvexMesharrayGet(long baseAddress, int index) intintbooleangetPolygonData(int index, PxHullPolygon data) booleanstatic PxConvexMeshwrapPointer(long address) Methods inherited from class physx.common.PxRefCounted
acquireReference, getReferenceCountMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods 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
-
PxConvexMesh
protected PxConvexMesh() -
PxConvexMesh
protected PxConvexMesh(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getNbVertices
public int getNbVertices()- Returns:
- WebIDL type: unsigned long
-
getVertices
- Returns:
- WebIDL type:
PxVec3[Const]
-
getIndexBuffer
- Returns:
- WebIDL type:
PxU8ConstPtr[Value]
-
getNbPolygons
public int getNbPolygons()- Returns:
- WebIDL type: unsigned long
-
getPolygonData
- Parameters:
index- WebIDL type: unsigned longdata- WebIDL type:PxHullPolygon[Ref]- Returns:
- WebIDL type: boolean
-
getLocalBounds
- Returns:
- WebIDL type:
PxBounds3[Value]
-
isGpuCompatible
public boolean isGpuCompatible()- Returns:
- WebIDL type: boolean
-