示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LightComponent"/> class.
 /// </summary>
 public LightComponent()
 {
     Type = new LightDirectional();
     Intensity = 1.0f;
     CullingMask = EntityGroupMask.All;
     Id = Interlocked.Increment(ref LightComponentIds);
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LightComponent"/> class.
 /// </summary>
 public LightComponent()
 {
     Type = new LightDirectional();
     Intensity = 1.0f;
     CullingMask = EntityGroupMask.All;
 }