Package physx.physics

Class PxContactPair

java.lang.Object
physx.NativeObject
physx.physics.PxContactPair

public class PxContactPair extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxContactPair

      protected PxContactPair()
    • PxContactPair

      protected PxContactPair(long address)
  • Method Details

    • wrapPointer

      public static PxContactPair wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getShapes

      public PxShape getShapes(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: PxShape
    • setShapes

      public void setShapes(int index, PxShape value)
      Parameters:
      index - Array index
      value - WebIDL type: PxShape
    • getContactCount

      public byte getContactCount()
      Returns:
      WebIDL type: octet
    • setContactCount

      public void setContactCount(byte value)
      Parameters:
      value - WebIDL type: octet
    • getPatchCount

      public byte getPatchCount()
      Returns:
      WebIDL type: octet
    • setPatchCount

      public void setPatchCount(byte value)
      Parameters:
      value - WebIDL type: octet
    • getFlags

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

      public void setFlags(PxContactPairFlags value)
      Parameters:
      value - WebIDL type: PxContactPairFlags [Value]
    • getEvents

      public PxPairFlags getEvents()
      Returns:
      WebIDL type: PxPairFlags [Value]
    • setEvents

      public void setEvents(PxPairFlags value)
      Parameters:
      value - WebIDL type: PxPairFlags [Value]
    • extractContacts

      public int extractContacts(PxContactPairPoint userBuffer, int bufferSize)
      Parameters:
      userBuffer - WebIDL type: PxContactPairPoint
      bufferSize - WebIDL type: unsigned long
      Returns:
      WebIDL type: unsigned long