Class PxGjkQuerySweepResult

java.lang.Object
physx.NativeObject
physx.extensions.PxGjkQuerySweepResult

public class PxGjkQuerySweepResult extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxGjkQuerySweepResult

      protected PxGjkQuerySweepResult(long address)
    • PxGjkQuerySweepResult

      public PxGjkQuerySweepResult()
  • Method Details

    • wrapPointer

      public static PxGjkQuerySweepResult wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • getSuccess

      public boolean getSuccess()
      Returns:
      WebIDL type: boolean
    • setSuccess

      public void setSuccess(boolean value)
      Parameters:
      value - WebIDL type: boolean
    • getT

      public float getT()
      Returns:
      WebIDL type: float
    • setT

      public void setT(float value)
      Parameters:
      value - WebIDL type: float
    • getN

      public PxVec3 getN()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setN

      public void setN(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getP

      public PxVec3 getP()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setP

      public void setP(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]