|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.renderer.queue.GuiComparator
public class GuiComparator
GuiComparator
sorts geometries back-to-front based
on their Z position.
Constructor Summary | |
---|---|
GuiComparator()
|
Method Summary | |
---|---|
int |
compare(Geometry o1,
Geometry o2)
|
void |
setCamera(Camera cam)
Set the camera to use for sorting. |
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 |
Constructor Detail |
---|
public GuiComparator()
Method Detail |
---|
public int compare(Geometry o1, Geometry o2)
compare
in interface java.util.Comparator<Geometry>
public void setCamera(Camera cam)
GeometryComparator
setCamera
in interface GeometryComparator
cam
- The camera to use for sorting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |