Package com.jme3.renderer.queue
Class TransparentComparator
java.lang.Object
com.jme3.renderer.queue.TransparentComparator
- All Implemented Interfaces:
GeometryComparator
,Comparator<Geometry>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
TransparentComparator
public TransparentComparator()
-
-
Method Details
-
setCamera
Description copied from interface:GeometryComparator
Set the camera to use for sorting.- Specified by:
setCamera
in interfaceGeometryComparator
- Parameters:
cam
- The camera to use for sorting
-
compare
- Specified by:
compare
in interfaceComparator<Geometry>
-