docs.unity.cn
    Show / Hide Table of Contents

    Class MotionBlur

    This class holds settings for the Motion Blur effect.

    Inheritance
    Object
    PostProcessEffectSettings
    MotionBlur
    Inherited Members
    PostProcessEffectSettings.active
    PostProcessEffectSettings.enabled
    PostProcessEffectSettings.SetAllOverridesTo(Boolean, Boolean)
    PostProcessEffectSettings.GetHash()
    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

    true if the effect is currently enabled and supported

    Overrides
    PostProcessEffectSettings.IsEnabledAndSupported(PostProcessRenderContext)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use