Appearance
hm5-types (source format) / SlotSwap
Interface: SlotSwap
One slot swap (see SymbolInstanceElement.swaps). Every field is optional: no symbolId = the slot keeps its own symbol and only gets the matrix / look.
Properties
| Property | Type | Description |
|---|---|---|
colorEffect? | ColorEffect | a colour effect on top of the object's own (tint, brightness …) |
filters? | InstanceFilter[] | filters drawn after the object's own |
matrix? | Mat2D | added in the slot object's OWN space on every frame (its transform × this); absent = none |
symbolId? | string | the symbol shown in the slot instead of the layer's own |