Skip to content

Camera2D.Rotation Property

Definition

Namespace: Brine2D.Rendering

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

C#
public float Rotation { get; set; }

Implements Rotation

Property Value

System.Single

Remarks

This value is in degrees, unlike Rotation which is in radians. Use MathF.PI / 180f to convert if needed.