Version: 2022.3
言語: 日本語
public static Texture2D GetAssetPreviewFromPath (string path, Search.FetchPreviewOptions previewOptions);
public static Texture2D GetAssetPreviewFromPath (string path, Vector2 previewSize, Search.FetchPreviewOptions previewOptions);

パラメーター

path Asset path.
previewOptions Additional preview options.
previewSize Request size of the preview. This is useful for the DisplayMode.Grid view.

戻り値

Texture2D Preview texture.

説明

Returns a preview texture to be used in the search view.