EyeonTips:Script/Reference/Applications/Fuse/Classes/Input/LabelControl

From VFXPedia

Jump to: navigation, search
  • A LabelControl is also used as a way to toggle the visibility of other controls. To create such a control nest, use the BeginControlNest function. It will create a LabelControl with some additional attributes:
LBLC_DropDownButton = true  -- turns a label control into a control nest
LBLC_NumInputs = 2          -- how many of the following inputs will be part of the control nest
LBLC_NestLevel = 1          -- ? 
  • In addition to control nests, a LabelControl can also host the pick button. Set LBLC_PickButton = true and specify the picked inputs using LBLC_NumInputs = <num> (next num inputs), LBLCID_InputGroup = <group id>, or a series of { LBLCP_Input = <input> } tags. (taken from discussion page)