KavTest/KavTest/Components/DirectionalLightComponent.cs

18 lines
381 B
C#

using Encompass;
using Microsoft.Xna.Framework;
namespace KavTest.Components
{
public struct DirectionalLightComponent : IComponent
{
public Color Color { get; }
public float Intensity { get; }
public DirectionalLightComponent(Color color, float intensity)
{
Color = color;
Intensity = intensity;
}
}
}