@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.
@@ -1,4 +1,4 @@
1
- import { ItemBehaviour } from '@galacean/effects-core';
1
+ import { ItemBehaviour } from '@galacean/effects';
2
2
  export declare class OrientationComponent extends ItemBehaviour {
3
3
  private targets;
4
4
  fromData(data: any): void;
@@ -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.0",
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.0"
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 --declarationDir dist --emitDeclarationOnly",
42
+ "build:declaration": "tsc -d --emitDeclarationOnly",
43
43
  "build:demo": "rimraf dist && vite build",
44
44
  "clean": "rimraf dist && rimraf '*+(.tsbuildinfo)'"
45
45
  }