Skip to content

ICamera.Rotation Property

Definition

Namespace: Brine2D.Rendering

Gets or sets the camera rotation in \<b>degrees\</b>.

C#
float Rotation { get; set; }

Property Value

System.Single

Remarks

Camera rotation uses degrees while Rotation uses radians. Convert with MathF.PI / 180f when driving the camera from transform data.