Class MotionBlurSettings
Contains settings for Motion Blur effect rendering.
Inheritance
System.Object
MotionBlurSettings
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class MotionBlurSettings : ValueType
Fields
Enabled
If checked, the motion blur effect will be rendered.
Declaration
[EditorOrder(0)]
public bool Enabled
Field Value
System.Boolean
|
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
[EditorOrder(3)]
public ResolutionMode MotionVectorsResolution
Field Value
ResolutionMode
|
SampleCount
The amount of sample points used during motion blur rendering. It affects blur quality and performance.
Declaration
[Limit(4F, 32F, 0.1F)]
[EditorOrder(2)]
public int SampleCount
Field Value
System.Int32
|
Scale
The blur effect strength. A value of 0 disables it, while higher values increase the effect.
Declaration
[Limit(0F, 5F, 0.01F)]
[EditorOrder(1)]
public float Scale
Field Value
System.Single
|
Properties
Default
The default MotionBlurSettings.
Declaration
public static MotionBlurSettings Default { get; }
Property Value
MotionBlurSettings
|