Ver Fonte

Added public method getGeometry on Batch class.

InShadow há 9 anos atrás
pai
commit
947904b71d
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      jme3-core/src/main/java/com/jme3/scene/BatchNode.java

+ 4 - 0
jme3-core/src/main/java/com/jme3/scene/BatchNode.java

@@ -674,6 +674,10 @@ public class BatchNode extends GeometryGroupNode {
             }
         }
         Geometry geometry;
+        
+        public final Geometry getGeometry() {
+            return geometry;
+        }
     }
 
     protected void setNeedsFullRebatch(boolean needsFullRebatch) {