property floatValue

(r/w) double floatValue;

Typ

Zugriff

This property is used to get and set the float value for the style variant. This property is currently not used.
function onSample()
{
    var rootBox = scene.rootBox;
    if (rootBox)
    {
        var styleVar = rootBox.getStyle("scale");
        if (styleVar && !styleVar.isNull)
        {
            shell.print("value = " + styleVar.floatValue);
        }
    }
}