SetFixedHeight /Global scale

void SetFixedHeight(float height)

This functions is used to compute and set the global scale factor to a value that will automatically scale the scene (up or down) as if the screen height would always be height pixels tall.

In other words, if the original scene height is height pixels, it will always fit the entire scene in screen automatically.

SetFixedHeight(512.0f);

The example above does the exact same thing as the example below:

SetScaleFactor(GetScreenSize().y / 512.0f);