Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

RenderTexture.width

Switch to Manual
public int width;

Description

The width of the render texture in pixels.

Note that unlike Texture.width property, this is both read and write - setting a value changes size.

See Also:: height, format, depth.

Did you find this page useful? Please give it a rating: