@galacean/effects-plugin-orientation-transformer 1.2.0 → 2.0.0-alpha.0

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.
@@ -0,0 +1,8 @@
1
+ import { ItemBehaviour } from '@galacean/effects-core';
2
+ export declare class OrientationComponent extends ItemBehaviour {
3
+ private targets;
4
+ fromData(data: any): void;
5
+ start(): void;
6
+ update(dt: number): void;
7
+ onDestroy(): void;
8
+ }
@@ -1,10 +1,6 @@
1
- import type { spec, Composition } from '@galacean/effects';
1
+ import type { Engine, VFXItemProps } from '@galacean/effects';
2
2
  import { VFXItem } from '@galacean/effects';
3
- import type { TransformItem } from './transform-item';
4
- export declare class TransformVFXItem extends VFXItem<TransformItem> {
5
- private targets?;
6
- get type(): spec.ItemType;
7
- onConstructed(options: any): void;
8
- onItemRemoved(composition: Composition): void;
9
- protected doCreateContent(composition: Composition): {};
3
+ import { OrientationComponent } from './orientation-component';
4
+ export declare class TransformVFXItem extends VFXItem<OrientationComponent> {
5
+ constructor(engine: Engine, props: VFXItemProps);
10
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-plugin-orientation-transformer",
3
- "version": "1.2.0",
3
+ "version": "2.0.0-alpha.0",
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": "1.2.0"
34
+ "@galacean/effects": "2.0.0-alpha.0"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "vite",
@@ -1,2 +0,0 @@
1
- export declare class TransformItem {
2
- }