@galacean/effects
Advanced tools
Comparing version 0.0.1-alpha.3 to 1.0.0
@@ -122,9 +122,2 @@ import type { Disposable, JSONValue, LostHandler, RestoreHandler, SceneLoadOptions, Scene, GPUCapability } from '@galacean/effects-core'; | ||
} | ||
/** | ||
* `player.config` 传入的合成播放配置参数,目前仅支持速度 | ||
*/ | ||
export interface PlayerConfiguration { | ||
speed?: number; | ||
compositionName?: string; | ||
} | ||
export type SceneType = string | JSONValue | Scene; | ||
@@ -274,7 +267,2 @@ export type SceneWithOptionsType = { | ||
/** | ||
* 修改播放器的配置 | ||
* @param config - 播放配置,当前仅支持修改合成播放速度 | ||
*/ | ||
config(config: PlayerConfiguration): void; | ||
/** | ||
* 清空 canvas 的画面 | ||
@@ -281,0 +269,0 @@ * @param immediate - 如果立即清理,当前画面将会消失,如果 player 还有合成在渲染,可能出现闪烁 |
{ | ||
"name": "@galacean/effects", | ||
"version": "0.0.1-alpha.3", | ||
"version": "1.0.0", | ||
"description": "Galacean Effects runtime player for the web", | ||
@@ -58,4 +58,4 @@ "module": "./dist/index.mjs", | ||
"dependencies": { | ||
"@galacean/effects-core": "0.0.1-alpha.3", | ||
"@galacean/effects-webgl": "0.0.1-alpha.3" | ||
"@galacean/effects-core": "1.0.0", | ||
"@galacean/effects-webgl": "1.0.0" | ||
}, | ||
@@ -62,0 +62,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
9937770
153837
+ Added@galacean/effects-core@1.0.0(transitive)
+ Added@galacean/effects-webgl@1.0.0(transitive)
- Removed@galacean/effects-core@0.0.1-alpha.3(transitive)
- Removed@galacean/effects-webgl@0.0.1-alpha.3(transitive)
Updated@galacean/effects-core@1.0.0