@motion-script/core / GodRaysOptions
Interface: GodRaysOptions
Defined in: attributes/shape/effects/chain.ts:366
Light streaming from a point. Scalar shorthand sets intensity.
Extends
Properties
center?
optionalcenter?:Vector2
Defined in: attributes/shape/effects/chain.ts:374
Light source in 0–1 layer coords (default middle).
decay?
optionaldecay?:number
Defined in: attributes/shape/effects/chain.ts:376
Per-step falloff; below 1 the rays fade with distance (default 0.96).
intensity?
optionalintensity?:number
Defined in: attributes/shape/effects/chain.ts:368
Additive multiplier for the ray pass (default 1).
length?
optionallength?:number
Defined in: attributes/shape/effects/chain.ts:372
Ray reach as a fraction of the distance to center (default 0.6).
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
EffectOptions.mode
samples?
optionalsamples?:number
Defined in: attributes/shape/effects/chain.ts:378
Taps marched per pixel, 4–48 (default 32).
threshold?
optionalthreshold?:number
Defined in: attributes/shape/effects/chain.ts:370
0–1 luminance cutoff (default 0.6).