فهرست منبع

Added an accessor for getting the list's comparator.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
PSp..om 12 سال پیش
والد
کامیت
8ce28cbc04
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      engine/src/core/com/jme3/renderer/queue/GeometryList.java

+ 8 - 0
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)}.