Search Results for

    Show / Hide Table of Contents

    Struct MotionBlurSettings

    Contains settings for Motion Blur effect rendering.

    Inherited Members
    ISerializable::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
    ISerializable::DeserializeIfExists(DeserializeStream& stream, const char* memberName, ISerializeModifier* modifier)
    MotionBlurSettings
    MotionBlurSettings
    ISerializable::Serialize(SerializeStream& stream, const void* otherObj)
    MotionBlurSettings
    MotionBlurSettings
    ISerializable::~ISerializable()
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/PostProcessSettings.h
    Syntax
    public struct MotionBlurSettings : public ISerializable

    Fields

    Enabled

    If checked, the motion blur effect will be rendered.

    Declaration
    public bool Enabled = true
    Field Value
    bool

    MotionVectorsResolution

    The motion vectors texture resolution. Motion blur uses a per-pixel motion vector buffer that contains an objects movement information. Use a lower resolution to improve performance.

    Declaration
    public ResolutionMode MotionVectorsResolution = ResolutionMode::Half
    Field Value
    ResolutionMode

    OverrideFlags

    The flags for overriden properties.

    Declaration
    public MotionBlurSettingsOverride OverrideFlags = Override::None
    Field Value
    MotionBlurSettingsOverride

    SampleCount

    The amount of sample points used during motion blur rendering. It affects blur quality and performance.

    Declaration
    public int32 SampleCount = 10
    Field Value
    int32

    Scale

    The blur effect strength. A value of 0 disables it, while higher values increase the effect.

    Declaration
    public float Scale = 0.5f
    Field Value
    float

    Methods

    BlendWith(MotionBlurSettings& other, float weight)

    Blends the settings using given weight.

    Declaration
    public void BlendWith(MotionBlurSettings& other, float weight)
    Parameters
    MotionBlurSettings other

    The other settings.

    float weight

    The blend weight.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat