Eyeon:Script/Reference/Applications/Fusion/Classes/GLView/SetSplit
From VFXPedia
Contents |
View.GLView : SetSplit()
Arguments
SetSplit(X,Y,Angle)
- X (required, number)
The coordinate along the x axis of the A/B Split view's center.
- Y (required, number)
The coordinate along the y axis of the A/B Split view's center.
- Angle (required, number)
The angle of the A/B Split view line.
Returns
Does not return a value. Only available to view objects.
Remarks
The SetSplit function sets the A/B view split based on the X, Y, and Angle coordinates specified by the script.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
-- Makes a loader and then views it on the Left A view.
-- Also makes a gamma correct and views it on the B view.
a_view = comp:GetPreviewList()["Left"]
b_view = comp:GetPreviewList()["Left.B"]
Loader1 = Loader({Clip="c:\\example0000.tif"})
BC1 = BrightnessContrast({Gamma=1.8, Input = Loader1})
a_view:ViewOn(Loader1)
b_view:ViewOn(BC1)
-- Set the buffer to the A/B view.
a_view.View:SetBuffer(2)
a_view.View:SetSplit(.5, .5, 45)
a_view.View:SetScale(.5)
Tips for SetSplit (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/GLView/SetSplit