文档

Unity Engine

Unity Engine

DefaultPreviewGUI(Rect, GUIStyle)

Default handling of preview area for materials.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public void DefaultPreviewGUI(Rect r, GUIStyle background)

Parameters

The rect to draw the preview in.

background

The background style to draw behind the preview.