Used to set the SubType of a Value pin, which is a set of limitations to the pins value range, used by the GUI to guide the user to insert correct values. Note though that this does not prevent a user from setting "wrong" values on a pin. Ultimately each node is responsible for dealing with all possible inputs correctly. Should only be called once immediately after the pin has been created in IPlugin.SetPluginHost.

Namespace: VVVV.PluginInterfaces.V1
Assembly: VVVV.PluginInterfaces (in VVVV.PluginInterfaces.dll) Version: 2.0.4694.10872

Syntax

C#
void SetSubType(
	double min,
	double max,
	double stepSize,
	double default,
	bool isBang,
	bool isToggle,
	bool isInteger
)

Parameters

min
Type: System..::..Double
Minimum of the Values range.
max
Type: System..::..Double
Maximum of the Values range.
stepSize
Type: System..::..Double
StepSize used when scrolling the value up or down via the GUI.
default
Type: System..::..Double
The Value the pin is initialized with and can be reset to at any time.
isBang
Type: System..::..Boolean
Hint to the GUI that this Value is a bang.
isToggle
Type: System..::..Boolean
Hint to the GUI that this is a toggling Value.
isInteger
Type: System..::..Boolean
Hint to the GUI that this is an integer Value.

See Also