Skip to content

LightSpot

namespace Griff.Scenes;
public struct LightSpot

A spot of light a component gives off (see ILightSource): its middle in the world, how far it reaches, its color and softness.

public Vector2 Center { get; init; }
public Color Color { get; init; }
public float Radius { get; init; }
public float Softness { get; init; }
public void Deconstruct(out Vector2 Center, out float Radius, out Color Color, out float Softness)
public override bool Equals(object obj)
public bool Equals(LightSpot other)
public override int GetHashCode()
public override string ToString()