API ReferenceSandbox
public abstract class Sandbox.Light : Sandbox.Component
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
protected Light()
No results match this filter.
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
No results match this filter.
Properties
Showing 6 properties
public Sandbox.Light.FogInfluence Sandbox.Light.FogMode { get; set; }
public float Sandbox.Light.FogStrength { get; set; }
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?
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Light |