ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


width

The width of the render texture in pixels.
読み終わるまでの所要時間 1 分最終更新 25日前

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.