use of com.jme3.export.InputCapsule in project jmonkeyengine by jMonkeyEngine.
the class FogFilter method read.
@Override
public void read(JmeImporter im) throws IOException {
super.read(im);
InputCapsule ic = im.getCapsule(this);
fogColor = (ColorRGBA) ic.readSavable("fogColor", ColorRGBA.White.clone());
fogDensity = ic.readFloat("fogDensity", 0.7f);
fogDistance = ic.readFloat("fogDistance", 1000);
}
use of com.jme3.export.InputCapsule in project jmonkeyengine by jMonkeyEngine.
the class GuiEvent method read.
@Override
public void read(JmeImporter im) throws IOException {
super.read(im);
InputCapsule ic = im.getCapsule(this);
screen = ic.readString("screen", "");
}
use of com.jme3.export.InputCapsule in project jmonkeyengine by jMonkeyEngine.
the class GuiTrack method read.
@Override
public void read(JmeImporter im) throws IOException {
super.read(im);
InputCapsule ic = im.getCapsule(this);
screen = ic.readString("screen", "");
}
use of com.jme3.export.InputCapsule in project jmonkeyengine by jMonkeyEngine.
the class ContentTextureKey method read.
@Override
public void read(JmeImporter im) throws IOException {
super.read(im);
InputCapsule ic = im.getCapsule(this);
content = ic.readByteArray("content", new byte[0]);
}
use of com.jme3.export.InputCapsule in project jmonkeyengine by jMonkeyEngine.
the class NormalRecalcControl method read.
@Override
public void read(JmeImporter im) throws IOException {
super.read(im);
InputCapsule ic = im.getCapsule(this);
terrain = (TerrainQuad) ic.readSavable("terrain", null);
}
Aggregations