API ReferenceSandbox
Vignetteclass
Applies a vignette to the camera
Constructors1
Showing 1 constructors
public Vignette()
No results match this filter.
Methods1
Showing 1 methods
public virtual void Render()
Returns:
void—No results match this filter.
Properties5
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 float Sandbox.Vignette.Intensity { get; set; }
How strong the vignette is. This is a value between 0 -> 1
Returns:
float—public float Sandbox.Vignette.Roundness { get; set; }
How circular or round the vignette is
Returns:
float—public float Sandbox.Vignette.Smoothness { get; set; }
How much fall off or how blurry the vignette is
Returns:
float—No results match this filter.