Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

VignetteProps

Property Type Default value Description
color? ColorRepresentation black The colour the corners darken toward, in the frame’s own space: a warm brown draws an old photograph’s corners.
darkness? number 0.5 How dark the corners get, 0 to 1.
offset? number 0.3 Where the darkening starts from the centre, 0 to 1.
roundness? number 0 How round the darkening is, 0 to 1: 0 follows the screen’s own shape, an ellipse on a wide screen, and 1 is a circle, as Unity’s roundness. The corners darken alike either way.