Search Results for

    Show / Hide Table of Contents

    Class LensFlaresSettings

    Contains settings for Lens Flares effect rendering.

    Inheritance
    System.Object
    LensFlaresSettings
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class LensFlaresSettings : ValueType

    Fields

    Distortion

    Lens flares color distortion parameter.

    Declaration
    [EditorOrder(5)]
    public float Distortion
    Field Value
    System.Single

    GhostDispersal

    Ghost samples dispersal parameter.

    Declaration
    [EditorOrder(4)]
    public float GhostDispersal
    Field Value
    System.Single

    Ghosts

    Amount of lens flares ghosts.

    Declaration
    [Limit(0F, 16F, 1F)]
    [EditorOrder(1)]
    public int Ghosts
    Field Value
    System.Int32

    HaloIntensity

    Lens flares halo intensity.

    Declaration
    [Limit(0F, 10F, 0.01F)]
    [EditorOrder(3)]
    public float HaloIntensity
    Field Value
    System.Single

    HaloWidth

    Lens flares halo width.

    Declaration
    [EditorOrder(2)]
    public float HaloWidth
    Field Value
    System.Single

    Intensity

    Strength of the effect. A value of 0 disables it.

    Declaration
    [Limit(0F, 10F, 0.01F)]
    [EditorOrder(0)]
    public float Intensity
    Field Value
    System.Single

    LensColor

    Custom lens color texture (1D) used for lens color spectrum.

    Declaration
    [EditorOrder(10)]
    public Texture LensColor
    Field Value
    Texture

    LensDirt

    Fullscreen lens dirt texture.

    Declaration
    [EditorOrder(8)]
    public Texture LensDirt
    Field Value
    Texture

    LensDirtIntensity

    Fullscreen lens dirt intensity parameter. Allows tuning dirt visibility.

    Declaration
    [Limit(0F, 100F, 0.01F)]
    [EditorOrder(9)]
    public float LensDirtIntensity
    Field Value
    System.Single

    LensStar

    Custom lens star texture sampled by lens flares.

    Declaration
    [EditorOrder(11)]
    public Texture LensStar
    Field Value
    Texture

    ThresholdBias

    Input image brightness threshold. Added to input pixels.

    Declaration
    [EditorOrder(6)]
    public float ThresholdBias
    Field Value
    System.Single

    ThresholdScale

    Input image brightness threshold scale. Used to multiply input pixels.

    Declaration
    [EditorOrder(7)]
    public float ThresholdScale
    Field Value
    System.Single

    Properties

    Default

    The default LensFlaresSettings.

    Declaration
    public static LensFlaresSettings Default { get; }
    Property Value
    LensFlaresSettings

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat