Interface: VignettePipelineConfiguration
Properties
blendMode?
optionalblendMode?:"Multiply"|"Opaque"
"Multiply" or "Opaque". "Multiply" will mix the vignette color with the scene color. "Opaque" will replace the scene color with the vignette color.
cameraFov?
optionalcameraFov?:number
The FOV of the camera. This is used to calculate the vignette size.
center?
optionalcenter?:object
The offset of the vignette center, in screen space.
x
x:
number
y
y:
number
colorHex?
optionalcolorHex?:string
The color of the vignette, provided as a hex string.
colorRgba?
optionalcolorRgba?:Color4Configuration
The color of the vignette, provided as an RGBA value.
enabled?
optionalenabled?:boolean
stretch?
optionalstretch?:number
Horizontal stretch of the vignette. Higher values will cause the vignette to be appear more like bars on the top and bottom of the screen.
weight?
optionalweight?:number
The strength/size of the vignette effect.