@galacean/effects-plugin-orientation-transformer 2.0.0-alpha.0 → 2.0.0-alpha.10
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/dist/composition-transformer-acceler.d.ts +4 -10
- package/dist/index.js +360 -18913
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +3 -16
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +363 -18916
- package/dist/index.mjs.map +1 -1
- package/dist/orientation-component.d.ts +1 -1
- package/dist/transform-vfx-item.d.ts +4 -0
- package/package.json +3 -3
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { Engine, VFXItemProps } from '@galacean/effects';
|
|
2
2
|
import { VFXItem } from '@galacean/effects';
|
|
3
3
|
import { OrientationComponent } from './orientation-component';
|
|
4
|
+
/**
|
|
5
|
+
* 水平旋转变化起始角(手机处于改角度时无变化)
|
|
6
|
+
*/
|
|
7
|
+
export declare const VERTICAL_INIT_DEGREE = 45;
|
|
4
8
|
export declare class TransformVFXItem extends VFXItem<OrientationComponent> {
|
|
5
9
|
constructor(engine: Engine, props: VFXItemProps);
|
|
6
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-plugin-orientation-transformer",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.10",
|
|
4
4
|
"description": "Galacean Effects player orientation transformer plugin",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"registry": "https://registry.npmjs.org"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@galacean/effects": "2.0.0-alpha.
|
|
34
|
+
"@galacean/effects": "2.0.0-alpha.10"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "vite",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prebuild": "pnpm clean",
|
|
40
40
|
"build": "pnpm build:declaration && pnpm build:module",
|
|
41
41
|
"build:module": "rollup -c",
|
|
42
|
-
"build:declaration": "tsc -d --
|
|
42
|
+
"build:declaration": "tsc -d --emitDeclarationOnly",
|
|
43
43
|
"build:demo": "rimraf dist && vite build",
|
|
44
44
|
"clean": "rimraf dist && rimraf '*+(.tsbuildinfo)'"
|
|
45
45
|
}
|