mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-01 16:28:36 -04:00
* Re-categorize SoundscapeTrigger, IndirectLightVolume, and AmbientLight components. * Rename "Clutter Component" -> "Clutter Renderer" and add to "Rendering" category * Move CameraComponent into "Rendering" category * Move particle components into the "Effects" category
18 lines
456 B
C#
18 lines
456 B
C#
namespace Sandbox;
|
|
|
|
/// <summary>
|
|
/// Adds an ambient light to the scene, applied globally.
|
|
/// </summary>
|
|
[Title( "Color Ambient Light" )]
|
|
[Category( "Light" )]
|
|
[Icon( "visibility" )]
|
|
[EditorHandle( "materials/gizmo/directionallight.png" )]
|
|
public class AmbientLight : Component, Component.ExecuteInEditor
|
|
{
|
|
|
|
/// <summary>
|
|
/// Ambient light color outside of all light probes.
|
|
/// </summary>
|
|
[Property] public Color Color { get; set; } = Color.Gray;
|
|
}
|