Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts: # Source/Engine/Graphics/PostProcessSettings.cpp # Source/Engine/Level/Actors/SkyLight.cpp # Source/Engine/Renderer/GBufferPass.cpp # Source/Engine/Renderer/GI/GlobalSurfaceAtlasPass.cpp # Source/Engine/Renderer/GlobalSignDistanceFieldPass.cpp # Source/Engine/Renderer/GlobalSignDistanceFieldPass.h # Source/Engine/Renderer/RenderList.h
This commit is contained in:
@@ -110,6 +110,25 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Editor for <see cref="GlobalIlluminationSettings"/> type.
|
||||
/// </summary>
|
||||
[CustomEditor(typeof(GlobalIlluminationSettings)), DefaultEditor]
|
||||
sealed class GlobalIlluminationSettingsEditor : PostProcessSettingsEditor
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override int OverrideFlags
|
||||
{
|
||||
get => (int)((GlobalIlluminationSettings)Values[0]).OverrideFlags;
|
||||
set
|
||||
{
|
||||
var settings = (GlobalIlluminationSettings)Values[0];
|
||||
settings.OverrideFlags = (GlobalIlluminationSettingsOverride)value;
|
||||
SetValue(settings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Editor for <see cref="BloomSettings"/> type.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user