Struct LensFlaresSettings
Contains settings for Lens Flares effect rendering.
Inherited Members
Assembly: FlaxEngine.dll
File: Engine/Graphics/PostProcessSettings.h
Syntax
public struct LensFlaresSettings : public ISerializable
Fields
Distortion
Lens flares color distortion parameter.
Declaration
public float Distortion = 1.5f
Field Value
float
|
GhostDispersal
Ghost samples dispersal parameter.
Declaration
public float GhostDispersal = 0.3f
Field Value
float
|
Ghosts
Amount of lens flares ghosts.
Declaration
public int32 Ghosts = 4
Field Value
int32
|
HaloIntensity
Lens flares halo intensity.
Declaration
public float HaloIntensity = 0.5f
Field Value
float
|
HaloWidth
Lens flares halo width.
Declaration
public float HaloWidth = 0.04f
Field Value
float
|
Intensity
Strength of the effect. A value of 0 disables it.
Declaration
public float Intensity = 0.5f
Field Value
float
|
LensColor
Custom lens color texture (1D) used for lens color spectrum.
Declaration
public SoftAssetReference<Texture> LensColor
Field Value
SoftAssetReference<Texture>
|
LensDirt
Fullscreen lens dirt texture.
Declaration
public SoftAssetReference<Texture> LensDirt
Field Value
SoftAssetReference<Texture>
|
LensDirtIntensity
Fullscreen lens dirt intensity parameter. Allows tuning dirt visibility.
Declaration
public float LensDirtIntensity = 1.0f
Field Value
float
|
LensStar
Custom lens star texture sampled by lens flares.
Declaration
public SoftAssetReference<Texture> LensStar
Field Value
SoftAssetReference<Texture>
|
OverrideFlags
The flags for overriden properties.
Declaration
public LensFlaresSettingsOverride OverrideFlags = Override::None
Field Value
LensFlaresSettingsOverride
|
ThresholdBias
Input image brightness threshold. Added to input pixels.
Declaration
public float ThresholdBias = -0.5f
Field Value
float
|
ThresholdScale
Input image brightness threshold scale. Used to multiply input pixels.
Declaration
public float ThresholdScale = 0.22f
Field Value
float
|
Methods
BlendWith(LensFlaresSettings& other, float weight)
Blends the settings using given weight.
Declaration
public void BlendWith(LensFlaresSettings& other, float weight)
Parameters
LensFlaresSettings
other
The other settings. |
float
weight
The blend weight. |