コード例 #1
0
ファイル: LightComponent.cs プロジェクト: psowinski/xenko
 /// <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
ファイル: LightComponent.cs プロジェクト: joewan/xenko
 /// <summary>
 /// Initializes a new instance of the <see cref="LightComponent"/> class.
 /// </summary>
 public LightComponent()
 {
     Type = new LightDirectional();
     Intensity = 1.0f;
     CullingMask = EntityGroupMask.All;
 }