Eyeon:Script/Reference/Applications/Fusion/Classes/Operator

From VFXPedia

< Eyeon:Script | Reference | Applications | Fusion | Classes
Revision as of 07:46, 19 November 2009 by Daniel (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Parent Class: Object

Operator.

Contents

Methods:

Members:

  • TileColor - Color of the tool's icon on the Flow view
  • TextColor - Color of the tool's icon text on the Flow view
  • FillColor
  • ShadowColor
  • ShineColor

Other:


Tips for Operator (edit)

  • There are more member variables than listed above. All of these are read-only:
    • Instead of using tool:GetAttrs().TOOLS_Name, you can also use tool.Name.
    • tool.ID corresponds to the attribute TOOLS_RegID
    • tool.ParentTool contains the group parent (if the tool is inside a group).
    • tool.Composition points to the composition object that this tool belongs to.
  • tool.UserControls is a (writable) table of custom inputs created by the User Controls script.
  • TileColor, TextColor and so forth expect a table with R, G and B keys. Colors are floating point but can easily be converted from 8bit RGB:
tool.TileColor = {R = 1.0, G = 0.5, B = 128/255}