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.isCreated

var isCreated: bool;
bool isCreated;
isCreated as bool

Description

Is the sparse texture actually created? (Read Only)

Sparse texture contents can become "lost", mostly on graphics device change or active color space switch. When that happens, isCreated will start returning false - meaning you should recreate all the needed tiles again.

See Also: SparseTexture.