Search in sources :

Example 86 with OutputCapsule

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);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Example 87 with OutputCapsule

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);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Example 88 with OutputCapsule

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);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Example 89 with OutputCapsule

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);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Example 90 with OutputCapsule

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);
}
Also used : OutputCapsule(com.jme3.export.OutputCapsule)

Aggregations

OutputCapsule (com.jme3.export.OutputCapsule)119 Vector3f (com.jme3.math.Vector3f)17 Matrix3f (com.jme3.math.Matrix3f)4 SafeArrayList (com.jme3.util.SafeArrayList)2 ArrayList (java.util.ArrayList)2 Generic6DofConstraint (com.bulletphysics.dynamics.constraintsolver.Generic6DofConstraint)1 BoundingSphere (com.jme3.bounding.BoundingSphere)1 BoxCollisionShape (com.jme3.bullet.collision.shapes.BoxCollisionShape)1 ChildCollisionShape (com.jme3.bullet.collision.shapes.infos.ChildCollisionShape)1 RotationalLimitMotor (com.jme3.bullet.joints.motors.RotationalLimitMotor)1 Plane (com.jme3.math.Plane)1 Quaternion (com.jme3.math.Quaternion)1 Vector2f (com.jme3.math.Vector2f)1 Mesh (com.jme3.scene.Mesh)1 ShaderNodeVariable (com.jme3.shader.ShaderNodeVariable)1 List (java.util.List)1