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