To open the Patch Editor, go to the menu bar and then:
You can also hold down ⌘+Option+P to toggle Patch Editor visibility.
The Patch Editor will also open automatically when you insert patches from the Inspector panel.
It'll open under the Viewport, like this:
Drag the object from the Scene tab and drop it in to the Patch Editor, right-click on the object in Scene tab, and select Create Patch. Or:
To insert a consumer patch:
This is what you'll see once your patch has been created:
To insert an intermediary patch, right click in an empty space in the Patch Editor:
You'll see a menu of all the intermediary patches in Spark AR Studio:
Search for the patch you want to insert from the menu - there's a description of every patch, to help you choose.
Then, click Insert.
To insert an asset patch, either:
Connect patches using their ports - the small dots on each patch.
Patches can only be connected from left to right. This means you'd always connect a port on right side of a patch - known as an output port - to a port on the left side of another patch - known as an input port.
To connect patches together:
You should see a blue line appear, which will turn green once it has found a connection. If you let go, you should see a connection made between your patches.
To disconnect patches, either:
An output can have more than one outgoing connection, but an input can only have one incoming connection. This means that the result of an output port can be applied to more than one patch.
In the example below, we've connected the Mouth Open output port in the Mouth Open patch to three different consumer patches. Each of these patches represent the Visibility property of an object:
Group patches by selecting two or more patches, and either:
Your effect will play automatically if your graph is connected properly. You'll see port values updated in real time.