Class NarrowPhaseStat

java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NarrowPhaseStat
All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>

public final class NarrowPhaseStat extends JoltPhysicsObject
Gather and report narrow-phase performance statistics.
  • Method Details

    • isCollecting

      public static boolean isCollecting()
      Test whether the native library collects narrow-phase statistics. (native macro: JPH_TRACK_NARROWPHASE_STATS)
      Returns:
      true if collecting statistics, otherwise false
    • sReportStats

      public static void sReportStats()
      Generate a report using the Jolt Physics Trace function.