2019-08-08 16:24:33 +00:00
|
|
|
|
using CodeImp.DoomBuilder.Rendering;
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.Data
|
|
|
|
|
{
|
2014-12-03 23:15:26 +00:00
|
|
|
|
public sealed class DynamicLightData
|
|
|
|
|
{
|
2018-02-03 20:31:34 +00:00
|
|
|
|
public GZGeneral.LightData Type; //holds DynamicLightType
|
2013-09-11 09:47:53 +00:00
|
|
|
|
public Color3 Color;
|
|
|
|
|
public int PrimaryRadius;
|
|
|
|
|
public int SecondaryRadius;
|
|
|
|
|
public int Interval;
|
2020-01-03 01:22:33 +00:00
|
|
|
|
public Vector3f Offset;
|
2017-01-19 22:27:36 +00:00
|
|
|
|
public bool DontLightSelf;
|
2012-06-01 10:17:47 +00:00
|
|
|
|
|
2018-02-03 20:31:34 +00:00
|
|
|
|
public DynamicLightData(GZGeneral.LightData type)
|
2014-12-03 23:15:26 +00:00
|
|
|
|
{
|
2018-02-03 20:31:34 +00:00
|
|
|
|
Type = type;
|
2013-09-11 09:47:53 +00:00
|
|
|
|
Color = new Color3();
|
2020-01-03 01:22:33 +00:00
|
|
|
|
Offset = new Vector3f();
|
2013-09-11 09:47:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2012-04-17 19:13:47 +00:00
|
|
|
|
}
|