java.lang.Object
physx.NativeObject
physx.vhacd.VHACDImpl
-
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 VHACDImplarrayGet(long baseAddress, int index) booleanCompute(PxRealConstPtr points, int countPoints, PxU32ConstPtr triangles, int countTriangles, VHACDParameters params) voiddestroy()booleanGetConvexHull(int index, VHACDConvexHull ch) intstatic VHACDImplwrapPointer(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
-
VHACDImpl
protected VHACDImpl(long address) -
VHACDImpl
public VHACDImpl()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
Compute
public boolean Compute(PxRealConstPtr points, int countPoints, PxU32ConstPtr triangles, int countTriangles, VHACDParameters params) - Parameters:
points- WebIDL type:PxRealConstPtr[Const, Ref]countPoints- WebIDL type: unsigned longtriangles- WebIDL type:PxU32ConstPtr[Const, Ref]countTriangles- WebIDL type: unsigned longparams- WebIDL type:VHACDParameters[Const, Ref]- Returns:
- WebIDL type: boolean
-
GetNConvexHulls
public int GetNConvexHulls()- Returns:
- WebIDL type: unsigned long
-
GetConvexHull
- Parameters:
index- WebIDL type: unsigned longch- WebIDL type:VHACDConvexHull[Ref]- Returns:
- WebIDL type: boolean
-