summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-02-03 21:46:29 +0100
committermetamuffin <metamuffin@disroot.org>2025-02-03 21:46:29 +0100
commitae14c194a25e258659104e89553ad48a8ae9ca3b (patch)
tree793b73af2c045d7acf218912afbc182a6720436f /doc
parent163e10c9f618f0e4cd7b4456476ad1c2322db5d7 (diff)
downloadweareserver-ae14c194a25e258659104e89553ad48a8ae9ca3b.tar
weareserver-ae14c194a25e258659104e89553ad48a8ae9ca3b.tar.bz2
weareserver-ae14c194a25e258659104e89553ad48a8ae9ca3b.tar.zst
armatures in prefab
Diffstat (limited to 'doc')
-rw-r--r--doc/resources.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/resources.md b/doc/resources.md
index 53bd3c0..67fca4a 100644
--- a/doc/resources.md
+++ b/doc/resources.md
@@ -30,6 +30,7 @@
| `mesh` | `Affine3`, `Res<MeshPart>` | Multi key |
| `collision` | `Affine3`, `Res<ColliderPart>` | Multi key |
| `light` | `Vec3`, `Res<LightPart>` | Multi key |
+| `armature` | `Res<ArmaturePart>` | Multi key |
| `environment` | `Res<EnvironmentPart>` | |
## MeshPart
@@ -43,7 +44,7 @@ white except normals are zero.
| -------------------- | ------------------- | ------------------ |
| `name` | `String` | |
| `index` | `Res<[u32; 3]>` | |
-| `armature` | `Res<Armature>` | |
+| `armature` | `u32` | |
| `g_metallic` | `Float` | |
| `g_roughness` | `Float` | |
| `g_albedo` | `Vec3` | |
@@ -100,7 +101,7 @@ white except normals are zero.
- **Static Hint**: Object will not move often. This allows implementations to
choose instanced rending when MeshPart are added more than once.
-## Armature
+## ArmaturePart
Armature is used for humanoid avatar rigging and generally follows VRM
specification. Joints are arranged in a hierarchy where transforms are