Class AmbientOcclusionSettings
Contains settings for Ambient Occlusion effect rendering.
Inheritance
System.Object
AmbientOcclusionSettings
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class AmbientOcclusionSettings : ValueType
Fields
Enabled
Enable/disable ambient occlusion effect.
Declaration
[EditorOrder(0)]
public bool Enabled
Field Value
System.Boolean
|
FadeDistance
Ambient occlusion fade distance (in world units). Defines the size of the effect fade from fully visible to fully invisible at FadeOutDistance.
Declaration
[Limit(0F, 3.40282347E+38F, 1F)]
[EditorOrder(5)]
public float FadeDistance
Field Value
System.Single
|
FadeOutDistance
Ambient occlusion fade out end distance from camera (in world units).
Declaration
[Limit(0F, 3.40282347E+38F, 1F)]
[EditorOrder(4)]
public float FadeOutDistance
Field Value
System.Single
|
Intensity
Ambient occlusion intensity.
Declaration
[Limit(0F, 10F, 0.01F)]
[EditorOrder(1)]
public float Intensity
Field Value
System.Single
|
Power
Ambient occlusion power.
Declaration
[Limit(0F, 10F, 0.01F)]
[EditorOrder(2)]
public float Power
Field Value
System.Single
|
Radius
Ambient occlusion check range radius.
Declaration
[Limit(0F, 100F, 0.01F)]
[EditorOrder(3)]
public float Radius
Field Value
System.Single
|
Properties
Default
The default AmbientOcclusionSettings.
Declaration
public static AmbientOcclusionSettings Default { get; }
Property Value
AmbientOcclusionSettings
|