ドキュメント

Unity Engine

Unity Engine

tileWidth

Get sparse texture tile width (Read Only).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int tileWidth { get; }

Remarks

After creating the sparse texture, query the tile size with SparseTexture.tileWidth & SparseTexture.tileHeight. Tile sizes are platform and GPU dependent.
Additional Resources: SparseTexture.