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, isExternallyAllocated
-
-
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()PxU8ConstPtrgetIndexBuffer()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
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxConvexMesh wrapPointer(long address)
-
getNbVertices
public int getNbVertices()
- Returns:
- WebIDL type: unsigned long
-
getIndexBuffer
public PxU8ConstPtr getIndexBuffer()
- Returns:
- WebIDL type:
PxU8ConstPtr[Value]
-
getNbPolygons
public int getNbPolygons()
- Returns:
- WebIDL type: unsigned long
-
getPolygonData
public boolean getPolygonData(int index, PxHullPolygon data)- Parameters:
index- WebIDL type: unsigned longdata- WebIDL type:PxHullPolygon[Ref]- Returns:
- WebIDL type: boolean
-
getReferenceCount
public int getReferenceCount()
- Returns:
- WebIDL type: unsigned long
-
acquireReference
public void acquireReference()
-
isGpuCompatible
public boolean isGpuCompatible()
- Returns:
- WebIDL type: boolean
-
-