Synced
EditorViewportToolContext.WorldToScreen
Section titled “EditorViewportToolContext.WorldToScreen”
- Converts world coordinates to viewport-local pixel coordinates.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public Inno.Core.Mathematics.Vector2 Inno.Editor.Interactions.EditorViewportToolContext.WorldToScreen(Inno.Core.Mathematics.Vector2 worldPosition)Parameters
Section titled “Parameters”Parameter worldPosition: World coordinates.
Returns
Section titled “Returns”Viewport-local pixel coordinates.