@combos-fun/plugin-renderer-3d-model 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent-skill.md +3 -7
- package/package.json +14 -5
package/agent-skill.md
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/plugin-renderer-3d-model` — Agent notes
|
|
2
2
|
|
|
3
|
-
GLB / GLTF 3D model loader and animator. Loads via `ThreeContext.loadGLB()`
|
|
4
|
-
(GLTFLoader) and drives included animations through Three.js
|
|
5
|
-
`AnimationMixer`.
|
|
3
|
+
GLB / GLTF 3D model loader and animator. Loads via `ThreeContext.loadGLB()` (GLTFLoader) and drives included animations through Three.js `AnimationMixer`.
|
|
6
4
|
|
|
7
5
|
## When to read
|
|
8
6
|
|
|
9
|
-
Read for any 3D character / prop / scenery model: loading GLB / GLTF
|
|
10
|
-
files, choosing animation clips, scrubbing animation speed.
|
|
7
|
+
Read for any 3D character / prop / scenery model: loading GLB / GLTF files, choosing animation clips, scrubbing animation speed.
|
|
11
8
|
|
|
12
9
|
## Public API
|
|
13
10
|
|
|
@@ -33,8 +30,7 @@ Changing `animationIndex` or `speed` restarts the animation cleanly.
|
|
|
33
30
|
|
|
34
31
|
## Required setup
|
|
35
32
|
|
|
36
|
-
`Renderer3DSystem` then `GLBSystem`. URL must be CORS-accessible and
|
|
37
|
-
return valid binary GLB / JSON GLTF.
|
|
33
|
+
`Renderer3DSystem` then `GLBSystem`. URL must be CORS-accessible and return valid binary GLB / JSON GLTF.
|
|
38
34
|
|
|
39
35
|
## Runtime behaviour
|
|
40
36
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-renderer-3d-model",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.9",
|
|
4
|
+
"description": "GLB / GLTF 3D model loader and animator",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-renderer-3d-model.esm.js",
|
|
7
7
|
"bundle": "CombosFun.plugin.renderer.3d.model",
|
|
@@ -27,10 +27,19 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"three": "^0.172.0",
|
|
30
|
-
"@combos-fun/engine": "0.0.
|
|
31
|
-
"@combos-fun/
|
|
32
|
-
"@combos-fun/
|
|
30
|
+
"@combos-fun/engine": "0.0.9",
|
|
31
|
+
"@combos-fun/plugin-renderer-3d": "0.0.9",
|
|
32
|
+
"@combos-fun/inspector-decorator": "0.0.9"
|
|
33
33
|
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"combos-fun",
|
|
36
|
+
"3d",
|
|
37
|
+
"model",
|
|
38
|
+
"glb",
|
|
39
|
+
"gltf",
|
|
40
|
+
"animation",
|
|
41
|
+
"mesh"
|
|
42
|
+
],
|
|
34
43
|
"scripts": {
|
|
35
44
|
"build": "node ../../scripts/build-package.mjs"
|
|
36
45
|
}
|