KavTest/KavTest/Components/SpotLightComponent.cs

20 lines
469 B
C#
Raw Normal View History

2020-12-04 23:40:27 +00:00
using Encompass;
using Microsoft.Xna.Framework;
namespace KavTest.Components
{
public struct SpotLightComponent : IComponent
{
public Color Color { get; }
public float Intensity { get; }
public float Angle { get; }
public SpotLightComponent(Color color, float intensity, float angleInRadians)
{
Color = color;
Intensity = intensity;
Angle = angleInRadians;
}
}
}