Kav/Lights/PointLight.cs

19 lines
417 B
C#
Raw Normal View History

2020-08-04 09:32:02 +00:00
using Microsoft.Xna.Framework;
namespace Kav
{
public class PointLight
{
public Vector3 Position { get; set; }
2020-08-05 19:15:22 +00:00
public Color Color { get; set; }
2020-08-04 09:32:02 +00:00
public float Intensity { get; set; }
2020-08-05 19:15:22 +00:00
public PointLight(Vector3 position, Color color, float intensity = 1f)
2020-08-04 09:32:02 +00:00
{
Position = position;
Color = color;
Intensity = intensity;
}
}
}