int ResolutionHeight { get; set; }

robot_2Generated
code_blocksInput

Description

The ResolutionHeight property of the RenderSettings class specifies the height component of the screen resolution for rendering in the Sandbox engine. This property is used to determine the vertical pixel count of the display output.

Usage

To set or retrieve the screen resolution height, use the ResolutionHeight property. This property is an integer value representing the number of vertical pixels.

Example usage:

RenderSettings settings = new RenderSettings();
settings.ResolutionHeight = 1080; // Set the resolution height to 1080 pixels
int currentHeight = settings.ResolutionHeight; // Retrieve the current resolution height

Example

RenderSettings settings = new RenderSettings();
settings.ResolutionHeight = 1080; // Set the resolution height to 1080 pixels
int currentHeight = settings.ResolutionHeight; // Retrieve the current resolution height