Class PxHeightFieldSample

java.lang.Object
physx.NativeObject
physx.geometry.PxHeightFieldSample

public class PxHeightFieldSample extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxHeightFieldSample

      protected PxHeightFieldSample(long address)
    • PxHeightFieldSample

      public PxHeightFieldSample()
  • Method Details

    • wrapPointer

      public static PxHeightFieldSample wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • getHeight

      public short getHeight()
      Returns:
      WebIDL type: short
    • setHeight

      public void setHeight(short value)
      Parameters:
      value - WebIDL type: short
    • getMaterialIndex0

      public byte getMaterialIndex0()
      Returns:
      WebIDL type: octet
    • setMaterialIndex0

      public void setMaterialIndex0(byte value)
      Parameters:
      value - WebIDL type: octet
    • getMaterialIndex1

      public byte getMaterialIndex1()
      Returns:
      WebIDL type: octet
    • setMaterialIndex1

      public void setMaterialIndex1(byte value)
      Parameters:
      value - WebIDL type: octet
    • tessFlag

      public byte tessFlag()
      Returns:
      WebIDL type: octet
    • clearTessFlag

      public void clearTessFlag()
    • setTessFlag

      public void setTessFlag()