Class ConvexGeomSupport


public class ConvexGeomSupport extends Support
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • ConvexGeomSupport

      protected ConvexGeomSupport(long address)
    • ConvexGeomSupport

      public ConvexGeomSupport()
    • ConvexGeomSupport

      public ConvexGeomSupport(PxGeometry geom)
      Parameters:
      geom - WebIDL type: PxGeometry [Const, Ref]
    • ConvexGeomSupport

      public ConvexGeomSupport(PxGeometry geom, float margin)
      Parameters:
      geom - WebIDL type: PxGeometry [Const, Ref]
      margin - WebIDL type: float
  • Method Details

    • wrapPointer

      public static ConvexGeomSupport wrapPointer(long address)
    • arrayGet

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

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

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

      public static ConvexGeomSupport createAt(long address, PxGeometry geom)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      geom - WebIDL type: PxGeometry [Const, Ref]
      Returns:
      Stack allocated object of ConvexGeomSupport
    • createAt

      public static <T> ConvexGeomSupport createAt(T allocator, NativeObject.Allocator<T> allocate, PxGeometry geom)
      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.
      geom - WebIDL type: PxGeometry [Const, Ref]
      Returns:
      Stack allocated object of ConvexGeomSupport
    • createAt

      public static ConvexGeomSupport createAt(long address, PxGeometry geom, float margin)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      geom - WebIDL type: PxGeometry [Const, Ref]
      margin - WebIDL type: float
      Returns:
      Stack allocated object of ConvexGeomSupport
    • createAt

      public static <T> ConvexGeomSupport createAt(T allocator, NativeObject.Allocator<T> allocate, PxGeometry geom, float margin)
      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.
      geom - WebIDL type: PxGeometry [Const, Ref]
      margin - WebIDL type: float
      Returns:
      Stack allocated object of ConvexGeomSupport
    • destroy

      public void destroy()
      Overrides:
      destroy in class Support