Struct WireframeOptionHit
One option row SerenityUiWireframePainter painted on its
most recent Draw call, in the same window GUI-space coordinates the window already hit-tests
against in live-render mode. The wireframe-mode counterpart of MenuPreviewResult's
per-option OptionRects/OptionTargets pair, so the window can navigate a TRANSITION option
the same way in both preview modes. Public: it is also the return type of
DrawWireframe(PreviewWireframeContext), crossing the host/renderer boundary.
Inherited Members
Namespace: Serenity.Ui.Infrastructure.Editor.Preview
Assembly: Serenity.UnityUi.Infrastructure.Editor.dll
Syntax
public readonly struct WireframeOptionHit
Constructors
WireframeOptionHit(Rect, string)
Declaration
public WireframeOptionHit(Rect rect, string transitionTarget)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | |
| string | transitionTarget |
Fields
Rect
The option row's rect, in window GUI space.
Declaration
public readonly Rect Rect
Field Value
| Type | Description |
|---|---|
| Rect |
TransitionTarget
The option's TRANSITION target id, or null when the option is not a TRANSITION.
Declaration
public readonly string TransitionTarget
Field Value
| Type | Description |
|---|---|
| string |