@Override
            public void applyToTexture(final String option, final Texture texture) {
                final int separatorPosition = option.indexOf("_");

                if (separatorPosition >= option.length() - 2) {
                    final String axis = option.substring(separatorPosition + 1);
                    final String mode = option.substring(0, separatorPosition);
                    final Texture.WrapAxis wrapAxis = Texture.WrapAxis.valueOf(axis);
                    texture.setWrap(wrapAxis, Texture.WrapMode.valueOf(mode));
                } else {
                    texture.setWrap(Texture.WrapMode.valueOf(option));
                }
            }
Applies a {@link com.jme3.texture.Texture.WrapMode} to the texture. This also supports {@link com.jme3.texture.Texture.WrapAxis}
by adding "_AXIS" to the texture option. For instance if you wanted to repeat on the S (horizontal) axis, you
would use <pre>WrapRepeat_S</pre> as a texture option.
jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java