- Posts: 349
- Joined: Fri Jun 12, 2020 2:36 pm
- Real Name: Iain Fisher
- Code: Select all
{
Tools = ordered() {
TimeStretcher2_2 = TimeStretcher {
CtrlWZoom = false,
Inputs = {
SourceTime = Input {
SourceOp = "TimeStretcher2_2SourceTime",
Source = "Value",
},
},
ViewInfo = OperatorInfo { Pos = { 4785, -214.5 } },
UserControls = ordered() {
AltImage = {
INP_Integer = false,
LINK_Main = 2,
LINKID_DataType = "Image",
ICS_ControlPage = "Controls",
INPID_InputControl = "ImageControl",
LINKS_Name = "AltImage",
}
}
},
TimeStretcher2_2SourceTime = BezierSpline {
SplineColor = { Red = 233, Green = 217, Blue = 243 },
CtrlWZoom = false,
NameSet = true,
KeyFrames = {
[1001] = { 0, Flags = { Linear = true } }
}
}
},
ActiveTool = "TimeStretcher2_2"
}
The LINK_Main tag determines the priority and color of the additional input. 1 will be the yellow main input, and 2 is green. I forget the order that colors appear after that. The blue mask input will only appear if you name the control MaskInput.
If you omit the INPID_InputControl tag, you'll get only the flow input arrow and not the text field image input.
All of that said, I don't think there's a way to switch to the other input. I'd say what you really want in this case is a macro that has a Dissolve tool inside with an expression linked to the Interpolation mode of the TimeStretcher/TimeSpeed.