mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 10:37:05 +02:00
* Removed the Interfaces folder. * All objects inside the GameObjects subfolders are now in the GameObjects namespace. * Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces. * Simplified Robust.client.Graphics namespace. * Automated remove redundant using statements.
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using Robust.Shared.Maths;
|
|
|
|
namespace Robust.Client.Graphics
|
|
{
|
|
public interface ILightManager
|
|
{
|
|
/// <summary>
|
|
/// Enables/disables the entire light manager.
|
|
/// </summary>
|
|
bool Enabled { get; set; }
|
|
/// <summary>
|
|
/// Enables/disables shadows, but lights are still functional.
|
|
/// </summary>
|
|
bool DrawShadows { get; set; }
|
|
/// <summary>
|
|
/// Enables/disables hard FOV.
|
|
/// </summary>
|
|
bool DrawHardFov { get; set; }
|
|
/// <summary>
|
|
/// Enables/disables everything to do with the lighting buffer, without interfering with hard FOV.
|
|
/// </summary>
|
|
bool DrawLighting { get; set; }
|
|
/// <summary>
|
|
/// This is useful to prevent players messing with lighting setup when they shouldn't.
|
|
/// </summary>
|
|
bool LockConsoleAccess { get; set; }
|
|
/// <summary>
|
|
/// Ambient light. This is in linear-light, i.e. when providing a fixed colour, you must use Color.FromSrgb(Color.Black)!
|
|
/// </summary>
|
|
Color AmbientLightColor { get; set; }
|
|
}
|
|
}
|