The IColorOut type exposes the following members.

Methods

  NameDescription
Public methodGetColorPointer(Double**%)
Public methodGetColorPointer(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.
Public methodSetColor
Used to write a Color to the pin at the specified slice.
Public methodSetSubType
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.

See Also