s&box docs

public class Sandbox.SpotLight : Sandbox.Light

Emits light in a specific direction in a cone shape.

Constructors

Showing 1 constructors

Methods

Showing 3 methods

protected virtual Sandbox.SceneLight CreateSceneObject()

protected virtual void DrawGizmos()

protected virtual void OnAwake()

Properties

Showing 5 properties

public float Sandbox.SpotLight.Attenuation { get; set; }

public float Sandbox.SpotLight.ConeInner { get; set; }

public float Sandbox.SpotLight.ConeOuter { get; set; }

public float Sandbox.SpotLight.Radius { get; set; }

Metadata

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

On this page