ChromaticAberrationclass

Applies a chromatic aberration effect to the camera

objectBasePostProcess<T>ChromaticAberration
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.ChromaticAberration : Sandbox.BasePostProcess<T>

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

public virtual void Render()PUBLICVIRTUAL

Returns:void

Properties2

Showing 2 properties

public Vector3 Sandbox.ChromaticAberration.Offset { get; set; }PUBLICGETSET

The pixel offset for each color channel. These values should be very small as it's in UV space. (0.004 for example) X = Red Y = Green Z = Blue

Returns:Vector3

public float Sandbox.ChromaticAberration.Scale { get; set; }PUBLICGETSET

Strength of the chromatic aberration effect

Returns:float

On this page