Eyeon:Script/Reference/Applications/Fusion/Classes/Input/ViewControlsVisible
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | Input
Contents |
Input : ViewControlsVisible()
Arguments
ViewControlsVisible()
Returns
Returns the visible state of an input.
Remarks
Use this function to determine the visible state of a view control. This can be useful for situations when the user has the desire to hide view controls.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
-- Hide all center reticles
toollist = composition:GetToolList()
for i, tool in toollist do
-- get an input list for the tool
inputList = tool:GetInputList()
for j, input in inputList do
-- find its center input
if input:GetAttrs().INPS_Name == "Center" then
-- make sure you don't hide the input twice
if input:ViewControlsVisible() == true then
input:HideViewControls(true)
end
end
end
end
Tips for ViewControlsVisible (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/Input/ViewControlsVisible