Files
sbox-public/engine/Sandbox.Engine/EditorSystem.cs
Sam Pavlovic 9066f38917 Added baking to EnvmapProbe
* Added ability to bake envmap textures
* Added Scene.Editor.GetSceneFolder() - allows saving baked resources for scene
* Envmaps are represented with a shiny sphere now instead of a handle
* Fixed Enum Dropdown being the wrong color
* Added [EnumButtonGroup]
* Added GroupButtonControlWidget
* Added Editor.EditorSystem (accessible via Application.Editor)
* Can place [Menu] attributes in game code (was previously in tools only)
* Added "Scene/Bake Envmaps" option
2026-01-19 08:09:13 +00:00

17 lines
416 B
C#

using System.Threading;
namespace Editor;
public abstract class EditorSystem
{
/// <summary>
/// The scene we're currently editing
/// </summary>
public abstract Scene Scene { get; }
/// <summary>
/// Run a process on multiple items, show progress bar
/// </summary>
public abstract Task ForEachAsync<T>( IEnumerable<T> list, string title, Func<T, Task> worker, CancellationToken cancel = default );
}