use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.
the class LowPassFilter method write.
public void write(JmeExporter ex) throws IOException {
super.write(ex);
OutputCapsule oc = ex.getCapsule(this);
oc.write(volume, "volume", 0);
oc.write(highFreqVolume, "hf_volume", 0);
}
use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.
the class BoundingBox method write.
@Override
public void write(JmeExporter e) throws IOException {
super.write(e);
OutputCapsule capsule = e.getCapsule(this);
capsule.write(xExtent, "xExtent", 0);
capsule.write(yExtent, "yExtent", 0);
capsule.write(zExtent, "zExtent", 0);
}
use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.
the class TrackInfo method write.
public void write(JmeExporter ex) throws IOException {
OutputCapsule c = ex.getCapsule(this);
c.writeSavableArrayList(tracks, "tracks", null);
}
use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.
the class TextureKey method write.
@Override
public void write(JmeExporter ex) throws IOException {
super.write(ex);
OutputCapsule oc = ex.getCapsule(this);
oc.write(flipY, "flip_y", false);
oc.write(generateMips, "generate_mips", false);
oc.write(anisotropy, "anisotropy", 0);
oc.write(textureTypeHint, "tex_type", Type.TwoDimensional);
// Backwards compat
oc.write(textureTypeHint == Type.CubeMap, "as_cubemap", false);
}
use of com.jme3.export.OutputCapsule in project jmonkeyengine by jMonkeyEngine.
the class AudioKey method write.
@Override
public void write(JmeExporter ex) throws IOException {
super.write(ex);
OutputCapsule oc = ex.getCapsule(this);
oc.write(stream, "do_stream", false);
oc.write(streamCache, "use_stream_cache", false);
}
Aggregations