Generators and modifiers
If we take the example of a layer's position in a composition, it is defined by a 2D Position parameter made up of two values.
Each parameter also has two slots that let you add a Generator and several Modifiers:
- The purpose of a Generator is to generate an element that will replace these values.
- Modifiers optionally change these values after the Generator has replaced them. Please refer to the Modifiers section to learn more.
Generator slot
The Generator slot can contain a grayed-out plug icon if there is no Generator or if the existing Generator slot is currently connected. In any case, clicking it will display the Quad menu, described in this section. Be aware that adding a new Generator will completely replace the existing one, if any.
Autograph has a "garbage collector" system that removes items that are not used from its memory. If a Generator is linked to or shared between two parameters, disconnecting it from one of them will not make it disappear because it is still in use. If, on the other hand, you disconnect this Generator from the second parameter, then it will be completely destroyed and unrecoverable. Keep this in mind when disconnecting or unsharing.
See more about Generators, Linking, and Sharing.
Modifiers slot
By clicking on the scientific flask, you can add one or more Modifiers, which will alter the content of the parameter.
A window with a search bar on top will allow you to add a new Modifier to existing ones, if any. Unlike Generators, it is possible to add several Modifiers through a Modifiers group.
No Modifiers will be deleted when new ones are added.
See more about Modifiers.
Type and dimensions
When adding a Generator or Modifiers, the list displayed will only contain those that are compatible with the targeted parameter:
- Some of them are specifically made for images, numerical values, text, tables, curves/shapes, 3D shapes, etc…
- Numerical Generators can sometimes only generate a single float when you want float2 for example. In this case, you have to check how to manage dimensions.