Select.SetControlMod

Sets the control module.

@param controlMod The control module.

The control module determines the output value to select. If the output value from the control module is within a range of values known as the <i>selection range</i>, the GetValue() method outputs the value from the source module with an index value of 1. Otherwise, this method outputs the value from the source module with an index value of 0.

This method assigns the control module an index value of 2. Passing the control module to this method produces the same results as passing the control module to the SetSourceMod() method while assigning that noise module an index value of 2.

This control module must exist throughout the lifetime of this noise module unless another control module replaces that control module.

class Select
void
SetControlMod
(
const(Mod)* controlMod
)

Meta