Utility class used in UI Toolkit debugging. More...
Static Public Member Functions | |
static void | Assert (bool condition) |
When the condition is false, an assertion failure message is output to the console screen. | |
static void | Assert (bool condition, string message) |
When the condition is false, an assertion failure message is output to the console screen. | |
static void | Assert (bool condition, string message, string detailMessage) |
When the condition is false, an assertion failure message is output to the console screen. | |
static void | Assert (bool condition, string message, string detailMessageFormat, params Object[] args) |
When the condition is false, an assertion failure message is output to the console screen. | |
static void | ExportAllImageAsset () |
Outputs all cached ImageAsset to image files. | |
static void | EnableRecordUncachedTexture () |
ImageAsset not cached can also be output with ExportAllImageAsset. | |
static void | ExportImageAsset (ImageAsset imageAsset, string filename) |
Outputs ImageAsset to an image file. | |
static void | DumpSceneGraph (string filename) |
Dumps the current scene widget and rendering element tree and the properties of each element as XML. | |
Properties | |
static string | ImageExportAlbumName [get, set] |
Sets and obtains the album name when exporting ImageAsset. |
Utility class used in UI Toolkit debugging.
Most methods of this class operate only when "DEBUG" is defined in a conditional compilation symbol.
static void Assert | ( | bool | condition | ) | [static] |
When the condition is false, an assertion failure message is output to the console screen.
If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
condition | Condition |
static void Assert | ( | bool | condition, |
string | message | ||
) | [static] |
When the condition is false, an assertion failure message is output to the console screen.
If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
condition | Condition |
message | Message |
static void Assert | ( | bool | condition, |
string | message, | ||
string | detailMessageFormat, | ||
params Object[] | args | ||
) | [static] |
When the condition is false, an assertion failure message is output to the console screen.
If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
condition | Condition |
message | Message |
detailMessageFormat | Format string of detailed message |
args | >Format parameter of detailed message |
static void Assert | ( | bool | condition, |
string | message, | ||
string | detailMessage | ||
) | [static] |
When the condition is false, an assertion failure message is output to the console screen.
If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
condition | Condition |
message | Message |
detailMessage | Detailed message |
static void DumpSceneGraph | ( | string | filename | ) | [static] |
Dumps the current scene widget and rendering element tree and the properties of each element as XML.
Outputs to the console screen when null is specified for filename. The output XML format is tentative. Also, not all property members are output. If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
filename | Output filename (output to console screen when null) |
static void EnableRecordUncachedTexture | ( | ) | [static] |
ImageAsset not cached can also be output with ExportAllImageAsset.
This method can be called before calling UISystem.Initialize. If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
static void ExportAllImageAsset | ( | ) | [static] |
Outputs all cached ImageAsset to image files.
If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
static void ExportImageAsset | ( | ImageAsset | imageAsset, |
string | filename | ||
) | [static] |
Outputs ImageAsset to an image file.
If the "DEBUG" compilation symbol is not defined, the calling of this method is ignored.
imageAsset | Output ImageAsset |
filename | Filename |