com.jme3.renderer.queue
Interface GeometryComparator

All Superinterfaces:
java.util.Comparator<Geometry>
All Known Implementing Classes:
GuiComparator, NullComparator, OpaqueComparator, TransparentComparator

public interface GeometryComparator
extends java.util.Comparator<Geometry>

GeometryComparator is a special version of Comparator that is used to sort geometries for rendering in the RenderQueue.


Method Summary
 void setCamera(Camera cam)
          Set the camera to use for sorting.
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

setCamera

void setCamera(Camera cam)
Set the camera to use for sorting.

Parameters:
cam - The camera to use for sorting