ResolutionHeight
Introduction
Code Example
int screenWidth = FlatRedBallServices.GraphicsOptions.ResolutionWidth;
int screenHeight = FlatRedBallServices.GraphicsOptions.ResolutionHeight;Last updated
Was this helpful?
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.
int screenWidth = FlatRedBallServices.GraphicsOptions.ResolutionWidth;
int screenHeight = FlatRedBallServices.GraphicsOptions.ResolutionHeight;Last updated
Was this helpful?
Was this helpful?