Search Results for

    Show / Hide Table of Contents

    Struct CameraArtifactsSettings

    Contains settings for Camera Artifacts effect rendering.

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

    Fields

    ChromaticDistortion

    Controls the chromatic aberration effect strength. A value of 0 hides it.

    Declaration
    public float ChromaticDistortion = 0.0f
    Field Value
    float

    GrainAmount

    Intensity of the grain filter. A value of 0 hides it.

    Declaration
    public float GrainAmount = 0.006f
    Field Value
    float

    GrainParticleSize

    Size of the grain particles.

    Declaration
    public float GrainParticleSize = 1.6f
    Field Value
    float

    GrainSpeed

    Speed of the grain particle animation.

    Declaration
    public float GrainSpeed = 1.0f
    Field Value
    float

    OverrideFlags

    The flags for overriden properties.

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

    ScreenFadeColor

    Screen tint color (the alpha channel defines the blending factor).

    Declaration
    public Color ScreenFadeColor = Color::Transparent
    Field Value
    Color

    VignetteColor

    Color of the vignette.

    Declaration
    public Float3 VignetteColor = Float3(0, 0, 0.001f)
    Field Value
    Float3

    VignetteIntensity

    Strength of the vignette effect. Value 0 hides it.

    Declaration
    public float VignetteIntensity = 0.4f
    Field Value
    float

    VignetteShapeFactor

    Controls the shape of the vignette. Values near 0 produce a rectangular shape. Higher values result in a rounder shape.

    Declaration
    public float VignetteShapeFactor = 0.125f
    Field Value
    float

    Methods

    BlendWith(CameraArtifactsSettings& other, float weight)

    Blends the settings using given weight.

    Declaration
    public void BlendWith(CameraArtifactsSettings& other, float weight)
    Parameters
    CameraArtifactsSettings 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