java.lang.Object
physx.NativeObject
physx.vhacd.VHACDParameters
-
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 VHACDParametersarrayGet(long baseAddress, int index) static VHACDParameterscreateAt(long address) static <T> VHACDParameterscreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()booleanbooleanintintintintdoubleintbooleanvoidsetM_asyncACD(boolean value) voidsetM_findBestPlane(boolean value) voidsetM_maxConvexHulls(int value) voidsetM_maxNumVerticesPerCH(int value) voidsetM_maxRecursionDepth(int value) voidsetM_minEdgeLength(int value) voidsetM_minimumVolumePercentErrorAllowed(double value) voidsetM_resolution(int value) voidsetM_shrinkWrap(boolean value) static VHACDParameterswrapPointer(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
-
VHACDParameters
protected VHACDParameters(long address) -
VHACDParameters
public VHACDParameters()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of VHACDParameters
-
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 VHACDParameters
-
destroy
public void destroy() -
getM_maxConvexHulls
public int getM_maxConvexHulls()- Returns:
- WebIDL type: unsigned long
-
setM_maxConvexHulls
public void setM_maxConvexHulls(int value) - Parameters:
value- WebIDL type: unsigned long
-
getM_resolution
public int getM_resolution()- Returns:
- WebIDL type: unsigned long
-
setM_resolution
public void setM_resolution(int value) - Parameters:
value- WebIDL type: unsigned long
-
getM_minimumVolumePercentErrorAllowed
public double getM_minimumVolumePercentErrorAllowed()- Returns:
- WebIDL type: double
-
setM_minimumVolumePercentErrorAllowed
public void setM_minimumVolumePercentErrorAllowed(double value) - Parameters:
value- WebIDL type: double
-
getM_maxRecursionDepth
public int getM_maxRecursionDepth()- Returns:
- WebIDL type: unsigned long
-
setM_maxRecursionDepth
public void setM_maxRecursionDepth(int value) - Parameters:
value- WebIDL type: unsigned long
-
getM_shrinkWrap
public boolean getM_shrinkWrap()- Returns:
- WebIDL type: boolean
-
setM_shrinkWrap
public void setM_shrinkWrap(boolean value) - Parameters:
value- WebIDL type: boolean
-
getM_maxNumVerticesPerCH
public int getM_maxNumVerticesPerCH()- Returns:
- WebIDL type: unsigned long
-
setM_maxNumVerticesPerCH
public void setM_maxNumVerticesPerCH(int value) - Parameters:
value- WebIDL type: unsigned long
-
getM_asyncACD
public boolean getM_asyncACD()- Returns:
- WebIDL type: boolean
-
setM_asyncACD
public void setM_asyncACD(boolean value) - Parameters:
value- WebIDL type: boolean
-
getM_minEdgeLength
public int getM_minEdgeLength()- Returns:
- WebIDL type: unsigned long
-
setM_minEdgeLength
public void setM_minEdgeLength(int value) - Parameters:
value- WebIDL type: unsigned long
-
getM_findBestPlane
public boolean getM_findBestPlane()- Returns:
- WebIDL type: boolean
-
setM_findBestPlane
public void setM_findBestPlane(boolean value) - Parameters:
value- WebIDL type: boolean
-