Package ptolemy.actor.parameters

Examples of ptolemy.actor.parameters.DoubleRangeParameter


        texture = new FileParameter(this, "texture");

        // The following ensures that revert to defaults works properly.
        texture.setExpression("");

        shininess = new DoubleRangeParameter(this, "shininess");
        shininess.min.setExpression("1.0");
        shininess.max.setExpression("128.0");
        shininess.precision.setExpression("128");
        shininess.setExpression("1.0");
        shininess.setTypeEquals(BaseType.DOUBLE);

        transparency = new DoubleRangeParameter(this, "transparency");
        transparency.setExpression("0.0");
        transparency.setTypeEquals(BaseType.DOUBLE);

        wireFrame = new Parameter(this, "wireFrame");
        wireFrame.setExpression("false");
View Full Code Here

TOP

Related Classes of ptolemy.actor.parameters.DoubleRangeParameter

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.