Package physx.vhacd

Class VHACDParameters

java.lang.Object
physx.NativeObject
physx.vhacd.VHACDParameters

public class VHACDParameters extends NativeObject
  • 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

      public static VHACDParameters wrapPointer(long address)
    • arrayGet

      public static VHACDParameters arrayGet(long baseAddress, int index)
    • createAt

      public static VHACDParameters createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of VHACDParameters
    • createAt

      public static <T> VHACDParameters createAt(T allocator, NativeObject.Allocator<T> allocate)
      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