Struct ScyllaUILayoutDebugDrawConfig
Serializable configuration for ScyllaUILayoutDebugDraw. Holds the per-component-type outline colors and the line thickness used by the runtime overlay. Stored as a struct so designers can edit it as a single Inspector property and consumers can take a snapshot for animation or A/B preview.
Inherited Members
Namespace: Scylla.Core.Util.UI
Assembly: ScyllaCore.dll
Syntax
[Serializable]
public struct ScyllaUILayoutDebugDrawConfig
Remarks
Use Default to start from the framework-tuned palette and override individual colors. All alpha values default to slightly transparent so the overlay does not completely hide the UI it annotates.
Fields
AdaptiveStackColor
Outline color for ScyllaUIAdaptiveStack containers.
Declaration
public Color AdaptiveStackColor
Field Value
| Type | Description |
|---|---|
| Color |
FlexElementColor
Outline color for children wrapped by ScyllaUIFlexElement.
Declaration
public Color FlexElementColor
Field Value
| Type | Description |
|---|---|
| Color |
GridColor
Outline color for ScyllaUIGrid containers.
Declaration
public Color GridColor
Field Value
| Type | Description |
|---|---|
| Color |
GridItemColor
Outline color for children with a ScyllaUIGridItem attached.
Declaration
public Color GridItemColor
Field Value
| Type | Description |
|---|---|
| Color |
HStackColor
Outline color for ScyllaUIHStack containers.
Declaration
public Color HStackColor
Field Value
| Type | Description |
|---|---|
| Color |
LineThickness
Outline line thickness in canvas pixels. The overlay renders outlines as canvas UI
line geometry (a generated mesh on an internal overlay graphic), so the thickness is
measured in UI pixels at the canvas scale and a value of 1 produces
approximately a 1-pixel outline.
Declaration
[Min(0.1)]
public float LineThickness
Field Value
| Type | Description |
|---|---|
| float |
PositionedColor
Outline color for children using ScyllaUIPositioned overrides.
Declaration
public Color PositionedColor
Field Value
| Type | Description |
|---|---|
| Color |
ScreenMarginColor
Outline color for ScyllaUIScreenMargin overlays.
Declaration
public Color ScreenMarginColor
Field Value
| Type | Description |
|---|---|
| Color |
SpacerColor
Outline color for ScyllaUISpacer children.
Declaration
public Color SpacerColor
Field Value
| Type | Description |
|---|---|
| Color |
TextColor
Outline color for ScyllaUIText wrappers.
Declaration
public Color TextColor
Field Value
| Type | Description |
|---|---|
| Color |
VStackColor
Outline color for ScyllaUIVStack containers.
Declaration
public Color VStackColor
Field Value
| Type | Description |
|---|---|
| Color |
ZStackColor
Outline color for ScyllaUIZStack containers.
Declaration
public Color ZStackColor
Field Value
| Type | Description |
|---|---|
| Color |
Properties
Default
Framework-tuned default palette. Each color sits around the same lightness so the overlay reads consistently against typical UI backgrounds; alpha is set so the underlying UI remains visible.
Declaration
public static ScyllaUILayoutDebugDrawConfig Default { get; }
Property Value
| Type | Description |
|---|---|
| ScyllaUILayoutDebugDrawConfig |