Package jme3utilities.minie
Class ClassFilter
java.lang.Object
jme3utilities.minie.ClassFilter
- All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter to select objects that are assignable to a
specific class. Instances are immutable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandisplayObject(Object physicsObject) Test whether the specified physics object should be displayed/dumped.
-
Constructor Details
-
ClassFilter
Instantiate a filter for the specified class.- Parameters:
clazz- the class to select
-
-
Method Details
-
displayObject
Test whether the specified physics object should be displayed/dumped.- Specified by:
displayObjectin interfaceBulletDebugAppState.DebugAppStateFilter- Parameters:
physicsObject- the joint or collision object to test (unaffected)- Returns:
- return true if physicsObject should be displayed/dumped, false if it shouldn't be
-