GlowOptions
Defined in: effects/src/glow.ts:10
Options for the glow preset.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: effects/src/glow.ts:20
Glow alpha. Default: 1.
color?
Section titled “color?”
optionalcolor?:number
Defined in: effects/src/glow.ts:12
Glow color (0xRRGGBB). Default: 0xffffff.
distance?
Section titled “distance?”
optionaldistance?:number
Defined in: effects/src/glow.ts:14
Glow distance in host-local pixels. Default: 10.
innerStrength?
Section titled “innerStrength?”
optionalinnerStrength?:number
Defined in: effects/src/glow.ts:18
Inner-edge glow strength. Default: 0.
knockout?
Section titled “knockout?”
optionalknockout?:boolean
Defined in: effects/src/glow.ts:24
Render only glow, not the contents. Default: false.
outerStrength?
Section titled “outerStrength?”
optionalouterStrength?:number
Defined in: effects/src/glow.ts:16
Outer-edge glow strength. Default: 4.
quality?
Section titled “quality?”
optionalquality?:number
Defined in: effects/src/glow.ts:22
Quality 0..1, higher = slower. Default: 0.1.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/effects.md.