Files
SlaveMatrix-SDL/SlaveMatrix/Assets/Parts//part.yaml
REDCODE 58f3bf6884 Phase 0.3-0.5: SVG export + YAML sidecars + asset catalog
- Add hair class KeyMap entries (基髪→BaseHair, 前髪→FrontHair, 胸毛→ChestHair)
- Implement cardinal spline → cubic Bezier SVG export for all 175 body parts
- Generate YAML sidecar files (part.yaml) per part with metadata
- Write Catalog.yaml index for runtime asset loading
- Output to SlaveMatrix/Assets/Parts/{EnglishName}/ structure
- Each part directory contains part.yaml + x{x}y{y}.svg morph variants
- 838 SVGs across 324 morph variants, 175 sidecars, 1 catalog
- Extraction tool now serves as the asset build pipeline step
2026-06-13 17:56:01 +02:00

37 lines
430 B
YAML

id:
original_key:
resource: 肢左
morph_x: 2
morph_y: 3
variants:
- x: 0
y: 0
file: x0y0.svg
- x: 0
y: 1
file: x0y1.svg
- x: 0
y: 2
file: x0y2.svg
- x: 1
y: 0
file: x1y0.svg
- x: 1
y: 1
file: x1y1.svg
- x: 1
y: 2
file: x1y2.svg
fields:
- name:
- name: 葉脈
joints:
- position: [
0.011628401968068896,
0.02014601754626799
]
- position: [
0.011628401968068889,
-0.004161837954568095
]