PVP supports transitions set per layer or globally, and these transitions can be selected via the API.
Transitions are a more complicated curl string than the rest of the commands that are currently available. Rather than being a single line command, these are more complex.
For Color Burn, the user must also define the color using a hex value. The # is not required for the hex value. The user must also define the "value", which is the duration of the transition. This is anything from 0 to 5.
Other transitions are more complex and include a directional value, just as Zoom In.
"Zoom In"
Available directions: (1) Top Left; (2) Top; (4) Top Right; (8)Left; (16) Center;
(32) Right; (64) Bottom Left; (128) Bottom; (256) Bottom Right.
The user must choose which direction they want to use from the available directions library and replace it in the "direction" value above.
There is a lot of extraneous data as part of the default curls that are sent. I have not taken the time to go through them to see what can be removed without impacting the performance.
Moving from module requests to main project: https://github.com/bitfocus/companion-module-pvp/issues/1
Full transition documentation can be found on my PasteBin account: https://pastebin.com/cVdFuvrW
PVP supports transitions set per layer or globally, and these transitions can be selected via the API.
Transitions are a more complicated curl string than the rest of the commands that are currently available. Rather than being a single line command, these are more complex.
Below is the Color Burn transition:
There are several pieces of data that must be changed in each effect. Universally, the URLs at the bottom of the transition options must be defined.
The user can apply a transition to a layer or to the global workspace. Use http://localhost:8080/api/0/transition/workspace for the workspace and http://localhost:8080/api/0/transition/layer/# for a specific layer, replacing the # with the index number for the layer.
For Color Burn, the user must also define the color using a hex value. The # is not required for the hex value. The user must also define the "value", which is the duration of the transition. This is anything from 0 to 5.
Other transitions are more complex and include a directional value, just as Zoom In.
"Zoom In" Available directions: (1) Top Left; (2) Top; (4) Top Right; (8)Left; (16) Center; (32) Right; (64) Bottom Left; (128) Bottom; (256) Bottom Right.
The user must choose which direction they want to use from the available directions library and replace it in the "direction" value above.
There is a lot of extraneous data as part of the default curls that are sent. I have not taken the time to go through them to see what can be removed without impacting the performance.