Layer interface
One per element with at least one live effect.
import type { Layer } from '@dioramajs/diorama/effects'interface LayerMembers
| Name | Type | Description |
|---|---|---|
readonly element | Element | The element the layer follows. |
readonly input | EffectInput | Inputs of the element as numbers, shared by its effects. |
readonly root | Group | Group at the box centre, layout plus pose. The surface and objects from |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.