RaptorSuiteViewportOverlays.Overlay
Draws an overlay in the Suite's 3D pass.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | delegate | preview, 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.
| Parameter | Type | Description |
|---|---|---|
view | SceneView | The 3D view. |
viewport | Rect | The 3D viewport rect, in GUI points. |
editing | bool | True while editing is allowed in the view. |
Related types
- RaptorSuiteViewportOverlays: Registers overlays that draw in the Suite's 3D pass.