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