Class PxHeightFieldDesc

java.lang.Object
physx.NativeObject
physx.geometry.PxHeightFieldDesc

public class PxHeightFieldDesc extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxHeightFieldDesc

      protected PxHeightFieldDesc(long address)
    • PxHeightFieldDesc

      public PxHeightFieldDesc()
  • Method Details

    • wrapPointer

      public static PxHeightFieldDesc wrapPointer(long address)
    • arrayGet

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

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

      public static <T> PxHeightFieldDesc 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 PxHeightFieldDesc
    • destroy

      public void destroy()
    • getNbRows

      public int getNbRows()
      Returns:
      WebIDL type: unsigned long
    • setNbRows

      public void setNbRows(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getNbColumns

      public int getNbColumns()
      Returns:
      WebIDL type: unsigned long
    • setNbColumns

      public void setNbColumns(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getFormat

      public PxHeightFieldFormatEnum getFormat()
      Returns:
      WebIDL type: PxHeightFieldFormatEnum [enum]
    • setFormat

      public void setFormat(PxHeightFieldFormatEnum value)
      Parameters:
      value - WebIDL type: PxHeightFieldFormatEnum [enum]
    • getSamples

      public PxStridedData getSamples()
      Returns:
      WebIDL type: PxStridedData [Value]
    • setSamples

      public void setSamples(PxStridedData value)
      Parameters:
      value - WebIDL type: PxStridedData [Value]
    • getConvexEdgeThreshold

      public float getConvexEdgeThreshold()
      Returns:
      WebIDL type: float
    • setConvexEdgeThreshold

      public void setConvexEdgeThreshold(float value)
      Parameters:
      value - WebIDL type: float
    • getFlags

      public PxHeightFieldFlags getFlags()
      Returns:
      WebIDL type: PxHeightFieldFlags [Value]
    • setFlags

      public void setFlags(PxHeightFieldFlags value)
      Parameters:
      value - WebIDL type: PxHeightFieldFlags [Value]
    • setToDefault

      public void setToDefault()
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean