Class MotionBlur
This class holds settings for the Motion Blur effect.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Runtime.dll
Syntax
[Serializable]
public sealed class MotionBlur : PostProcessEffectSettings
Fields
sampleCount
The amount of sample points, which affects quality and performances.
Declaration
[Range(4, 32)]
[Tooltip("The amount of sample points. This affects quality and performance.")]
public IntParameter sampleCount
Field Value
| Type | Description |
|---|---|
| IntParameter |
shutterAngle
The angle of the rotary shutter. Larger values give longer exposure therefore a stronger blur effect.
Declaration
[Range(0, 360)]
[Tooltip("The angle of rotary shutter. Larger values give longer exposure.")]
public FloatParameter shutterAngle
Field Value
| Type | Description |
|---|---|
| FloatParameter |
Methods
IsEnabledAndSupported(PostProcessRenderContext)
Returns true if the effect is currently enabled and supported.
Declaration
public override bool IsEnabledAndSupported(PostProcessRenderContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| PostProcessRenderContext | context | The current post-processing render context |
Returns
| Type | Description |
|---|---|
| bool |
|