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.