Package jme3utilities.minie
Class AppDataFilter
java.lang.Object
jme3utilities.minie.AppDataFilter
- All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter that selects physics objects associated with a
specific application-data object. Instances are immutable.
-
Constructor Summary
ConstructorsConstructorDescriptionAppDataFilter(Object appData) Instantiate a filter for the specified application-data object. -
Method Summary
Modifier and TypeMethodDescriptionbooleandisplayObject(Object physicsObject) Test whether the specified physics object should be displayed/dumped.
-
Constructor Details
-
AppDataFilter
Instantiate a filter for the specified application-data object.- Parameters:
appData- the desired object (alias created) or null to display/dump objects without application data
-
-
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
-