示例#1
0
 public void SetRenderStyle(LightRenderStyle rs)
 {
     if (LightInternal)
     {
         return;
     }
     LightRenderStyle = rs;
 }
示例#2
0
 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
 }
示例#3
0
 public LightDefRenderStyle(LightRenderStyle rs)
 {
     RenderStyle = rs;
 }