Method | Description | |
---|---|---|
GetAssetPreview ( Object asset ) : |
Returns a preview texture for an asset.
|
|
GetMiniTypeThumbnail ( |
Returns the thumbnail for the type.
|
|
IsLoadingAssetPreview ( int instanceID ) : bool |
Loading previews is asynchronous so it is useful to know if a specific asset preview is in the process of being loaded so client code e.g can repaint while waiting for the loading to finish.
|
|
IsLoadingAssetPreviews ( ) : bool |
Loading previews is asynchronous so it is useful to know if any requested previews are in the process of being loaded so client code e.g can repaint while waiting.
|
|
SetPreviewTextureCacheSize ( int size ) : void |
Set the asset preview cache to a size that can hold all visible previews on the screen at once.
|
Method | Description | |
---|---|---|
ClearTemporaryAssetPreviews ( ) : void | ||
DeletePreviewTextureManagerByID ( int clientID ) : void | ||
GetAssetPreview ( int instanceID ) : |
||
GetAssetPreview ( int instanceID, int clientID ) : |
||
GetMiniThumbnail ( Object obj ) : |
||
GetMiniTypeThumbnail ( Object obj ) : |
||
GetMiniTypeThumbnailFromClassID ( int classID ) : |
||
HasAnyNewPreviewTexturesAvailable ( ) : bool | ||
HasAnyNewPreviewTexturesAvailable ( int clientID ) : bool | ||
INTERNAL_GetMiniTypeThumbnailFromObject ( Object monoObj ) : |
||
INTERNAL_GetMiniTypeThumbnailFromType ( |
||
IsLoadingAssetPreview ( int instanceID, int clientID ) : bool | ||
IsLoadingAssetPreviews ( int clientID ) : bool | ||
SetPreviewTextureCacheSize ( int size, int clientID ) : void |
public static GetAssetPreview ( Object asset ) : |
||
asset | Object | |
return |
public static GetMiniTypeThumbnail ( |
||
type | ||
return |
public static IsLoadingAssetPreview ( int instanceID ) : bool | ||
instanceID | int | InstanceID of the assset that a preview has been requested for by: AssetPreview.GetAssetPreview(). |
return | bool |
public static IsLoadingAssetPreviews ( ) : bool | ||
return | bool |
public static SetPreviewTextureCacheSize ( int size ) : void | ||
size | int | The number of previews that can be loaded into the cache before the least used previews are being unloaded. |
return | void |