Added an accessor for getting the list's comparator.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 12 years ago
parent 6ec55f097f
commit 8ce28cbc04
  1. 8
      engine/src/core/com/jme3/renderer/queue/GeometryList.java

@ -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)}.

Loading…
Cancel
Save