Class LensDistortion
This class holds settings for the Lens Distortion effect.
Inherited Members
Namespace: UnityEngine .Rendering.PostProcessing
Assembly: solution.dll
Syntax
[Serializable]
public sealed class LensDistortion : PostProcessEffectSettings
Fields
Name | Description |
---|---|
center |
The center point for the distortion (x-axis). |
center |
The center point for the distortion (y-axis). |
intensity | The total amount of distortion to apply. |
intensity |
Multiplies the intensity value on the x-axis. Setting this value to 0 will disable distortion on this axis. |
intensity |
Multiplies the intensity value on the y-axis. Setting this value to 0 will disable distortion on this axis. |
scale | A global screen scaling factor. |
Methods
Name | Description |
---|---|
Is |
Returns |