Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Editor.DrawPreview

public function DrawPreview(previewArea: Rect): void;

Parameters

previewPosition The available area to draw the preview.

Description

The first entry point for Preview Drawing.

Draws a grid of previews if there are multiple targets available. Override this method if you want to customize this behaviour.