Package physx.geomutils
Class PxConvexMesh
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.geomutils.PxConvexMesh
-
public class PxConvexMesh extends PxBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxConvexMesh()protectedPxConvexMesh(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacquireReference()PxU8PtrgetIndexBuffer()PxBounds3getLocalBounds()intgetNbPolygons()intgetNbVertices()booleangetPolygonData(int index, PxHullPolygon data)intgetReferenceCount()PxVec3getVertices()booleanisGpuCompatible()static PxConvexMeshwrapPointer(long address)-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxConvexMesh wrapPointer(long address)
-
getNbVertices
public int getNbVertices()
- Returns:
- unsigned long
-
getNbPolygons
public int getNbPolygons()
- Returns:
- unsigned long
-
getPolygonData
public boolean getPolygonData(int index, PxHullPolygon data)- Parameters:
index- unsigned longdata-PxHullPolygon[Ref]- Returns:
- boolean
-
getReferenceCount
public int getReferenceCount()
- Returns:
- unsigned long
-
acquireReference
public void acquireReference()
-
isGpuCompatible
public boolean isGpuCompatible()
- Returns:
- boolean
-
-