private void updateAllInstanceData() {
        ArrayList<VertexBuffer> allData = new ArrayList<>();
        if (transformInstanceData != null) {
            allData.add(transformInstanceData);
        }
        if (globalInstanceData != null) {
            allData.addAll(Arrays.asList(globalInstanceData));
        }
        allInstanceData = allData.toArray(new VertexBuffer[allData.size()]);
    }
@deprecated use {@link #updateInstances(com.jme3.renderer.Camera)}
jme3-core/src/main/java/com/jme3/scene/instancing/InstancedGeometry.java