文档

Unity Engine

Unity Engine

tileHeight

Get sparse texture tile height (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int tileHeight { 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.