| 123456789101112131415161718192021222324252627 |
- using System.Numerics;
- namespace Content.Client.Eye;
- /// <summary>
- /// Component for keeping track of client-side eye lerping. This component should only be added or removed via the <see cref="EyeLerpingSystem"/>.
- /// </summary>
- [RegisterComponent]
- public sealed partial class LerpingEyeComponent : Component
- {
- /// <summary>
- /// False if this eye was automatically added when a player was attached to this entity.
- /// </summary>
- public bool ManuallyAdded = false;
- [ViewVariables]
- public Angle LastRotation;
- [ViewVariables]
- public Angle TargetRotation;
- [ViewVariables]
- public Vector2 LastZoom;
- [ViewVariables]
- public Vector2 TargetZoom;
- }
|