Added an accessor for getting the list's comparator.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
PSp..om 2012-12-18 05:42:42 +00:00
parent 6ec55f097f
commit 8ce28cbc04

@ -65,6 +65,14 @@ public class GeometryList {
this.comparator = comparator;
}
/**
* Returns the GeometryComparator that this Geometry list uses
* for sorting.
*/
public GeometryComparator getComparator() {
return comparator;
}
/**
* Set the camera that will be set on the geometry comparators
* via {@link GeometryComparator#setCamera(com.jme3.renderer.Camera)}.