Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

ObjectPreview.DrawPreview

public void DrawPreview(Rect previewArea);

Parameters

previewAreaThe available area to draw the preview.

Description

This is the first entry point for Preview Drawing.

The default implementation will draw a grid of previews if there are multiple targets available. Override this method if you want to change this behaviour.

Did you find this page useful? Please give it a rating: