LightSpot
namespace Griff.Scenes;
public struct LightSpotA spot of light a component gives off (see ILightSource): its middle in the world, how far it reaches, its color and softness.
Properties
Section titled “Properties”Center
Section titled “Center”public Vector2 Center { get; init; }public Color Color { get; init; }Radius
Section titled “Radius”public float Radius { get; init; }Softness
Section titled “Softness”public float Softness { get; init; }Methods
Section titled “Methods”Deconstruct
Section titled “Deconstruct”public void Deconstruct(out Vector2 Center, out float Radius, out Color Color, out float Softness)Equals
Section titled “Equals”public override bool Equals(object obj)Equals
Section titled “Equals”public bool Equals(LightSpot other)GetHashCode
Section titled “GetHashCode”public override int GetHashCode()ToString
Section titled “ToString”public override string ToString()