Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EntityLightShadow.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 
4 using SiliconStudio.Paradox.Engine;
5 using SiliconStudio.Paradox.EntityModel;
6 
7 namespace SiliconStudio.Paradox.Effects.Modules.Processors
8 {
9  public class EntityLightShadow
10  {
11  public Entity Entity;
12 
14 
16 
17  public bool HasShadowMap
18  {
19  get
20  {
21  return Light.ShadowMap && ShadowMap != null && ShadowMap.Texture != null;
22  }
23  }
24  }
25 }
Add a light to an Entity, that will be used during rendering.
Game entity. It usually aggregates multiple EntityComponent
Definition: Entity.cs:28
Represents a shadow map for the ShadowMapRenderer.
Definition: ShadowMap.cs:15