AuroraOptions
import type { AuroraOptions } from 'pixi-silk/glow';
Options of Aurora.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
background? | ColorSource | Colour above the light. Default near black. | glow/aurora.ts:91 |
colors? | [ColorSource, ColorSource, ColorSource] | Deep, mid and hot colours, top to bottom. White is added under them. Default violet, pink, white. | glow/aurora.ts:89 |
height | number | Box height in local units. | glow/aurora.ts:87 |
radius? | number | Corner radius of the box in local units. Default 0. | glow/aurora.ts:97 |
rise? | number | How high the light reaches, 0 to 1 of the box height. Default 0.62. | glow/aurora.ts:93 |
speed? | number | Drift speed, a multiplier on time. 0 freezes it and stops the ticker. Default 1. | glow/aurora.ts:95 |
ticker? | Ticker | null | Ticker that drives the drift. Default Ticker.shared. null leaves it to Aurora.tick. | glow/aurora.ts:99 |
width | number | Box width in local units. | glow/aurora.ts:85 |