Package com.jme3.renderer.queue
Class NullComparator
java.lang.Object
com.jme3.renderer.queue.NullComparator
- All Implemented Interfaces:
GeometryComparator,Comparator<Geometry>
NullComparator does not sort geometries. They will be in
arbitrary order.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
NullComparator
public NullComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Geometry>
-
setCamera
Description copied from interface:GeometryComparatorSet the camera to use for sorting.- Specified by:
setCamerain interfaceGeometryComparator- Parameters:
cam- The camera to use for sorting
-