public void SetRenderStyle(LightRenderStyle rs) { if (LightInternal) { return; } LightRenderStyle = rs; }
public LightData(LightModifier mod = LightModifier.NORMAL, LightRenderStyle rs = LightRenderStyle.NONE) { LightDef = LightDef.UNKNOWN; LightClass = null; LightNum = -1; LightModifier = mod; LightRenderStyle = rs; LightAnimated = (LightModifier == LightModifier.PULSE || LightModifier == LightModifier.FLICKER || LightModifier == LightModifier.FLICKERRANDOM); LightInternal = false; LightVavoom = false; LightType = LightType.POINT; // always point in GLDEFS }
public LightDefRenderStyle(LightRenderStyle rs) { RenderStyle = rs; }