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.
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.
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
RenderSettings settings = new RenderSettings(); settings.ResolutionHeight = 1080; // Set the resolution height to 1080 pixels int currentHeight = settings.ResolutionHeight; // Retrieve the current resolution height