MotionScript

@motion-script/core


@motion-script/core / BloomEffect

Interface: BloomEffect

Defined in: attributes/shape/effects/implementations/bloom.ts:4

Mixin: every effect declares the layer it targets via EffectMode. Omitted is treated as "foreground". A single uniform field across all effects means the backdrop/foreground classifier never has to branch on type.

Extends

Properties

intensity

intensity: number

Defined in: attributes/shape/effects/implementations/bloom.ts:11

Additive multiplier for the bloom pass (default 1).


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

ModedEffect.mode


radius

radius: number

Defined in: attributes/shape/effects/implementations/bloom.ts:9

Blur spread radius in pixels.


threshold

threshold: number

Defined in: attributes/shape/effects/implementations/bloom.ts:7

0–1: luminance cutoff — pixels below this threshold don't contribute to the bloom.


type

type: "bloom"

Defined in: attributes/shape/effects/implementations/bloom.ts:5