Package com.ardor3d.util.export

Examples of com.ardor3d.util.export.OutputCapsule


    public Class<? extends PassNodeState> getClassTag() {
        return this.getClass();
    }

    public void write(final OutputCapsule capsule) throws IOException {
        final OutputCapsule oc = capsule;
        oc.write(_enabled, "enabled", true);
        oc.write(_passStates.values().toArray(new RenderState[0]), "passStates", null);
    }
View Full Code Here


    }

    @Override
    public void write(final OutputCapsule capsule) throws IOException {
        super.write(capsule);
        final OutputCapsule cap = capsule;
        cap.write(_wanderRadius, "wanderRadius", DEFAULT_RADIUS);
        cap.write(_wanderDistance, "wanderDistance", DEFAULT_DISTANCE);
        cap.write(_wanderJitter, "wanderJitter", DEFAULT_JITTER);
    }
View Full Code Here

    }

    @Override
    public void write(final OutputCapsule capsule) throws IOException {
        super.write(capsule);
        final OutputCapsule cap = capsule;
        cap.write(_swarmRangeSQ, "swarmRangeSQ", DEFAULT_SWARM_RANGE_SQ);
        cap.write(_deviance, "deviance", DEFAULT_DEVIANCE);
        cap.write(_turnSpeed, "turnSpeed", DEFAULT_TURN_SPEED);
        cap.write(_speedBump, "speedBump", DEFAULT_SPEED_BUMP);
        cap.write(_maxSpeed, "maxSpeed", DEFAULT_MAX_SPEED);
        cap.write(_swarmOffset, "swarmOffset", new Vector3());
    }
View Full Code Here

TOP

Related Classes of com.ardor3d.util.export.OutputCapsule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.