S&box Wiki

Sandbox.SpotLightEntity

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()

Special Pages


Wikis

?

Render Time: 51ms

DB GetPage 5
Generate Html 0
SaveChanges (1) 41
Render Body 0
Render Sidebar 1