Skip to content

ILightSource

namespace Griff.Scenes;
public interface ILightSource

A component that gives off light in a dark scene, besides Lights: glowing blocks of a world. Lights from these don’t cast shadows. Any component can implement it, a script’s too.

public abstract void AddLights(List<LightSpot> lights)

Adds the light it gives off now to lights.