All Implemented Interfaces:
ConstJoltPhysicsObject, ConstShape, RefTarget, AutoCloseable, Comparable<JoltPhysicsObject>

public class MeshShape extends Shape
A Shape to represent a surface defined by a collection of triangles.
  • Method Details

    • getTriangleUserData

      public int getTriangleUserData(int subShapeId)
      Return the user data of the specified sub-shape. The shape is unaffected.
      Parameters:
      subShapeId - the ID of the sub-shape to read
      Returns:
      the value