Files
XCEngine/new_editor/resources/xcui_layout_lab_view.xcui

119 lines
5.0 KiB
Plaintext

<View name="Layout Lab" theme="xcui_layout_lab_theme.xctheme">
<Column id="root" gap="14" padding="18">
<Card
id="heroCard"
height="92"
tone="accent"
title="XCUI Layout Lab"
subtitle="Resource-driven row / column / overlay stress." />
<Row id="mainRow" height="stretch" gap="14">
<Column id="leftRail" width="272" gap="10">
<Card
id="toolShelf"
height="62"
tone="accent-alt"
title="Tool Shelf"
subtitle="Scene, asset, and play-mode actions." />
<ScrollView id="assetList" height="stretch" padding="10" gap="8" scrollY="132">
<Card
id="assetListHeader"
height="54"
tone="accent-alt"
title="Project Browser"
subtitle="Pinned filters and import shortcuts." />
<TreeView id="projectTree" height="156" padding="8" gap="6">
<TreeItem id="treeAssetsRoot" title="Assets" subtitle="Workspace root" />
<TreeItem id="treeScenes" title="Scenes" subtitle="4 authored scenes" indent="1" />
<TreeItem id="treeMaterials" title="Materials" subtitle="Shared lookdev library" indent="1" />
<TreeItem id="treeCharacters" title="Characters" subtitle="Prefab variants" indent="1" />
<TreeItem id="treeUi" title="UI" subtitle="Runtime atlas + themes" indent="1" />
</TreeView>
<ListView id="recentAssetList" height="360" padding="8" gap="6">
<ListItem id="assetMaterials" title="Materials_Master" subtitle="14 assets selected" />
<ListItem id="assetTerrain" title="Terrain_Cliffs_04" subtitle="Texture2D -4096 x 4096" />
<ListItem id="assetLighting" title="Lighting_GlobalRig" subtitle="Prefab -Directional setup" />
<ListItem id="assetCharacter" title="Hero_Character_Controller" subtitle="Prefab -Animation graph bound" />
<ListItem id="assetUiAtlas" title="UI_RuntimeAtlas" subtitle="SpriteAtlas -83 packed sprites" />
</ListView>
</ScrollView>
</Column>
<Column id="centerColumn" width="stretch" gap="10">
<Card
id="viewportToolbar"
height="62"
title="Viewport Toolbar"
subtitle="Gizmos, snap presets, camera bookmarks." />
<Overlay id="viewportOverlay" height="stretch">
<Card
id="viewportBase"
title="Scene Viewport"
subtitle="Primary preview surface with composition overlays." />
<Card
id="viewportBadge"
x="18"
y="18"
width="224"
height="68"
tone="accent-alt"
title="Selection Overlay"
subtitle="Bounds, pivots, nav markers." />
<Card
id="viewportInspectorBubble"
x="0.58"
y="0.54"
width="0.32"
height="88"
tone="accent-alt"
title="Context Bubble"
subtitle="Inline quick edit affordance." />
</Overlay>
</Column>
<Column id="inspectorColumn" width="320" gap="10">
<Card
id="inspectorSummary"
height="88"
title="Inspector Summary"
subtitle="Transform, renderer, and prefab overrides." />
<ScrollView id="inspectorSections" height="stretch" padding="10" gap="8" scrollY="52">
<PropertySection id="inspectorTransform" height="156" title="Transform" subtitle="Position / rotation / scale">
<FieldRow id="fieldPosition" title="Position" subtitle="0.0, 1.5, 0.0" />
<FieldRow id="fieldRotation" title="Rotation" subtitle="0.0, 42.0, 0.0" />
<FieldRow id="fieldScale" title="Scale" subtitle="1.0, 1.0, 1.0" />
</PropertySection>
<PropertySection id="inspectorMesh" height="156" title="Mesh Renderer" subtitle="Materials, shadow flags, probes">
<FieldRow id="fieldMaterial" title="Material" subtitle="M_StylizedTerrain" />
<FieldRow id="fieldShadows" title="Cast Shadows" subtitle="On" />
<FieldRow id="fieldProbe" title="Light Probe" subtitle="Blend Probes" />
</PropertySection>
<PropertySection id="inspectorMetadata" height="132" title="Metadata" subtitle="Tags, labels, import provenance">
<FieldRow id="fieldTags" title="Tags" subtitle="Gameplay, Hero, Traversal" />
<FieldRow id="fieldImportedBy" title="Imported By" subtitle="Asset pipeline v2" />
</PropertySection>
</ScrollView>
</Column>
</Row>
<Overlay id="footerOverlay" height="146">
<Card
id="footerBase"
title="Footer Overlay"
subtitle="Second overlay region for quick smoke testing." />
<Card
id="footerLeft"
x="18"
y="48"
width="180"
height="58"
tone="accent-alt"
title="Footer A" />
<Card
id="footerRight"
x="0.74"
y="48"
width="180"
height="58"
tone="accent-alt"
title="Footer B" />
</Overlay>
</Column>
</View>