java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NarrowPhaseStat
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<JoltPhysicsObject>
Gather and report narrow-phase performance statistics.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanTest whether the native library collects narrow-phase statistics.static voidGenerate a report using the Jolt PhysicsTracefunction.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Method Details
-
isCollecting
public static boolean isCollecting()Test whether the native library collects narrow-phase statistics. (native macro: JPH_TRACK_NARROWPHASE_STATS)- Returns:
trueif collecting statistics, otherwisefalse
-
sReportStats
public static void sReportStats()Generate a report using the Jolt PhysicsTracefunction.
-