TransformComponent.Rotation Property
Definition
Namespace: Brine2D.ECS.Components
World-space rotation in \<b>radians\</b>. Additive through the parent hierarchy.
Property Value
Remarks
Transform rotation uses radians while Rotation
\(and [Rotation](../../../Rendering/Camera2D/Rotation.md 'Brine2D\.Rendering\.Camera2D\.Rotation')\) uses degrees.
Convert with rotation * (180f / MathF.PI) when assigning to a camera.