19 lines
417 B
C#
19 lines
417 B
C#
using Microsoft.Xna.Framework;
|
|
|
|
namespace Kav
|
|
{
|
|
public class PointLight
|
|
{
|
|
public Vector3 Position { get; set; }
|
|
public Color Color { get; set; }
|
|
public float Intensity { get; set; }
|
|
|
|
public PointLight(Vector3 position, Color color, float intensity = 1f)
|
|
{
|
|
Position = position;
|
|
Color = color;
|
|
Intensity = intensity;
|
|
}
|
|
}
|
|
}
|