Kav/PointLight.cs

19 lines
421 B
C#

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;
}
}
}