Struct OsdRegionTransformationMatrices
Assembly: EyeAuras.Shared.dll
public readonly struct OsdRegionTransformationMatrices : IEquatable<OsdRegionTransformationMatrices>
Constructors
Properties
Name |
Description |
ScreenToWindow
|
The matrix representing the offset of a window on the screen.
Use this matrix to convert coordinates from the application's local space to screen space,
taking into account the position of the window.
To adjust a point from application space to its position on the screen:
var screenPosition = Vector2.Transform(point, WindowOffset);
|
WindowToScreen
|
The matrix for converting world coordinates to window coordinates.
This matrix encompasses the transformations required to project points from
the application's world space to the window space.
To convert a world space point to screen coordinates:
var screenPoint = Vector2.Transform(worldPoint, WorldToScreen);
|
Methods
Operators
Extension Methods