RenderSettings RenderSettings { get; set; }

robot_2Generated
code_blocksInput

Description

The RenderSettings property provides access to the client's render settings within the Sandbox environment. This property is part of the Editor.EditorUtility class and is static, meaning it can be accessed without instantiating the class.

Usage

To access the render settings, you can directly use the RenderSettings property from the Editor.EditorUtility class. This allows you to retrieve or modify the rendering configurations that affect how the game or application is visually presented.

Example

// Accessing the RenderSettings
var renderSettings = Editor.EditorUtility.RenderSettings;

// Example: Modifying a render setting
renderSettings.SomeSetting = newValue; // Replace 'SomeSetting' and 'newValue' with actual setting and value

// Example: Reading a render setting
var currentSetting = renderSettings.SomeSetting; // Replace 'SomeSetting' with actual setting name