Struct PreviewOptionHit
One option row an IViewPreviewRenderer built for the live-render preview: the option's own instantiated UnityEngine.RectTransform plus its TRANSITION target (if any), so the host window can overlay the selection highlight and hit-test/navigate clicks without knowing which view kind built it. The live-render counterpart of WireframeOptionHit.
Inherited Members
Namespace: Serenity.Ui.Infrastructure.Editor.Preview
Assembly: Serenity.UnityUi.Infrastructure.Editor.dll
Syntax
public readonly struct PreviewOptionHit
Constructors
PreviewOptionHit(RectTransform, string)
Declaration
public PreviewOptionHit(RectTransform rect, string transitionTarget)
Parameters
| Type | Name | Description |
|---|---|---|
| RectTransform | rect | |
| string | transitionTarget |
Fields
Rect
The option row's live RectTransform, as instantiated into the preview canvas.
Declaration
public readonly RectTransform Rect
Field Value
| Type | Description |
|---|---|
| RectTransform |
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 |