Class PxGjkQueryProximityInfoResult

java.lang.Object
physx.NativeObject
physx.extensions.PxGjkQueryProximityInfoResult

public class PxGjkQueryProximityInfoResult extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxGjkQueryProximityInfoResult

      protected PxGjkQueryProximityInfoResult(long address)
    • PxGjkQueryProximityInfoResult

      public PxGjkQueryProximityInfoResult()
  • Method Details

    • wrapPointer

      public static PxGjkQueryProximityInfoResult wrapPointer(long address)
    • arrayGet

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

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

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

      public void destroy()
    • getSuccess

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

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

      public PxVec3 getPointA()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setPointA

      public void setPointA(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getPointB

      public PxVec3 getPointB()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setPointB

      public void setPointB(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getSeparatingAxis

      public PxVec3 getSeparatingAxis()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setSeparatingAxis

      public void setSeparatingAxis(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getSeparation

      public float getSeparation()
      Returns:
      WebIDL type: float
    • setSeparation

      public void setSeparation(float value)
      Parameters:
      value - WebIDL type: float