-
Notifications
You must be signed in to change notification settings - Fork 209
Lib.flow.Switch
Thomas Mann edited this page May 28, 2025
·
3 revisions
in Lib.flow
Switches between connected graphs. Can be used to "cut" between scenes. The index starts with 0 for the first input and will wrap on values exceeding the count of connected inputs.
Tip:
- use index -1 to activate non (I.e. disable all)
- use index -2 to activate all
The naming of this operator diverges from the Pick... convention like [PickColor], [PickImage] etc because it also allows to execute "nothing" or all connected inputs. This is a a consequence of command being the only "type" that doesn't return data but only executes connected commands.
For a more visual approach see [TimeClip].
Name (Relevancy & Type) | Description |
---|---|
Commands (CommandRequired) | Scene Input |
Index (Int32) | Selects which connection is active starting from 0. -1 deactivates all incoming scenes. -2 activates all incoming scenes. Note that the index is wrapped: If you have two inputs connected, an index of 2 will route to the first. |
OptimizeInvalidation (Boolean) | If enabled Tooll will only invalidate the active connection. This can significantly improve performance for very complex scenes with thousands of Ops. This feature is experimental and might have unexpected side effects. |
Name | Type |
---|---|
Output | T3.Core.DataTypes.Command |
Count | System.Int32 |
Please help use to improve this documentation. Feel free to improve the description.
⚠ Everything else is automatically generated and will be overwritten regularly.