Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

setParameterNormalized(nameOrID, value)


Function to set the value of a parameter in a normalized range from 0 to 1.0. The parameter can be identified by name or ID. If the parameter doesn't exist or if its value is of the type string, no change will happen.

Available in: Controller, Processor.


nameOrIDThe name or ID of the parameter.
valueThe value you want to set in a normalized range from 0 to 1.0.


-- set the normalized value of the parent layer's level parameter
function onLoadIntoSlot()
    this.parent:setParameterNormalized("Level", 0.5) -- set via name
    this.parent:setParameterNormalized(38, 0.5) -- set via ID
  • No labels