Class MotionBlur
This class holds settings for the Motion Blur effect.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public sealed class MotionBlur : PostProcessEffectSettings
Fields
sampleCount
The amount of sample points, which affects quality and performances.
Declaration
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
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 |
---|---|
Boolean |
|