Interface ConstSubShapeId

All Superinterfaces:
Comparable<ConstJoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
SubShapeId

public interface ConstSubShapeId extends ConstJoltPhysicsObject
Read-only access to a SubShapeId. (native type: const SubShapeID)
  • Method Details

    • contentEquals

      boolean contentEquals(ConstSubShapeId otherId)
      Test for equality with the specified ID. The current ID is unaffected.
      Parameters:
      otherId - the ID to compare with (not null, unaffected)
      Returns:
      true if equivalent, otherwise false
    • getValue

      int getValue()
      Return the bit pattern of the ID. The ID is unaffected.
      Returns:
      the raw bit pattern