Interface ConstSubShapeIdPair

All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
SubShapeIdPair

public interface ConstSubShapeIdPair extends ConstJoltPhysicsObject
Read-only access to a SubShapeIdPair. (native type: const SubShapeIDPair)
  • Method Details

    • getBody1Id

      int getBody1Id()
      Return the ID of the first body. The pair is unaffected.
      Returns:
      the BodyID value
    • getBody2Id

      int getBody2Id()
      Return the ID of the 2nd body. The pair is unaffected.
      Returns:
      the BodyID value
    • getHash

      long getHash()
      Return the hashcode for the pair. The pair is unaffected.
      Returns:
      the value
    • getSubShapeId1

      int getSubShapeId1()
      Return the ID of the first sub-shape. The pair is unaffected.
      Returns:
      a SubShapeID value
    • getSubShapeId2

      int getSubShapeId2()
      Return the ID of the 2nd sub-shape. The pair is unaffected.
      Returns:
      a SubShapeID value