VignetteOptions

Options to control the vignetting effect (darkening at screen edges).

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Color of the vignette effect (alpha is currently ignored). Default: black.

Link copied to clipboard

Enable or disable the vignette effect. Default: false.

Link copied to clipboard

Softening amount of the vignette effect, between 0 and 1. Default: 0.5.

Link copied to clipboard

High values restrict the vignette closer to the corners, between 0 and 1. Default: 0.5.

Link copied to clipboard

Controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5), to a circle (1.0). Default: 0.5.