|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.renderer.queue.TransparentComparator
public class TransparentComparator
Constructor Summary | |
---|---|
TransparentComparator()
|
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 TransparentComparator()
Method Detail |
---|
public void setCamera(Camera cam)
GeometryComparator
setCamera
in interface GeometryComparator
cam
- The camera to use for sortingpublic int compare(Geometry o1, Geometry o2)
compare
in interface java.util.Comparator<Geometry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |