Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetCustomRenderingResolution(uint, uint, string)

Adds a new Custom resolution entry with the specified baseName. If an entry with the same baseName already exists, this method updates the resolution of this entry with the new values.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetCustomRenderingResolution(uint width, uint height, string baseName)

Parameters

width

The custom resolution width.

height

The custom resolution height.

baseName

The basename for the custom resolution entry.