MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / PointToScreen

Method PointToScreen

Source/Engine/UI/GUI/Control.cs:1309–1317  ·  view source on GitHub ↗

Converts point in the local control's space into screen coordinates Input location of the point to convert Converted point location in screen coordinates

(Float2 location)

Source from the content-addressed store, hash-verified

1307 /// <param name="location">Input location of the point to convert</param>
1308 /// <returns>Converted point location in screen coordinates</returns>
1309 public virtual Float2 PointToScreen(Float2 location)
1310 {
1311 location = PointToParent(ref location);
1312 if (_parent != null)
1313 {
1314 location = _parent.PointToScreen(location);
1315 }
1316 return location;
1317 }
1318
1319 /// <summary>
1320 /// Converts point in screen coordinates into the local control's space

Callers 6

ShowMethod · 0.45
ControlClass · 0.45
ShowPickColorDialogMethod · 0.45
DockPanelClass · 0.45
ShowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected