Class DecoratedShape

All Implemented Interfaces:
ConstJoltPhysicsObject, ConstShape, RefTarget, AutoCloseable, Comparable<JoltPhysicsObject>
Direct Known Subclasses:
OffsetCenterOfMassShape, RotatedTranslatedShape, ScaledShape

public class DecoratedShape extends Shape
Add functionality to an existing Shape.
  • Method Details

    • getInnerShape

      public ConstShape getInnerShape()
      Access the undecorated shape.
      Returns:
      a new JVM object with the pre-existing native object assigned