s&box docs

public sealed class Sandbox.Vignette : Sandbox.BasePostProcess<T>

Applies a vignette to the camera

Constructors

Showing 1 constructors

Methods

Showing 1 methods

public virtual void Render()

Properties

Showing 5 properties

public Vector2 Sandbox.Vignette.Center { get; set; }

The center of the vignette in relation to UV space. This means a value of {0.5, 0.5} is the center of the screen

public Color Sandbox.Vignette.Color { get; set; }

The color of the vignette or the "border"

public float Sandbox.Vignette.Intensity { get; set; }

How strong the vignette is. This is a value between 0 -> 1

public float Sandbox.Vignette.Roundness { get; set; }

How circular or round the vignette is

public float Sandbox.Vignette.Smoothness { get; set; }

How much fall off or how blurry the vignette is

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Vignette

On this page