S&box Wiki

Sandbox.SpotLightEntity

Properties

float Brightness { get; set; }
float BrightnessMultiplier { get; set; }
Color Color { get; set; }
bool DynamicShadows { get; set; }
bool Enabled { get; set; }
float FadeDistanceMax { get; set; }
float FadeDistanceMin { get; set; }
float Falloff { get; set; }
bool Flicker { get; set; }
float FogStength { get; set; }
float InnerConeAngle { get; set; }
float LinearAttenuation { get; set; }
float OuterConeAngle { get; set; }
float QuadraticAttenuation { get; set; }
float Range { get; set; }
float ShadowFadeDistanceMax { get; set; }
float ShadowFadeDistanceMin { get; set; }

Methods

void SetAppearance( int style )
void SetCustomAppearance( string appearance )
void SetLightBrightness( float brightness )
void SetLightColor( Color color )
void Toggle()
void TurnOff()
void TurnOn()
void UseFog()
void UseNoFog()