Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


width

The width of the render texture in pixels.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public override int width { get; set; }

Remarks

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