Package physx.support

Class PxArray_PxSweepHit

java.lang.Object
physx.NativeObject
physx.support.PxArray_PxSweepHit

public class PxArray_PxSweepHit extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxArray_PxSweepHit

      protected PxArray_PxSweepHit(long address)
    • PxArray_PxSweepHit

      public PxArray_PxSweepHit()
    • PxArray_PxSweepHit

      public PxArray_PxSweepHit(int size)
      Parameters:
      size - WebIDL type: unsigned long
  • Method Details

    • wrapPointer

      public static PxArray_PxSweepHit wrapPointer(long address)
    • arrayGet

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

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

      public static <T> PxArray_PxSweepHit 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 PxArray_PxSweepHit
    • createAt

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

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

      public void destroy()
    • get

      public PxSweepHit get(int index)
      Parameters:
      index - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxSweepHit [Ref]
    • set

      public void set(int index, PxSweepHit value)
      Parameters:
      index - WebIDL type: unsigned long
      value - WebIDL type: PxSweepHit [Const, Ref]
    • begin

      public PxSweepHit begin()
      Returns:
      WebIDL type: PxSweepHit
    • size

      public int size()
      Returns:
      WebIDL type: unsigned long
    • pushBack

      public void pushBack(PxSweepHit value)
      Parameters:
      value - WebIDL type: PxSweepHit [Ref]
    • clear

      public void clear()