ドキュメント

Unity Engine

Download Unity

Unity Engine

CreatePreview(VisualElement)

See Editor.CreatePreview.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public override VisualElement CreatePreview(VisualElement inspectorPreviewWindow)

Parameters

inspectorPreviewWindow

The visual element that hosts the material preview.

Returns

Type

Description

VisualElementThe root visual element for the material preview, or null if the material doesn't support a preview.