java.lang.Object
physx.NativeObject
physx.vhacd.VHACDConvexHull
-
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 VHACDConvexHullarrayGet(long baseAddress, int index) static VHACDConvexHullcreateAt(long address) static <T> VHACDConvexHullcreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()intdoublevoidsetM_meshId(int value) voidsetM_points(Vector_VHACDVertex value) voidvoidsetM_volume(double value) static VHACDConvexHullwrapPointer(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
-
VHACDConvexHull
protected VHACDConvexHull(long address) -
VHACDConvexHull
public VHACDConvexHull()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of VHACDConvexHull
-
createAt
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.- Returns:
- Stack allocated object of VHACDConvexHull
-
destroy
public void destroy() -
getM_points
- Returns:
- WebIDL type:
Vector_VHACDVertex[Value]
-
setM_points
- Parameters:
value- WebIDL type:Vector_VHACDVertex[Value]
-
getM_triangles
- Returns:
- WebIDL type:
Vector_VHACDTriangle[Value]
-
setM_triangles
- Parameters:
value- WebIDL type:Vector_VHACDTriangle[Value]
-
getM_volume
public double getM_volume()- Returns:
- WebIDL type: double
-
setM_volume
public void setM_volume(double value) - Parameters:
value- WebIDL type: double
-
getM_meshId
public int getM_meshId()- Returns:
- WebIDL type: unsigned long
-
setM_meshId
public void setM_meshId(int value) - Parameters:
value- WebIDL type: unsigned long
-