Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
LightReceiverComponent.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using SiliconStudio.Core.Serialization.Converters;
4 using SiliconStudio.Paradox.Effects;
5 using SiliconStudio.Paradox.EntityModel;
6 using SiliconStudio.Paradox.Games;
7 using SiliconStudio.Core;
8 using SiliconStudio.Core.Collections;
9 using SiliconStudio.Core.Serialization.Contents;
10 
11 namespace SiliconStudio.Paradox.Engine
12 {
14  {
16  public static readonly PropertyKey<bool> ForcePerPixelLighting = new PropertyKey<bool>("ForcePerPixelLighting", typeof(LightReceiverComponent));
17 
18  private readonly TrackingCollection<LightComponent> lightComponents = new TrackingCollection<LightComponent>();
19 
20  /// <summary>
21  /// Additional lights applied on this object.
22  /// </summary>
23  [DataMemberConvert]
24  public IList<LightComponent> LightComponents { get { return lightComponents; } }
25  }
26 }
A class that represents a tag propety.
Definition: PropertyKey.cs:17