For the complete documentation index, see llms.txt. This page is also available as Markdown.

ResolutionHeight

Introduction

The ResolutionWidth and ResolutionHeight members can be used to get and set the resolution of the game. If you are setting both ResolutionWidth and ResolutionHeight, consider using SetResolution instead of setting each value independently to avoid a double-resize.

Code Example

int screenWidth = FlatRedBallServices.GraphicsOptions.ResolutionWidth;
int screenHeight = FlatRedBallServices.GraphicsOptions.ResolutionHeight;

Last updated

Was this helpful?