From 8ce28cbc047e1e5e1111f79965d6e29a191904ec Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Tue, 18 Dec 2012 05:42:42 +0000 Subject: [PATCH] Added an accessor for getting the list's comparator. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/renderer/queue/GeometryList.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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)}.