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

89 lines
1.3 KiB
YAML

id: 虫顎
original_key: 虫顎
resource: 肢左
morph_x: 2
morph_y: 1
variants:
- x: 0
y: 0
file: x0y0.svg
- x: 1
y: 0
file: x1y0.svg
- x: 1
y: 1
file: x1y1.svg
fields:
- name:
- name:
- name:
joints:
- position: [
0.016024151425233186,
0.02069910631105899
]
- position: [
0.01673792698586274,
0.02022208689283709
]
- position: [
0.016537200916656534,
0.018450694378269978
]
- position: [
0.03221474363901859,
0.03379225327609791
]
- position: [
0.02928913882352495,
0.053880697500981733
]
- position: [
0.03193403153806857,
0.061281186848646224
]
- position: [
0.035539486884306686,
0.06744109178239681
]
- position: [
0.02477504711740627,
0.052023362588319105
]
- position: [
0.0093312044833953,
0.011152769902399133
]
- position: [
0.01504822043049015,
0.011152769902399131
]
- position: [
0.004787220411367407,
0.011152769902399131
]
- position: [
0.017518319393430855,
0.011152769902399133
]
- position: [
0.005400622701565017,
0.007758324996586711
]
- position: [
0.008227688436179837,
0.007758324996586711
]
- position: [
0.007288961556993493,
0.00775832499658671
]
- position: [
0.022768008876820803,
0.04644308609615801
]
- position: [
0.008737147728355139,
0.023890166821240077
]