Package physx.physics

Class PxRaycastResult


public class PxRaycastResult extends PxRaycastCallback
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxRaycastResult

      protected PxRaycastResult(long address)
    • PxRaycastResult

      public PxRaycastResult()
  • Method Details

    • wrapPointer

      public static PxRaycastResult wrapPointer(long address)
    • arrayGet

      public static PxRaycastResult arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
      Overrides:
      destroy in class PxRaycastCallback
    • getBlock

      public PxRaycastHit getBlock()
      Returns:
      WebIDL type: PxRaycastHit [Value]
    • setBlock

      public void setBlock(PxRaycastHit value)
      Parameters:
      value - WebIDL type: PxRaycastHit [Value]
    • getHasBlock

      public boolean getHasBlock()
      Returns:
      WebIDL type: boolean
    • setHasBlock

      public void setHasBlock(boolean value)
      Parameters:
      value - WebIDL type: boolean
    • getNbAnyHits

      public int getNbAnyHits()
      Returns:
      WebIDL type: unsigned long
    • getAnyHit

      public PxRaycastHit getAnyHit(int index)
      Parameters:
      index - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxRaycastHit [Const, Ref]
    • getNbTouches

      public int getNbTouches()
      Returns:
      WebIDL type: unsigned long
    • getTouch

      public PxRaycastHit getTouch(int index)
      Parameters:
      index - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxRaycastHit [Const, Ref]