summaryrefslogtreecommitdiffstats
path: root/Examples
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-02-19 03:26:58 -0800
committeryum <yum.food.vr@gmail.com>2025-02-19 03:27:16 -0800
commit3c7d7df216fe1537362b19520b304cc6e5d856a6 (patch)
tree25520012d433f6e188bfef08a80329ef7c0db284 /Examples
parent0675266fac2d1b9b1af9b89b5830bc7efedfed21 (diff)
organize, update readme
Diffstat (limited to 'Examples')
-rw-r--r--Examples/example0.json26
-rw-r--r--Examples/example1.json80
2 files changed, 106 insertions, 0 deletions
diff --git a/Examples/example0.json b/Examples/example0.json
new file mode 100644
index 0000000..d77e3e7
--- /dev/null
+++ b/Examples/example0.json
@@ -0,0 +1,26 @@
+{
+ "api_version": "1.0",
+ "toggles": [
+ {
+ "name": "Shirt",
+ "meshToggles": ["Shirt"],
+ "blendShapes": [
+ {
+ "path": "Body",
+ "blendShape": "Chest_Hide"
+ }
+ ]
+ },
+ {
+ "name": "Jacket",
+ "dependencies": ["Shirt"],
+ "meshToggles": ["Jacket"],
+ "blendShapes": [
+ {
+ "path": "Body",
+ "blendShape": "Chest_Hide"
+ }
+ ]
+ }
+ ]
+}
diff --git a/Examples/example1.json b/Examples/example1.json
new file mode 100644
index 0000000..df27537
--- /dev/null
+++ b/Examples/example1.json
@@ -0,0 +1,80 @@
+{
+ "api_version": "1.0",
+ "toggles": [
+ {
+ "name": "Shirt",
+ "menuPath": "/Clothes",
+ "dependencies": ["Bra"],
+ "meshToggles": ["Shirt"],
+ "defaultValue": 0.0,
+ "blendShapes": [
+ {
+ "path": "Body",
+ "blendShape": "Bra on"
+ },
+ {
+ "path": "Body",
+ "blendShape": "Smush nips"
+ },
+ {
+ "path": "Skirt",
+ "blendShape": "Shirt off",
+ "offValue": 100.0,
+ "onValue": 0.0
+ }
+ ]
+ },
+ {
+ "name": "Skirt",
+ "menuPath": "/Clothes",
+ "meshToggles": ["Skirt"],
+ "blendShapes": []
+ },
+ {
+ "name": "Socks",
+ "menuPath": "/Clothes",
+ "meshToggles": ["Socks"],
+ "blendShapes": [
+ {
+ "path": "Body",
+ "blendShape": "Thigh squish"
+ }
+ ]
+ },
+ {
+ "name": "Shoes",
+ "menuPath": "/Clothes",
+ "meshToggles": ["Shoes"],
+ "blendShapes": []
+ },
+
+ {
+ "name": "Bra",
+ "menuPath": "/NSFW",
+ "meshToggles": ["Bra"],
+ "blendShapes": [
+ {
+ "path": "Body",
+ "blendShape": "Bra on"
+ },
+ {
+ "path": "Body",
+ "blendShape": "Smush nips"
+ }
+ ]
+ },
+ {
+ "name": "Panties",
+ "menuPath": "/NSFW",
+ "meshToggles": ["Panties"],
+ "blendShapes": []
+ },
+
+ {
+ "name": "Hair",
+ "menuPath": "/Misc",
+ "meshToggles": ["Hair"],
+ "blendShapes": []
+ }
+ ]
+}