Used to set the SubType of a Color pin, which is a more detailed specification of the Color, used by the GUI to guide the user to insert correct Colors. Note though that this does not prevent a user from setting "wrong" Colors 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(
	RGBAColor default,
	bool hasAlpha
)

Parameters

default
Type: VVVV.Utils.VColor..::..RGBAColor
The Color the pin is initialized with and can be reset to at any time.
hasAlpha
Type: System..::..Boolean
Hint to the GUI that this Color has an alpha channel.

See Also