Package physx.physics

Class PxLocationHit

Direct Known Subclasses:
PxGeomRaycastHit, PxGeomSweepHit

public class PxLocationHit extends PxQueryHit
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxLocationHit

      protected PxLocationHit()
    • PxLocationHit

      protected PxLocationHit(long address)
  • Method Details

    • wrapPointer

      public static PxLocationHit wrapPointer(long address)
    • arrayGet

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

      public void destroy()
      Overrides:
      destroy in class PxQueryHit
    • getFlags

      public PxHitFlags getFlags()
      Returns:
      WebIDL type: PxHitFlags [Value]
    • setFlags

      public void setFlags(PxHitFlags value)
      Parameters:
      value - WebIDL type: PxHitFlags [Value]
    • getPosition

      public PxVec3 getPosition()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setPosition

      public void setPosition(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getNormal

      public PxVec3 getNormal()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setNormal

      public void setNormal(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getDistance

      public float getDistance()
      Returns:
      WebIDL type: float
    • setDistance

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