기술 자료

Unity Engine

Unity Engine

OnPreviewGUI(Rect, GUIStyle)

Call this from an Editor.OnPreviewGUI or ObjectPreview.OnPreviewGUI to draw a mesh preview.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public void OnPreviewGUI(Rect rect, GUIStyle background)

Parameters

rect

Rectangle in which to draw the preview.

background

The background style.