Get RAPTOR

RaptorSuiteViewportOverlays.Overlay

Draws an overlay in the Suite's 3D pass.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editordelegatepreview, since 0.1.0
public delegate void Overlay(SceneView view, Rect viewport, bool editing);

Draws an overlay. Called for every event in its phase, so filter on Event.current.type. An overlay that throws is logged once per id, and the other overlays still draw. To hide the overlay during the Ray-traced preview, check Hidden.

ParameterTypeDescription
viewSceneViewThe 3D view.
viewportRectThe 3D viewport rect, in GUI points.
editingboolTrue while editing is allowed in the view.