Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SparseTexture.tileWidth

var tileWidth: int;
int tileWidth;
tileWidth as int

Description

Get sparse texture tile width (Read Only).

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

See Also: SparseTexture.