SoWinColorEditorAttach Method (SoSFColor, SoBase) |
Attaches the editor to a color node and edits the specified color.
Namespace: OIV.Inventor.Win
Attaching to the color node increments the reference count of the color node.
The color editor uses a sensor on the color field to automatically update itself when the color is changed externally.
NOTE: The node containing the field needs to also be passed to attach the sensor to it (since field sensors are not yet supported).
NOTE: The color editor can only be attached to either a single field or a multiple field at any given time. Even when attached to a multiple field, only a single color from that field is edited, as specified by index.