diff --git a/engine/src/core/com/jme3/renderer/queue/GeometryList.java b/engine/src/core/com/jme3/renderer/queue/GeometryList.java index 78c2369ab..1f624a6e1 100644 --- a/engine/src/core/com/jme3/renderer/queue/GeometryList.java +++ b/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)}.