s&box docs

public abstract class Sandbox.Light : Sandbox.Component

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

Methods

Showing 5 methods

protected virtual Sandbox.SceneLight CreateSceneObject()

Implementations

protected virtual void OnAwake()

Implementations

protected virtual void OnDisabled()

protected virtual void OnEnabled()

protected virtual void OnTagsChanged()

Tags have been updated - lets update our light's tags

Properties

Showing 6 properties

public float Sandbox.Light.FogStrength { get; set; }

public Color Sandbox.Light.LightColor { get; set; }

The main color of the light

public float Sandbox.Light.ShadowBias { get; set; }

public float Sandbox.Light.ShadowHardness { get; set; }

public bool Sandbox.Light.Shadows { get; set; }

Should this light cast shadows?

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Light

On this page