ScreenPoint structure
Where a world point appears on screen (TryProjectToScreen).
public struct ScreenPoint : IEquatable<ScreenPoint>| parameter | description |
|---|---|
| X | Screen X in pixels, origin left (the same space as TryPickEntity). |
| Y | Screen Y in pixels, origin top. |
| InFront | True when the point is in front of the camera. When false the point is behind it and X / Y mean nothing on screen — draw nothing for it. |
Public Members
Section titled “Public Members”| name | description |
|---|---|
| ScreenPoint(…) | Where a world point appears on screen (TryProjectToScreen). |
| InFront { get; set; } | True when the point is in front of the camera. When false the point is behind it and X / Y mean nothing on screen — draw nothing for it. |
| X { get; set; } | Screen X in pixels, origin left (the same space as TryPickEntity). |
| Y { get; set; } | Screen Y in pixels, origin top. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Domain