Class PxHeightFieldFlags

java.lang.Object
physx.NativeObject
physx.geometry.PxHeightFieldFlags

public class PxHeightFieldFlags extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxHeightFieldFlags

      protected PxHeightFieldFlags()
    • PxHeightFieldFlags

      protected PxHeightFieldFlags(long address)
    • PxHeightFieldFlags

      public PxHeightFieldFlags(short flags)
      Parameters:
      flags - WebIDL type: unsigned short
  • Method Details

    • wrapPointer

      public static PxHeightFieldFlags wrapPointer(long address)
    • arrayGet

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

      public static PxHeightFieldFlags createAt(long address, short flags)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      flags - WebIDL type: unsigned short
      Returns:
      Stack allocated object of PxHeightFieldFlags
    • createAt

      public static <T> PxHeightFieldFlags createAt(T allocator, NativeObject.Allocator<T> allocate, short flags)
      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.
      flags - WebIDL type: unsigned short
      Returns:
      Stack allocated object of PxHeightFieldFlags
    • destroy

      public void destroy()
    • isSet

      public boolean isSet(PxHeightFieldFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxHeightFieldFlagEnum [enum]
      Returns:
      WebIDL type: boolean
    • raise

      public void raise(PxHeightFieldFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxHeightFieldFlagEnum [enum]
    • clear

      public void clear(PxHeightFieldFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxHeightFieldFlagEnum [enum]