The IColorConfig type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetColor |
Used to retrieve a Color from the pin at the specified slice.
| |
GetColorPointer(Int32*%, Double**%) | ||
GetColorPointer(Int32%, Double*%) |
Used to retrieve a Pointer to the Colors of the pin, which can be used to retrive large Spreads of Colors more efficiently.
Each Color consists of 4 doubles, one for each of Red, Green, Blue and Alpha.
Attention: Don't use this Pointer to write Colors to the pin!
| |
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.
|