@galacean/effects-core 2.1.0-alpha.3 → 2.1.0-alpha.5

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/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects runtime core for the web
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
6
- * Version: v2.1.0-alpha.3
6
+ * Version: v2.1.0-alpha.5
7
7
  */
8
8
 
9
9
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -4251,6 +4251,9 @@ var MaterialBlending;
4251
4251
  /**
4252
4252
  * 自发光
4253
4253
  */ RenderMode3D["emissive"] = "emissive";
4254
+ /**
4255
+ * 漫反射
4256
+ */ RenderMode3D["diffuse"] = "diffuse";
4254
4257
  })(RenderMode3D || (RenderMode3D = {}));
4255
4258
 
4256
4259
  var TextOverflow;
@@ -10303,10 +10306,11 @@ var BezierCurve = /*#__PURE__*/ function(ValueGetter) {
10303
10306
  timeEnd: Number(e.x)
10304
10307
  };
10305
10308
  }
10309
+ this.keyTimeData = Object.keys(this.curveMap);
10306
10310
  };
10307
10311
  _proto.getValue = function getValue(time) {
10308
10312
  var result = 0;
10309
- var keyTimeData = Object.keys(this.curveMap);
10313
+ var keyTimeData = this.keyTimeData;
10310
10314
  var keyTimeStart = this.curveMap[keyTimeData[0]].timeStart;
10311
10315
  var keyTimeEnd = this.curveMap[keyTimeData[keyTimeData.length - 1]].timeEnd;
10312
10316
  // const keyTimeStart = Number(keyTimeData[0].split('&')[0]);
@@ -11583,7 +11587,7 @@ var valueDefine = "#ifdef SHADER_VERTEX\n#define CURVE_VALUE_TEXTURE uVCurveValu
11583
11587
 
11584
11588
  var screenMeshVert = "precision highp float;attribute vec2 aPos;varying vec2 uv;void main(){gl_Position=vec4(aPos,0.,1.0);uv=(aPos+vec2(1.0))/2.;}";
11585
11589
 
11586
- var colorGradingFrag = "precision highp float;\n#define HALF_MAX 60000.0\n#define ACEScc_MIDGRAY 0.4135884\nvarying vec2 uv;uniform sampler2D _GaussianTex;uniform sampler2D _SceneTex;uniform float _BloomIntensity;uniform float _Brightness;uniform float _Saturation;uniform float _Contrast;uniform bool _UseBloom;uniform bool _UseToneMapping;uniform vec3 _VignetteColor;uniform vec2 _VignetteCenter;uniform float _VignetteIntensity;uniform float _VignetteSmoothness;uniform float _VignetteRoundness;mat3 LinearToACES=mat3(0.59719,0.07600,0.02840,0.35458,0.90834,0.13383,0.04823,0.01566,0.83777);mat3 ACESToLinear=mat3(1.60475,-0.10208,-0.00327,-0.53108,1.10813,-0.07276,-0.07367,-0.00605,1.07602);float log10(float x){return log(x)/log(10.0);}vec3 log10(vec3 v){return vec3(log10(v.x),log10(v.y),log10(v.z));}vec3 LinearToLogC(vec3 x){return 0.244161*log10(5.555556*x+0.047996)+0.386036;}vec3 LogCToLinear(vec3 x){return(pow(vec3(10.0),(x-0.386036)/0.244161)-0.047996)/5.555556;}vec3 rrt_and_odt_fit(vec3 col){vec3 a=col*(col+0.0245786)-0.000090537;vec3 b=col*(0.983729*col+0.4329510)+0.238081;return a/b;}vec3 ACESToneMapping(vec3 col){vec3 aces=LinearToACES*col;aces=rrt_and_odt_fit(aces);col=ACESToLinear*aces;return col;}vec3 LinearToSrgb(vec3 c){return mix(1.055*pow(c,vec3(1./2.4))-0.055,12.92*c,step(c,vec3(0.0031308)));}vec3 GammaCorrection(vec3 c){return pow(c,vec3(1.0/2.2));}vec3 ApplyVignette(vec3 inputColor,vec2 uv,vec2 center,float intensity,float roundness,float smoothness,vec3 color){vec2 dist=abs(uv-center)*intensity;dist.x*=roundness;float vfactor=pow(clamp((1.0-dot(dist,dist)),0.0,1.0),smoothness);return inputColor*mix(color,vec3(1.0),vfactor);}void main(){vec4 hdrColor=texture2D(_SceneTex,uv);hdrColor*=hdrColor.a;hdrColor.rgb=pow(hdrColor.rgb,vec3(2.2));vec3 finalColor=hdrColor.rgb;if(_UseBloom){vec4 bloomColor=texture2D(_GaussianTex,uv);bloomColor.rgb*=_BloomIntensity;finalColor+=bloomColor.rgb;}if(_VignetteIntensity>0.0){finalColor=ApplyVignette(finalColor,uv,_VignetteCenter,_VignetteIntensity,_VignetteRoundness,_VignetteSmoothness,_VignetteColor);}finalColor=finalColor*_Brightness;vec3 colorLog=LinearToLogC(finalColor);colorLog=(colorLog-ACEScc_MIDGRAY)*_Contrast+ACEScc_MIDGRAY;finalColor=LogCToLinear(colorLog);finalColor=max(finalColor,0.0);float luminance=0.2125*finalColor.r+0.7154*finalColor.g+0.0721*finalColor.b;vec3 luminanceColor=vec3(luminance,luminance,luminance);finalColor=(finalColor-luminanceColor)*_Saturation+luminanceColor;finalColor=max(finalColor,0.0);if(_UseToneMapping){finalColor=max(vec3(0.0),ACESToneMapping(finalColor));}gl_FragColor=vec4(clamp(GammaCorrection(finalColor),0.0,1.0),1.0);}";
11590
+ var colorGradingFrag = "precision highp float;\n#define HALF_MAX 60000.0\n#define ACEScc_MIDGRAY 0.4135884\nvarying vec2 uv;uniform sampler2D _GaussianTex;uniform sampler2D _SceneTex;uniform float _BloomIntensity;uniform float _Brightness;uniform float _Saturation;uniform float _Contrast;uniform bool _UseBloom;uniform bool _UseToneMapping;uniform vec3 _VignetteColor;uniform vec2 _VignetteCenter;uniform float _VignetteIntensity;uniform float _VignetteSmoothness;uniform float _VignetteRoundness;mat3 LinearToACES=mat3(0.59719,0.07600,0.02840,0.35458,0.90834,0.13383,0.04823,0.01566,0.83777);mat3 ACESToLinear=mat3(1.60475,-0.10208,-0.00327,-0.53108,1.10813,-0.07276,-0.07367,-0.00605,1.07602);float log10(float x){return log(x)/log(10.0);}vec3 log10(vec3 v){return vec3(log10(v.x),log10(v.y),log10(v.z));}vec3 LinearToLogC(vec3 x){return 0.244161*log10(5.555556*x+0.047996)+0.386036;}vec3 LogCToLinear(vec3 x){return(pow(vec3(10.0),(x-0.386036)/0.244161)-0.047996)/5.555556;}vec3 rrt_and_odt_fit(vec3 col){vec3 a=col*(col+0.0245786)-0.000090537;vec3 b=col*(0.983729*col+0.4329510)+0.238081;return a/b;}vec3 ACESToneMapping(vec3 col){vec3 aces=LinearToACES*col;aces=rrt_and_odt_fit(aces);col=ACESToLinear*aces;return col;}vec3 LinearToSrgb(vec3 c){return mix(1.055*pow(c,vec3(1./2.4))-0.055,12.92*c,step(c,vec3(0.0031308)));}vec3 GammaCorrection(vec3 c){return pow(c,vec3(1.0/2.2));}vec3 ApplyVignette(vec3 inputColor,vec2 uv,vec2 center,float intensity,float roundness,float smoothness,vec3 color){vec2 dist=abs(uv-center)*intensity;dist.x*=roundness;float vfactor=pow(clamp((1.0-dot(dist,dist)),0.0,1.0),smoothness);return inputColor*mix(color,vec3(1.0),vfactor);}void main(){vec4 hdrColor=texture2D(_SceneTex,uv);hdrColor.rgb=pow(hdrColor.rgb,vec3(2.2));vec3 finalColor=hdrColor.rgb;if(_UseBloom){vec4 bloomColor=texture2D(_GaussianTex,uv);bloomColor.rgb*=_BloomIntensity;finalColor+=bloomColor.rgb;}if(_VignetteIntensity>0.0){finalColor=ApplyVignette(finalColor,uv,_VignetteCenter,_VignetteIntensity,_VignetteRoundness,_VignetteSmoothness,_VignetteColor);}finalColor=finalColor*_Brightness;vec3 colorLog=LinearToLogC(finalColor);colorLog=(colorLog-ACEScc_MIDGRAY)*_Contrast+ACEScc_MIDGRAY;finalColor=LogCToLinear(colorLog);finalColor=max(finalColor,0.0);float luminance=0.2125*finalColor.r+0.7154*finalColor.g+0.0721*finalColor.b;vec3 luminanceColor=vec3(luminance,luminance,luminance);finalColor=(finalColor-luminanceColor)*_Saturation+luminanceColor;finalColor=max(finalColor,0.0);if(_UseToneMapping){finalColor=max(vec3(0.0),ACESToneMapping(finalColor));}float alpha=min(hdrColor.a,1.0);gl_FragColor=vec4(clamp(GammaCorrection(finalColor),0.0,1.0),alpha);}";
11587
11591
 
11588
11592
  var gaussianDown_frag = "precision highp float;varying vec2 uv;uniform sampler2D _MainTex;uniform vec2 _TextureSize;float GaussWeight2D(float x,float y,float sigma){float PI=3.14159265358;float E=2.71828182846;float sigma_2=pow(sigma,2.0);float a=-(x*x+y*y)/(2.0*sigma_2);return pow(E,a)/(2.0*PI*sigma_2);}vec3 GaussNxN(sampler2D tex,vec2 uv,vec2 stride,float sigma){vec3 color=vec3(0.,0.,0.);const int r=5/2;float weight=0.0;for(int i=-r;i<=r;i++){for(int j=-r;j<=r;j++){float w=GaussWeight2D(float(i),float(j),sigma);vec2 coord=uv+vec2(i,j)*stride;color+=texture2D(tex,coord).rgb*w;weight+=w;}}color/=weight;return color;}void main(){vec4 mainColor=texture2D(_MainTex,uv);vec3 color=mainColor.rgb;color=GaussNxN(_MainTex,uv,1.0/_TextureSize,1.0);gl_FragColor=vec4(color,1.0);}";
11589
11593
 
@@ -18070,10 +18074,10 @@ var ParticleMesh = /*#__PURE__*/ function() {
18070
18074
  };
18071
18075
  _proto.onUpdate = function onUpdate(dt) {
18072
18076
  var aPosArray = this.geometry.getAttributeData("aPos"); // vector3
18073
- var particleCount = Math.ceil(aPosArray.length / 12);
18074
- this.applyTranslation(particleCount, dt);
18075
- this.applyRotation(particleCount, dt);
18076
- this.applyLinearMove(particleCount, dt);
18077
+ var vertexCount = Math.ceil(aPosArray.length / 12);
18078
+ this.applyTranslation(vertexCount, dt);
18079
+ this.applyRotation(vertexCount, dt);
18080
+ this.applyLinearMove(vertexCount, dt);
18077
18081
  };
18078
18082
  _proto.minusTime = function minusTime(time) {
18079
18083
  var aOffset = this.geometry.getAttributeData("aOffset");
@@ -18107,7 +18111,9 @@ var ParticleMesh = /*#__PURE__*/ function() {
18107
18111
  aPos: new Float32Array(48),
18108
18112
  aRot: new Float32Array(32),
18109
18113
  aOffset: new Float32Array(16),
18110
- aTranslation: new Float32Array(12)
18114
+ aTranslation: new Float32Array(12),
18115
+ aLinearMove: new Float32Array(12),
18116
+ aRotation0: new Float32Array(36)
18111
18117
  };
18112
18118
  var useSprite = this.useSprite;
18113
18119
  if (useSprite) {
@@ -18216,13 +18222,13 @@ var ParticleMesh = /*#__PURE__*/ function() {
18216
18222
  geometry.setDrawCount(this.particleCount * 6);
18217
18223
  }
18218
18224
  };
18219
- _proto.applyTranslation = function applyTranslation(particleCount, deltaTime) {
18225
+ _proto.applyTranslation = function applyTranslation(vertexCount, deltaTime) {
18220
18226
  var localTime = this.time;
18221
18227
  var aTranslationArray = this.geometry.getAttributeData("aTranslation");
18222
18228
  var aVelArray = this.geometry.getAttributeData("aVel"); // vector3
18223
18229
  var aOffsetArray = this.geometry.getAttributeData("aOffset");
18224
- if (aTranslationArray.length < particleCount * 3) {
18225
- aTranslationArray = this.expandArray(aTranslationArray, particleCount * 3);
18230
+ if (aTranslationArray.length < vertexCount * 3) {
18231
+ aTranslationArray = this.expandArray(aTranslationArray, vertexCount * 3);
18226
18232
  }
18227
18233
  // const velocity = this.cachedVelocity;
18228
18234
  var velocityX = 0;
@@ -18230,7 +18236,7 @@ var ParticleMesh = /*#__PURE__*/ function() {
18230
18236
  var velocityZ = 0;
18231
18237
  var uAcceleration = this.mesh.material.getVector4("uAcceleration");
18232
18238
  var uGravityModifierValue = this.mesh.material.getVector4("uGravityModifierValue");
18233
- for(var i = 0; i < particleCount; i++){
18239
+ for(var i = 0; i < vertexCount; i += 4){
18234
18240
  var velOffset = i * 12 + 3;
18235
18241
  velocityX = aVelArray[velOffset];
18236
18242
  velocityY = aVelArray[velOffset + 1];
@@ -18262,24 +18268,36 @@ var ParticleMesh = /*#__PURE__*/ function() {
18262
18268
  var aTranslationOffset = i * 3;
18263
18269
  if (aOffsetArray[i * 4 + 2] < localTime) {
18264
18270
  // const translation = velocity.multiply(deltaTime / 1000);
18265
- aTranslationArray[aTranslationOffset] += velocityX * (deltaTime / 1000);
18266
- aTranslationArray[aTranslationOffset + 1] += velocityY * (deltaTime / 1000);
18267
- aTranslationArray[aTranslationOffset + 2] += velocityZ * (deltaTime / 1000);
18271
+ var aTranslationX = velocityX * (deltaTime / 1000);
18272
+ var aTranslationY = velocityY * (deltaTime / 1000);
18273
+ var aTranslationZ = velocityZ * (deltaTime / 1000);
18274
+ aTranslationArray[aTranslationOffset] += aTranslationX;
18275
+ aTranslationArray[aTranslationOffset + 1] += aTranslationY;
18276
+ aTranslationArray[aTranslationOffset + 2] += aTranslationZ;
18277
+ aTranslationArray[aTranslationOffset + 3] += aTranslationX;
18278
+ aTranslationArray[aTranslationOffset + 4] += aTranslationY;
18279
+ aTranslationArray[aTranslationOffset + 5] += aTranslationZ;
18280
+ aTranslationArray[aTranslationOffset + 6] += aTranslationX;
18281
+ aTranslationArray[aTranslationOffset + 7] += aTranslationY;
18282
+ aTranslationArray[aTranslationOffset + 8] += aTranslationZ;
18283
+ aTranslationArray[aTranslationOffset + 9] += aTranslationX;
18284
+ aTranslationArray[aTranslationOffset + 10] += aTranslationY;
18285
+ aTranslationArray[aTranslationOffset + 11] += aTranslationZ;
18268
18286
  }
18269
18287
  }
18270
18288
  this.geometry.setAttributeData("aTranslation", aTranslationArray);
18271
18289
  };
18272
- _proto.applyRotation = function applyRotation(particleCount, deltaTime) {
18290
+ _proto.applyRotation = function applyRotation(vertexCount, deltaTime) {
18273
18291
  var aRotationArray = this.geometry.getAttributeData("aRotation0");
18274
18292
  var aOffsetArray = this.geometry.getAttributeData("aOffset");
18275
18293
  var aRotArray = this.geometry.getAttributeData("aRot"); // vector3
18276
18294
  var aSeedArray = this.geometry.getAttributeData("aSeed"); // float
18277
18295
  var localTime = this.time;
18278
18296
  var aRotationMatrix = this.cachedRotationMatrix;
18279
- if (aRotationArray.length < particleCount * 9) {
18280
- aRotationArray = this.expandArray(aRotationArray, particleCount * 9);
18297
+ if (aRotationArray.length < vertexCount * 9) {
18298
+ aRotationArray = this.expandArray(aRotationArray, vertexCount * 9);
18281
18299
  }
18282
- for(var i = 0; i < particleCount; i++){
18300
+ for(var i = 0; i < vertexCount; i += 4){
18283
18301
  var time = localTime - aOffsetArray[i * 4 + 2];
18284
18302
  var duration = aOffsetArray[i * 4 + 3];
18285
18303
  var life = clamp$1(time / duration, 0.0, 1.0);
@@ -18357,20 +18375,25 @@ var ParticleMesh = /*#__PURE__*/ function() {
18357
18375
  var aRotationOffset = i * 9;
18358
18376
  var matrixArray = aRotationMatrix.elements;
18359
18377
  aRotationArray.set(matrixArray, aRotationOffset);
18378
+ if (i + 4 <= vertexCount) {
18379
+ aRotationArray.set(matrixArray, aRotationOffset + 9);
18380
+ aRotationArray.set(matrixArray, aRotationOffset + 18);
18381
+ aRotationArray.set(matrixArray, aRotationOffset + 27);
18382
+ }
18360
18383
  }
18361
18384
  this.geometry.setAttributeData("aRotation0", aRotationArray);
18362
18385
  };
18363
- _proto.applyLinearMove = function applyLinearMove(particleCount, deltaTime) {
18386
+ _proto.applyLinearMove = function applyLinearMove(vertexCount, deltaTime) {
18364
18387
  var aLinearMoveArray = this.geometry.getAttributeData("aLinearMove");
18365
18388
  var aOffsetArray = this.geometry.getAttributeData("aOffset");
18366
18389
  var aSeedArray = this.geometry.getAttributeData("aSeed"); // float
18367
18390
  var localTime = this.time;
18368
- if (aLinearMoveArray.length < particleCount * 3) {
18369
- aLinearMoveArray = this.expandArray(aLinearMoveArray, particleCount * 3);
18391
+ if (aLinearMoveArray.length < vertexCount * 3) {
18392
+ aLinearMoveArray = this.expandArray(aLinearMoveArray, vertexCount * 3);
18370
18393
  }
18371
18394
  var linearMove = this.cachedLinearMove;
18372
18395
  if (this.linearVelOverLifetime && this.linearVelOverLifetime.enabled) {
18373
- for(var i = 0; i < particleCount; i++){
18396
+ for(var i = 0; i < vertexCount; i += 4){
18374
18397
  var time = localTime - aOffsetArray[i * 4 + 2];
18375
18398
  var duration = aOffsetArray[i * 4 + 3];
18376
18399
  // const life = math.clamp(time / duration, 0.0, 1.0);
@@ -18427,6 +18450,15 @@ var ParticleMesh = /*#__PURE__*/ function() {
18427
18450
  aLinearMoveArray[aLinearMoveOffset] = linearMove.x;
18428
18451
  aLinearMoveArray[aLinearMoveOffset + 1] = linearMove.y;
18429
18452
  aLinearMoveArray[aLinearMoveOffset + 2] = linearMove.z;
18453
+ aLinearMoveArray[aLinearMoveOffset + 3] = linearMove.x;
18454
+ aLinearMoveArray[aLinearMoveOffset + 4] = linearMove.y;
18455
+ aLinearMoveArray[aLinearMoveOffset + 5] = linearMove.z;
18456
+ aLinearMoveArray[aLinearMoveOffset + 6] = linearMove.x;
18457
+ aLinearMoveArray[aLinearMoveOffset + 7] = linearMove.y;
18458
+ aLinearMoveArray[aLinearMoveOffset + 8] = linearMove.z;
18459
+ aLinearMoveArray[aLinearMoveOffset + 9] = linearMove.x;
18460
+ aLinearMoveArray[aLinearMoveOffset + 10] = linearMove.y;
18461
+ aLinearMoveArray[aLinearMoveOffset + 11] = linearMove.z;
18430
18462
  }
18431
18463
  }
18432
18464
  this.geometry.setAttributeData("aLinearMove", aLinearMoveArray);
@@ -21179,6 +21211,7 @@ var VFXItem = /*#__PURE__*/ function(EffectsObject) {
21179
21211
  var component = _step.value;
21180
21212
  if (component.enabled && !component.isStartCalled) {
21181
21213
  component.onStart();
21214
+ component.isStartCalled = true;
21182
21215
  }
21183
21216
  }
21184
21217
  for(var _iterator1 = _create_for_of_iterator_helper_loose(this.components), _step1; !(_step1 = _iterator1()).done;){
@@ -25402,7 +25435,6 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
25402
25435
  }));
25403
25436
  _this.url = scene.url;
25404
25437
  _this.assigned = true;
25405
- _this.globalTime = 0;
25406
25438
  _this.interactive = true;
25407
25439
  _this.handleItemMessage = handleItemMessage;
25408
25440
  _this.createRenderFrame();
@@ -25565,7 +25597,6 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
25565
25597
  * 重置状态函数
25566
25598
  */ _proto.reset = function reset() {
25567
25599
  this.rendererOptions = null;
25568
- this.globalTime = 0;
25569
25600
  this.rootItem.ended = false;
25570
25601
  this.pluginSystem.resetComposition(this, this.renderFrame);
25571
25602
  };
@@ -25603,9 +25634,8 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
25603
25634
  if (!this.assigned || this.paused) {
25604
25635
  return;
25605
25636
  }
25606
- var time = this.getUpdateTime(deltaTime * this.speed);
25607
- this.globalTime += time;
25608
- this.updateRootComposition();
25637
+ var dt = this.getUpdateTime(deltaTime * this.speed);
25638
+ this.updateRootComposition(dt / 1000);
25609
25639
  this.updateVideo();
25610
25640
  // 更新 model-tree-plugin
25611
25641
  this.updatePluginLoaders(deltaTime);
@@ -25614,8 +25644,8 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
25614
25644
  this.callAwake(this.rootItem);
25615
25645
  this.rootItem.beginPlay();
25616
25646
  }
25617
- this.sceneTicking.update.tick(time);
25618
- this.sceneTicking.lateUpdate.tick(time);
25647
+ this.sceneTicking.update.tick(dt);
25648
+ this.sceneTicking.lateUpdate.tick(dt);
25619
25649
  this.updateCamera();
25620
25650
  this.prepareRender();
25621
25651
  if (this.shouldDispose()) {
@@ -25756,9 +25786,9 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
25756
25786
  };
25757
25787
  /**
25758
25788
  * 更新主合成组件
25759
- */ _proto.updateRootComposition = function updateRootComposition() {
25789
+ */ _proto.updateRootComposition = function updateRootComposition(deltaTime) {
25760
25790
  if (this.rootComposition.isActiveAndEnabled) {
25761
- var localTime = this.toLocalTime(this.globalTime / 1000);
25791
+ var localTime = this.toLocalTime(this.time + deltaTime);
25762
25792
  this.rootComposition.time = localTime;
25763
25793
  }
25764
25794
  };
@@ -28101,7 +28131,7 @@ registerPlugin("sprite", SpriteLoader, VFXItem, true);
28101
28131
  registerPlugin("particle", ParticleLoader, VFXItem, true);
28102
28132
  registerPlugin("cal", CalculateLoader, VFXItem, true);
28103
28133
  registerPlugin("interact", InteractLoader, VFXItem, true);
28104
- var version = "2.1.0-alpha.3";
28134
+ var version = "2.1.0-alpha.5";
28105
28135
  logger.info("Core version: " + version + ".");
28106
28136
 
28107
28137
  export { AbstractPlugin, ActivationPlayable, ActivationPlayableAsset, ActivationTrack, AnimationClip, AnimationClipPlayable, AssetLoader, AssetManager, BYTES_TYPE_MAP, Behaviour, BezierCurve, BezierCurvePath, BezierCurveQuat, BinaryAsset, COMPRESSED_TEXTURE, COPY_FRAGMENT_SHADER, COPY_MESH_SHADER_ID, COPY_VERTEX_SHADER, CalculateLoader, Camera, CameraController, CameraVFXItemLoader, Component, Composition, CompositionComponent, CompositionSourceManager, DEFAULT_FONTS, DEFAULT_FPS, Database, DestroyOptions, Downloader, EFFECTS_COPY_MESH_NAME, EVENT_TYPE_CLICK, EVENT_TYPE_TOUCH_END, EVENT_TYPE_TOUCH_MOVE, EVENT_TYPE_TOUCH_START, EffectComponent, EffectsObject, EffectsPackage, Engine, EventEmitter, EventSystem, FilterMode, Float16ArrayWrapper, Framebuffer, GLSLVersion, GPUCapability, Geometry, GlobalUniforms, GradientValue, HELP_LINK, HitTestType, InteractComponent, InteractLoader, InteractMesh, Item, KTXTexture, LineSegments, LinearValue, Material, MaterialDataBlock, MaterialRenderType, Mesh, ObjectBindingTrack, OrderType, PLAYER_OPTIONS_ENV_EDITOR, POST_PROCESS_SETTINGS, ParticleBehaviourPlayable, ParticleBehaviourPlayableAsset, ParticleLoader, ParticleMesh, ParticleSystem, ParticleSystemRenderer, PassTextureCache, PathSegments, PluginSystem, PostProcessVolume, RENDER_PASS_NAME_PREFIX, RENDER_PREFER_LOOKUP_TEXTURE, RUNTIME_ENV, RandomSetValue, RandomValue, RandomVectorValue, RenderFrame, RenderPass, RenderPassAttachmentStorageType, RenderPassDestroyAttachmentType, RenderPassPriorityNormal, RenderPassPriorityPostprocess, RenderPassPriorityPrepare, RenderTargetHandle, RenderTextureFormat, Renderbuffer, Renderer, RendererComponent, RuntimeClip, SEMANTIC_MAIN_PRE_COLOR_ATTACHMENT_0, SEMANTIC_MAIN_PRE_COLOR_ATTACHMENT_SIZE_0, SEMANTIC_PRE_COLOR_ATTACHMENT_0, SEMANTIC_PRE_COLOR_ATTACHMENT_SIZE_0, SPRITE_VERTEX_STRIDE, SemanticMap, SerializationHelper, Shader, ShaderCompileResultStatus, ShaderFactory, ShaderType, ShaderVariant, SpriteColorPlayable, SpriteColorPlayableAsset, SpriteColorTrack, SpriteComponent, SpriteLoader, StaticValue, SubCompositionPlayableAsset, SubCompositionTrack, TEMPLATE_USE_OFFSCREEN_CANVAS, TextComponent, TextComponentBase, TextLayout, TextLoader, TextStyle, Texture, TextureFactory, TextureLoadAction, TextureSourceType, TextureStoreAction, Ticker, TimelineAsset, TimelineClip, TimelinePlayable, TrackAsset, TrackSortWrapper, TrackType, Transform, TransformAnimationPlayable, TransformPlayableAsset, TransformTrack, VFXItem, ValueGetter, addByOrder, addItem, addItemWithOrder, applyMixins, assertExist, asserts, base64ToFile, blend, calculateTranslation, canvasPool, colorGradingFrag, colorStopsFromGradient, colorToArr$1 as colorToArr, combineImageTemplate, createCopyShader, createGLContext, createKeyFrameMeta, createShape, createValueGetter, decimalEqual, defaultGlobalVolume, defaultPlugins, deserializeMipmapTexture, earcut, effectsClass, effectsClassStore, enlargeBuffer, ensureFixedNumber, ensureVec3, findPreviousRenderPass, gaussianDown_frag as gaussianDownFrag, gaussianDownHFrag, gaussianDownVFrag, gaussianUpFrag, generateEmptyTypedArray, generateGUID, generateHalfFloatTexture, generateTransparentTexture, generateWhiteTexture, getBackgroundImage, getColorFromGradientStops, getConfig, getDefaultTextureFactory, getGeometryByShape, getGeometryTriangles, getImageItemRenderInfo, getKTXTextureOptions, getKeyFrameMetaByRawValue, getMergedStore, getParticleMeshShader, getPixelRatio, getPreMultiAlpha, getStandardComposition, getStandardImage, getStandardItem, getStandardJSON, getTextureSize, glContext, glType2VertexFormatType, gpuTimer, imageDataFromColor, imageDataFromGradient, initErrors, initGLContext, integrate, interpolateColor, isAlipayMiniApp, isAndroid, isArray, isCanvas, isFunction, isIOS, isIOSByUA, isMiniProgram, isObject, isSceneJSON, isSceneURL, isSceneWithOptions, isSimulatorCellPhone, isString, isUniformStruct, isUniformStructArray, isValidFontFamily, isWebGL2, isWechatMiniApp, itemFrag, itemFrameFrag, itemVert, loadAVIFOptional, loadBinary, loadBlob, loadImage, loadMedia, loadVideo, loadWebPOptional, logger, index as math, maxSpriteMeshItemCount, modifyMaxKeyframeShader, nearestPowerOfTwo, noop, normalizeColor, numberToFix, parsePercent$1 as parsePercent, particleFrag, particleOriginTranslateMap$1 as particleOriginTranslateMap, particleUniformTypeMap, particleVert, pluginLoaderMap, randomInRange, registerPlugin, removeItem, rotateVec2, screenMeshVert, serialize, setBlendMode, setConfig, setDefaultTextureFactory, setMaskMode, setMaxSpriteMeshItemCount, setRayFromCamera, setSideMode, setSpriteMeshMaxItemCountByGPU, sortByOrder, index$1 as spec, spriteMeshShaderFromFilter, spriteMeshShaderFromRenderInfo, spriteMeshShaderIdFromRenderInfo, thresholdFrag, throwDestroyedError, trailVert, translatePoint, trianglesFromRect, unregisterPlugin, valIfUndefined, value, valueDefine, vecFill, vecMulCombine, version, vertexFormatType2GLType };