@combos-fun/plugin-renderer-3d-img 0.0.7 → 0.0.8
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 -6
- package/package.json +4 -4
package/agent-skill.md
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/plugin-renderer-3d-img` — Agent notes
|
|
2
2
|
|
|
3
|
-
3D textured plane. Renders an image as a `THREE.Mesh` with a
|
|
4
|
-
`PlaneGeometry` sized by the image's aspect ratio.
|
|
3
|
+
3D textured plane. Renders an image as a `THREE.Mesh` with a `PlaneGeometry` sized by the image's aspect ratio.
|
|
5
4
|
|
|
6
5
|
## When to read
|
|
7
6
|
|
|
8
|
-
Read when you need to put a 2D image into a 3D scene: billboards, flat
|
|
9
|
-
backdrops, decals, UI panels in 3D space.
|
|
7
|
+
Read when you need to put a 2D image into a 3D scene: billboards, flat backdrops, decals, UI panels in 3D space.
|
|
10
8
|
|
|
11
9
|
## Public API
|
|
12
10
|
|
|
@@ -27,8 +25,7 @@ import { Img3D, Img3DSystem, type Img3DParams } from '@combos-fun/plugin-rendere
|
|
|
27
25
|
| `opacity` | `number` | `1` |
|
|
28
26
|
| `doubleSide` | `boolean` | `false` |
|
|
29
27
|
|
|
30
|
-
The plane geometry size matches the image's natural pixel aspect ratio in
|
|
31
|
-
world units.
|
|
28
|
+
The plane geometry size matches the image's natural pixel aspect ratio in world units.
|
|
32
29
|
|
|
33
30
|
## Required setup
|
|
34
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/plugin-renderer-3d-img",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "@combos-fun/plugin-renderer-3d-img",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-renderer-3d-img.esm.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"three": "^0.172.0",
|
|
30
|
-
"@combos-fun/engine": "0.0.
|
|
31
|
-
"@combos-fun/inspector-decorator": "0.0.
|
|
32
|
-
"@combos-fun/plugin-renderer-3d": "0.0.
|
|
30
|
+
"@combos-fun/engine": "0.0.8",
|
|
31
|
+
"@combos-fun/inspector-decorator": "0.0.8",
|
|
32
|
+
"@combos-fun/plugin-renderer-3d": "0.0.8"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "node ../../scripts/build-package.mjs"
|