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

public interface ConstTriangle extends ConstJoltPhysicsObject
Read-only access to an Triangle. (native type: const Triangle)
  • Method Details

    • getMaterialIndex

      int getMaterialIndex()
      Return the triangle's material index. The triangle is unaffected.
      Returns:
      the index
    • getUserData

      int getUserData()
      Return the triangle's user data. The triangle is unaffected.
      Returns:
      the value
    • putVertices

      void putVertices(FloatBuffer storeBuffer)
      Write the vertex locations to the specified buffer and advance the buffer's position by 9. The triangle is unaffected.
      Parameters:
      storeBuffer - the destination buffer (not null)