void ResetVideoConfig()

robot_2Generated
code_blocksInput

Description

The ResetVideoConfig method is a public instance method of the RenderSettings class within the Sandbox.Engine.Settings namespace. This method is used to reset the video configuration settings to their default values. It is particularly useful when you want to revert any changes made to the video settings and start with a clean slate.

Usage

To use the ResetVideoConfig method, you need to have an instance of the RenderSettings class. Once you have the instance, you can call this method to reset the video settings. This method does not take any parameters and does not return any value.

Example

// Create an instance of RenderSettings
RenderSettings renderSettings = new RenderSettings();

// Reset the video configuration to default settings
renderSettings.ResetVideoConfig();

// After calling ResetVideoConfig, you may want to apply the settings
renderSettings.Apply();