Kav/Lights/PointLight.cs

19 lines
421 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; }
public Vector4 Color { get; set; }
public float Intensity { get; set; }
public PointLight(Vector3 position, Vector4 color, float intensity = 1f)
{
Position = position;
Color = color;
Intensity = intensity;
}
}
}