Files
XCEngine/Assets/XCUI/NewEditor/LayoutLab/View.xcui

136 lines
6.4 KiB
Plaintext

<View name="Layout Lab" theme="Theme.xctheme">
<Column id="root" gap="14" padding="18">
<Card
id="heroCard"
height="92"
tone="accent"
title="XCUI Layout Lab"
subtitle="Editor-style panels with overlay and scroll semantics." />
<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="40">
<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="496" padding="8" gap="6">
<ListItem id="assetLighting" title="Lighting_GlobalRig" subtitle="Prefab -Directional setup" />
<ListItem id="assetMaterials" title="Materials_Master" subtitle="14 assets selected" />
<ListItem id="assetTerrain" title="Terrain_Cliffs_04" subtitle="Texture2D -4096 x 4096" />
<ListItem id="assetCharacter" title="Hero_Character_Controller" subtitle="Prefab -Animation graph bound" />
<ListItem id="assetUiAtlas" title="UI_RuntimeAtlas" subtitle="SpriteAtlas -83 packed sprites" />
<ListItem id="assetAudio" title="Audio_Ambience_Forest" subtitle="AudioBank -loop region authored" />
<ListItem id="assetShader" title="Shader_StylizedTerrain" subtitle="ShaderGraph -6 exposed params" />
<ListItem id="assetQuest" title="Quest_DebugFlow" subtitle="ScriptableObject -branching state" />
</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="0">
<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="inspectorPhysics" height="156" title="Physics Body" subtitle="Mass, drag, collision matrix">
<FieldRow id="fieldMass" title="Mass" subtitle="78.0" />
<FieldRow id="fieldDrag" title="Drag" subtitle="0.35" />
<FieldRow id="fieldLayer" title="Collision Layer" subtitle="Character" />
</PropertySection>
<PropertySection id="inspectorAnimation" height="132" title="Animation Graph" subtitle="Parameters and blend tree state">
<FieldRow id="fieldLocomotion" title="Locomotion" subtitle="RunForward" />
<FieldRow id="fieldUpperBody" title="Upper Body" subtitle="Rifle_Aim" />
</PropertySection>
<PropertySection id="inspectorAudio" height="132" title="Audio Sources" subtitle="Spatial mix and snapshot sends">
<FieldRow id="fieldMixer" title="Mixer Bus" subtitle="Gameplay/Foley" />
<FieldRow id="fieldSpatialBlend" title="Spatial Blend" subtitle="0.85" />
</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="132">
<Card
id="footerBase"
title="Timeline Strip"
subtitle="Bottom utility lane for profiler, logs, and timeline cues." />
<Card
id="timelineMarkers"
x="18"
y="42"
width="220"
height="58"
tone="accent-alt"
title="Markers" />
<Card
id="timelinePlayback"
x="0.68"
y="42"
width="220"
height="58"
tone="accent-alt"
title="Playback Controls" />
</Overlay>
</Column>
</View>