Class SerializedRenderSettings
Serializable struct for storing render settings
Namespace: Unity.RuntimeSceneSerialization
Syntax
[Serializable]
public class SerializedRenderSettings
Methods
ApplyValuesToRenderSettings()
Apply the values on this SerializedRenderSettings to the static RenderSettings manager
Declaration
public void ApplyValuesToRenderSettings()
CreateFromActiveScene()
Create a new SerializedRenderSettings using the current render settings
Declaration
public static SerializedRenderSettings CreateFromActiveScene()
Returns
Type | Description |
---|---|
SerializedRenderSettings | A SerializedRenderSettings containing the current render settings |
UpdateValuesFromRenderSettings()
Update the values on this SerializedRenderSettings to the current values in the static RenderSettings manager
Declaration
public void UpdateValuesFromRenderSettings()