This version of Unity is unsupported.

PlayModeWindow.SetCustomRenderingResolution

Declaration

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.

Description

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.