Class LensDistortion
Inherited Members
UnityEngine.Rendering.VolumeComponent.active
UnityEngine.Rendering.VolumeComponent.OnEnable()
UnityEngine.Rendering.VolumeComponent.OnDisable()
UnityEngine.Rendering.VolumeComponent.Override(UnityEngine.Rendering.VolumeComponent, System.Single)
UnityEngine.Rendering.VolumeComponent.SetAllOverridesTo(System.Boolean)
UnityEngine.Rendering.VolumeComponent.GetHashCode()
UnityEngine.Rendering.VolumeComponent.OnDestroy()
UnityEngine.Rendering.VolumeComponent.Release()
UnityEngine.Rendering.VolumeComponent.displayName
UnityEngine.Rendering.VolumeComponent.parameters
Namespace: UnityEngine.Rendering.Universal
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Post-processing/Lens Distortion", new Type[]{typeof(UniversalRenderPipeline)})]
public sealed class LensDistortion : VolumeComponent, IPostProcessComponent
Fields
center
Declaration
[Tooltip("Distortion center point. 0.5,0.5 is center of the screen")]
public Vector2Parameter center
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.Vector2Parameter |
intensity
Declaration
[Tooltip("Total distortion amount.")]
public ClampedFloatParameter intensity
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
scale
Declaration
[Tooltip("Controls global screen scaling for the distortion effect. Use this to hide screen borders when using high \"Intensity.\"")]
public ClampedFloatParameter scale
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
xMultiplier
Declaration
[Tooltip("Intensity multiplier on X axis. Set it to 0 to disable distortion on this axis.")]
public ClampedFloatParameter xMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
yMultiplier
Declaration
[Tooltip("Intensity multiplier on Y axis. Set it to 0 to disable distortion on this axis.")]
public ClampedFloatParameter yMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
Methods
IsActive()
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean |
Implements
IsTileCompatible()
Declaration
public bool IsTileCompatible()
Returns
Type | Description |
---|---|
Boolean |