Skip to content

VisualComponentData

Defined in: renderer/src/VisualComponent.ts:70

Snapshot fields shared by all five visual components.

optional alpha?: number

Defined in: renderer/src/VisualComponent.ts:73


optional blendMode?: BLEND_MODES

Defined in: renderer/src/VisualComponent.ts:76

Omitted while the object blends normally, which is the common case.


optional effects?: EffectStackSnapshot

Defined in: renderer/src/VisualComponent.ts:83


optional interactive?: VisualInteractiveOptions

Defined in: renderer/src/VisualComponent.ts:82

See VisualComponentOptions.interactive — persisted so restored scenes keep eventMode and the consumeOnInteraction mark on the rebuilt container.


layer: string

Defined in: renderer/src/VisualComponent.ts:71


optional mask?: MaskSnapshot

Defined in: renderer/src/VisualComponent.ts:84


optional tint?: ColorSource

Defined in: renderer/src/VisualComponent.ts:72


optional visible?: boolean

Defined in: renderer/src/VisualComponent.ts:74