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

From VFXPedia

< EyeonTips:Script
Revision as of 20:29, 23 October 2011 by Tilt (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • 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}