getGlobalScale

Get the global program scale from the FLUID_SCALE environment variable.

The variable is used by Fluid's built-in systems like RaylibView and is particularly useful for testing Fluid's HiDPI display.

The value is fetched anew every time this is called, and it is not cached.

@safe
getGlobalScale
()

Return Value

Type: Vector2

Globally applied scale as a vector for each axis.

Meta