Package jme3utilities.minie
Class NegativeAppDataFilter
java.lang.Object
jme3utilities.minie.NegativeAppDataFilter
- All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter
public class NegativeAppDataFilter
extends Object
implements BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter that selects any physics objects NOT associated
with a specific application-data object. Instances are immutable.
-
Constructor Summary
ConstructorDescriptionNegativeAppDataFilter
(Object appData) Instantiate a filter for the specified application-data object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
displayObject
(Object physicsObject) Test whether the specified physics object should be displayed/dumped.
-
Constructor Details
-
NegativeAppDataFilter
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:
displayObject
in 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
-