Table of Contents

Namespace Thunder.UnitsNET.Vectors.MonoGame

Classes

LengthPixelScaleExtensions

Extension methods on UnitsNet.Length for constructing PixelScale values.

XnaVector2Extensions

Extension methods for converting between XNA/MonoGame Microsoft.Xna.Framework.Vector2 and Thunder typed vector types.

XnaVector3Extensions

Extension methods for converting between XNA/MonoGame Microsoft.Xna.Framework.Vector3 and Thunder typed vector types.

Structs

Camera2

An immutable 2D camera that converts between world-space LengthPoint2 positions and screen-space Microsoft.Xna.Framework.Vector2 pixel coordinates.

PixelScale

Defines the relationship between world-space length and screen-space pixels, encoding both the scale factor and the world unit together.

Enums

YAxisMode

Controls how the Y axis is mapped between world space and screen space during camera projection.

v0.5.0 ▼