Package jme3utilities.minie
Class UserFilter
java.lang.Object
jme3utilities.minie.UserFilter
- All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter that selects physics objects associated with a
specific user object. Instances are immutable.
-
Constructor Summary
ConstructorsConstructorDescriptionUserFilter(Object userObject) Instantiate a filter for the specified user object. -
Method Summary
Modifier and TypeMethodDescriptionbooleandisplayObject(Object physicsObject) Test whether the specified physics object should be displayed/dumped.
-
Constructor Details
-
UserFilter
Instantiate a filter for the specified user object.- Parameters:
userObject- the desired user, or null to display/dump objects with no user
-
-
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 the object should be displayed/dumped, false if it shouldn't be
-