using System.Numerics;
using Robust.Shared.GameStates;
namespace Content.Shared.Light.Components;
///
/// When added to a map will apply shadows from to the lighting render target.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class SunShadowComponent : Component
{
///
/// Maximum length of . Mostly used in context of querying for grids off-screen.
///
public const float MaxLength = 5f;
///
/// Direction for the shadows to be extrapolated in.
///
[DataField, AutoNetworkedField]
public Vector2 Direction;
[DataField, AutoNetworkedField]
public float Alpha;
}