The IColorOut type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetColorPointer(Double**%) | ||
GetColorPointer(Double*%) |
Used to retrieve a Pointer to the Colors of the pin, which can be used to write large number of Colors more efficiently.
Each Color consists of 4 doubles, one for each of Red, Green, Blue and Alpha.
Note though, that when writing Colors to the Pointer the pins SliceCount has to be taken care of manually.
| |
SetColor |
Used to write a Color to the pin at the specified slice.
| |
SetSubType |
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.
|
Properties
Name | Description | |
---|---|---|
IsConnected |
Specifies whether the pin is connected in the patch or not.
(Inherited from IPluginIO.) | |
Name |
The pins name.
(Inherited from IPluginIO.) | |
Order |
The order property helps the node to arrange its pins visually. The higher the order, the more right the pin appears on the node.
(Inherited from IPluginIO.) | |
PluginHost |
Gets the plugin host which created this plugin io.
(Inherited from IPluginIO.) | |
SliceCount |
The pins SliceCount specifies the number of Values (2D Vector, String...) it carries. This is like the length of an array or list.
(Inherited from IPluginOut.) | |
SpreadAsString |
Returns a String of the pins concatenated Values. Typcally used internally only to save a pins state to disk.
(Inherited from IPluginOut.) |