SpotLightclass

Emits light in a specific direction in a cone shape.

object→Light→SpotLight
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.SpotLight : Sandbox.Light

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

protected virtual void DrawGizmos()PROTECTEDVIRTUAL

Returns:void—

protected virtual void OnAwake()PROTECTEDVIRTUALLIFECYCLE

Returns:void—

Properties5

Showing 5 properties

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

Returns:float—

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

Returns:float—

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

Returns:float—

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

Returns:float—

On this page