mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
16 lines
445 B
C#
16 lines
445 B
C#
namespace Content.Client.Rotation;
|
|
|
|
[RegisterComponent]
|
|
public sealed class RotationVisualsComponent : Component
|
|
{
|
|
public static readonly Angle DefaultRotation = Angle.FromDegrees(90);
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public Angle VerticalRotation = 0;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)] public Angle HorizontalRotation = DefaultRotation;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float AnimationTime = 0.125f;
|
|
}
|