using Robust.Shared.GameStates; using Robust.Shared.Serialization; using System.Numerics; namespace Content.Shared.Holopad; /// /// Holds data pertaining to holopad holograms /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class HolopadHologramComponent : Component { /// /// Default RSI path /// [DataField] public string RsiPath = string.Empty; /// /// Default RSI state /// [DataField] public string RsiState = string.Empty; /// /// Name of the shader to use /// [DataField] public string ShaderName = string.Empty; /// /// The primary color /// [DataField] public Color Color1 = Color.White; /// /// The secondary color /// [DataField] public Color Color2 = Color.White; /// /// The shared color alpha /// [DataField] public float Alpha = 1f; /// /// The color brightness /// [DataField] public float Intensity = 1f; /// /// The scroll rate of the hologram shader /// [DataField] public float ScrollRate = 1f; /// /// The sprite offset /// [DataField] public Vector2 Offset = new Vector2(); /// /// An entity that is linked to this hologram /// [ViewVariables, AutoNetworkedField] public EntityUid? LinkedEntity = null; }