Skip to content

DirectionalLight

A light that shines from infinitely far away along the object’s forward axis (the sun).

Kolpa.Engine.DirectionalLight

public sealed class DirectionalLight : Component
{
public DirectionalLight();
public bool CastsShadows;
public Color Color { get; set; }
public Vector3 Direction { get; set; }
public float Intensity { get; set; }
public float ShadowDistance { get; set; }
public float ShadowStrength { get; set; }
}