Class LensDistortion
Inheritance
LensDistortion
Syntax
[Serializable]
[VolumeComponentMenu("Post-processing/Lens Distortion")]
public sealed class LensDistortion : VolumeComponent, IPostProcessComponent
Fields
center
Declaration
[Tooltip("Distortion center point.")]
public Vector2Parameter center
Field Value
intensity
Declaration
[Tooltip("Total distortion amount.")]
public ClampedFloatParameter intensity
Field Value
scale
Declaration
[Tooltip("Global screen scaling.")]
public ClampedFloatParameter scale
Field Value
xMultiplier
Declaration
[Tooltip("Intensity multiplier on X axis. Set it to 0 to disable distortion on this axis.")]
public ClampedFloatParameter xMultiplier
Field Value
yMultiplier
Declaration
[Tooltip("Intensity multiplier on Y axis. Set it to 0 to disable distortion on this axis.")]
public ClampedFloatParameter yMultiplier
Field Value
Methods
IsActive()
Declaration
Returns
Implements
IsTileCompatible()
Declaration
public bool IsTileCompatible()
Returns
Implements