Package physx.support

Class PxArray_PxVec4

java.lang.Object
physx.NativeObject
physx.support.PxArray_PxVec4

public class PxArray_PxVec4 extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxArray_PxVec4

      protected PxArray_PxVec4(long address)
    • PxArray_PxVec4

      public PxArray_PxVec4()
    • PxArray_PxVec4

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

    • wrapPointer

      public static PxArray_PxVec4 wrapPointer(long address)
    • arrayGet

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

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

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

      public static PxArray_PxVec4 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_PxVec4
    • createAt

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

      public void destroy()
    • get

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

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

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

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

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

      public void clear()