public void setShotIndex(long index) {
        this.shotIndex = index;
    }
Sets the base index that will used for subsequent screenshots.

@param index the desired base index
jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java