Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


tileWidth

Get sparse texture tile width (Read Only).
Read time 1 minuteLast updated 5 days ago

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.