Package com.ardor3d.util.export

Examples of com.ardor3d.util.export.InputCapsule.readBoolean()


        oc.write(_passStates.values().toArray(new RenderState[0]), "passStates", null);
    }

    public void read(final InputCapsule capsule) throws IOException {
        final InputCapsule ic = capsule;
        _enabled = ic.readBoolean("enabled", true);
        final RenderState[] states = CapsuleUtils.asArray(ic.readSavableArray("passStates", null), RenderState.class);
        _passStates.clear();
        if (states != null) {
            for (final RenderState state : states) {
                _passStates.put(state.getType(), state);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.