@galacean/effects-threejs 2.4.6 → 2.4.8
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.js +57 -91
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +57 -91
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime threejs plugin for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v2.4.
|
|
6
|
+
* Version: v2.4.8
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import * as THREE from 'three';
|
|
@@ -20137,7 +20137,7 @@ var RuntimeClip = /*#__PURE__*/ function() {
|
|
|
20137
20137
|
this.playable.play();
|
|
20138
20138
|
}
|
|
20139
20139
|
this.parentMixer.setClipWeight(this.playable, weight);
|
|
20140
|
-
var clipTime =
|
|
20140
|
+
var clipTime = clip.toLocalTime(localTime);
|
|
20141
20141
|
this.playable.setTime(clipTime);
|
|
20142
20142
|
// 判断动画是否结束
|
|
20143
20143
|
if (ended) {
|
|
@@ -21137,13 +21137,12 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
|
|
|
21137
21137
|
_this._textures = [];
|
|
21138
21138
|
var _props_reusable = props.reusable, reusable = _props_reusable === void 0 ? false : _props_reusable, _props_speed = props.speed, speed = _props_speed === void 0 ? 1 : _props_speed, _props_baseRenderOrder = props.baseRenderOrder, baseRenderOrder = _props_baseRenderOrder === void 0 ? 0 : _props_baseRenderOrder, renderer = props.renderer, event = props.event, width = props.width, height = props.height, handleItemMessage = props.handleItemMessage;
|
|
21139
21139
|
_this.renderer = renderer;
|
|
21140
|
-
_this._textures = scene.
|
|
21140
|
+
_this._textures = scene.textures;
|
|
21141
21141
|
var _scene_jsonScene_renderSettings_postProcessingEnabled;
|
|
21142
21142
|
_this.postProcessingEnabled = (_scene_jsonScene_renderSettings_postProcessingEnabled = (_scene_jsonScene_renderSettings = scene.jsonScene.renderSettings) == null ? void 0 : _scene_jsonScene_renderSettings.postProcessingEnabled) != null ? _scene_jsonScene_renderSettings_postProcessingEnabled : false;
|
|
21143
21143
|
_this.getEngine().renderLevel = scene.renderLevel;
|
|
21144
21144
|
if (reusable) {
|
|
21145
21145
|
_this.keepResource = true;
|
|
21146
|
-
scene.textures = undefined;
|
|
21147
21146
|
scene.consumed = true;
|
|
21148
21147
|
}
|
|
21149
21148
|
var sourceContent = scene.jsonScene.compositions[0];
|
|
@@ -21327,11 +21326,12 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
|
|
|
21327
21326
|
* 前进合成到指定时间
|
|
21328
21327
|
* @param time - 相对0时刻的时间
|
|
21329
21328
|
*/ _proto.forwardTime = function forwardTime(time) {
|
|
21330
|
-
var deltaTime = time * 1000 - this.
|
|
21329
|
+
var deltaTime = time * 1000 - this.time * 1000;
|
|
21331
21330
|
var reverse = deltaTime < 0;
|
|
21332
21331
|
var step = 15;
|
|
21333
21332
|
var t = Math.abs(deltaTime);
|
|
21334
21333
|
var ss = reverse ? -step : step;
|
|
21334
|
+
// FIXME Update 中可能会修改合成时间,这边需要优化更新逻辑
|
|
21335
21335
|
for(t; t > step; t -= step){
|
|
21336
21336
|
this.update(ss);
|
|
21337
21337
|
}
|
|
@@ -21371,13 +21371,14 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
|
|
|
21371
21371
|
this.callAwake(this.rootItem);
|
|
21372
21372
|
this.rootItem.beginPlay();
|
|
21373
21373
|
}
|
|
21374
|
-
var
|
|
21375
|
-
this.
|
|
21374
|
+
var previousCompositionTime = this.time;
|
|
21375
|
+
this.updateCompositionTime(deltaTime * this.speed / 1000);
|
|
21376
|
+
var deltaTimeInMs = (this.time - previousCompositionTime) * 1000;
|
|
21376
21377
|
this.updateVideo();
|
|
21377
21378
|
// 更新 model-tree-plugin
|
|
21378
|
-
this.updatePluginLoaders(
|
|
21379
|
-
this.sceneTicking.update.tick(
|
|
21380
|
-
this.sceneTicking.lateUpdate.tick(
|
|
21379
|
+
this.updatePluginLoaders(deltaTimeInMs);
|
|
21380
|
+
this.sceneTicking.update.tick(deltaTimeInMs);
|
|
21381
|
+
this.sceneTicking.lateUpdate.tick(deltaTimeInMs);
|
|
21381
21382
|
this.updateCamera();
|
|
21382
21383
|
this.prepareRender();
|
|
21383
21384
|
if (this.isEnded && !this.isEndCalled) {
|
|
@@ -21393,14 +21394,6 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
|
|
|
21393
21394
|
_proto.shouldDispose = function shouldDispose() {
|
|
21394
21395
|
return this.isEnded && this.rootItem.endBehavior === EndBehavior.destroy && !this.reusable;
|
|
21395
21396
|
};
|
|
21396
|
-
_proto.getUpdateTime = function getUpdateTime(t) {
|
|
21397
|
-
var startTimeInMs = this.startTime * 1000;
|
|
21398
|
-
var now = this.rootComposition.time * 1000;
|
|
21399
|
-
if (t < 0 && now + t < startTimeInMs) {
|
|
21400
|
-
return startTimeInMs - now;
|
|
21401
|
-
}
|
|
21402
|
-
return t;
|
|
21403
|
-
};
|
|
21404
21397
|
_proto.callAwake = function callAwake(item) {
|
|
21405
21398
|
for(var _iterator = _create_for_of_iterator_helper_loose(item.components), _step; !(_step = _iterator()).done;){
|
|
21406
21399
|
var component = _step.value;
|
|
@@ -21445,14 +21438,18 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
|
|
|
21445
21438
|
};
|
|
21446
21439
|
/**
|
|
21447
21440
|
* 更新主合成组件
|
|
21448
|
-
*/ _proto.
|
|
21441
|
+
*/ _proto.updateCompositionTime = function updateCompositionTime(deltaTime) {
|
|
21449
21442
|
if (this.rootComposition.state === PlayState.Paused || !this.rootComposition.isActiveAndEnabled) {
|
|
21450
21443
|
return;
|
|
21451
21444
|
}
|
|
21452
|
-
|
|
21453
|
-
var
|
|
21445
|
+
// 相对于合成开始时间的时间
|
|
21446
|
+
var localTime = this.time + deltaTime - this.startTime;
|
|
21447
|
+
if (deltaTime < 0 && localTime < 0) {
|
|
21448
|
+
localTime = 0;
|
|
21449
|
+
}
|
|
21454
21450
|
var duration = this.rootItem.duration;
|
|
21455
21451
|
var endBehavior = this.rootItem.endBehavior;
|
|
21452
|
+
var isEnded = false;
|
|
21456
21453
|
if (localTime - duration > 0.001) {
|
|
21457
21454
|
isEnded = true;
|
|
21458
21455
|
switch(endBehavior){
|
|
@@ -21477,7 +21474,7 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
|
|
|
21477
21474
|
}
|
|
21478
21475
|
}
|
|
21479
21476
|
}
|
|
21480
|
-
this.rootComposition.time = localTime;
|
|
21477
|
+
this.rootComposition.time = localTime + this.startTime;
|
|
21481
21478
|
// end state changed, handle onEnd flags
|
|
21482
21479
|
if (this.isEnded !== isEnded) {
|
|
21483
21480
|
if (isEnded) {
|
|
@@ -26260,8 +26257,9 @@ var TextComponentBase = /*#__PURE__*/ function() {
|
|
|
26260
26257
|
this.isDirty = true;
|
|
26261
26258
|
};
|
|
26262
26259
|
/**
|
|
26263
|
-
*
|
|
26264
|
-
* @param value
|
|
26260
|
+
* 设置字体样式
|
|
26261
|
+
* @param value 设置字体样式
|
|
26262
|
+
* @default "normal"
|
|
26265
26263
|
* @returns
|
|
26266
26264
|
*/ _proto.setFontStyle = function setFontStyle(value) {
|
|
26267
26265
|
if (this.textStyle.fontStyle === value) {
|
|
@@ -27412,7 +27410,6 @@ function getStandardInteractContent(ui) {
|
|
|
27412
27410
|
var currentMaskComponent;
|
|
27413
27411
|
var componentMap = new Map();
|
|
27414
27412
|
var itemMap = new Map();
|
|
27415
|
-
var refCompositions = new Map();
|
|
27416
27413
|
/**
|
|
27417
27414
|
* 3.1 版本数据适配
|
|
27418
27415
|
* - 富文本插件名称的适配
|
|
@@ -27460,27 +27457,20 @@ var refCompositions = new Map();
|
|
|
27460
27457
|
function version32Migration(json) {
|
|
27461
27458
|
componentMap.clear();
|
|
27462
27459
|
itemMap.clear();
|
|
27463
|
-
refCompositions.clear();
|
|
27464
27460
|
var compositions = json.compositions, items = json.items, components = json.components;
|
|
27465
27461
|
// 处理旧蒙版数据
|
|
27466
|
-
var mainComp = compositions[0];
|
|
27467
27462
|
for(var _iterator = _create_for_of_iterator_helper_loose(components), _step; !(_step = _iterator()).done;){
|
|
27468
27463
|
var component = _step.value;
|
|
27469
27464
|
componentMap.set(component.id, component);
|
|
27470
27465
|
}
|
|
27471
|
-
for(var _iterator1 = _create_for_of_iterator_helper_loose(
|
|
27472
|
-
var
|
|
27473
|
-
if (comp.id === json.compositionId) {
|
|
27474
|
-
mainComp = comp;
|
|
27475
|
-
} else {
|
|
27476
|
-
refCompositions.set(comp.id, comp);
|
|
27477
|
-
}
|
|
27478
|
-
}
|
|
27479
|
-
for(var _iterator2 = _create_for_of_iterator_helper_loose(items), _step2; !(_step2 = _iterator2()).done;){
|
|
27480
|
-
var item = _step2.value;
|
|
27466
|
+
for(var _iterator1 = _create_for_of_iterator_helper_loose(items), _step1; !(_step1 = _iterator1()).done;){
|
|
27467
|
+
var item = _step1.value;
|
|
27481
27468
|
itemMap.set(item.id, item);
|
|
27482
27469
|
}
|
|
27483
|
-
|
|
27470
|
+
for(var _iterator2 = _create_for_of_iterator_helper_loose(compositions), _step2; !(_step2 = _iterator2()).done;){
|
|
27471
|
+
var comp = _step2.value;
|
|
27472
|
+
processContent(comp);
|
|
27473
|
+
}
|
|
27484
27474
|
return json;
|
|
27485
27475
|
}
|
|
27486
27476
|
function version33Migration(json) {
|
|
@@ -27565,12 +27555,6 @@ function processContent(composition) {
|
|
|
27565
27555
|
processMask(component);
|
|
27566
27556
|
}
|
|
27567
27557
|
}
|
|
27568
|
-
// 处理预合成的渲染顺序
|
|
27569
|
-
if (itemProps.type === ItemType.composition) {
|
|
27570
|
-
var refId = itemProps.content.options.refId;
|
|
27571
|
-
var comp = refCompositions.get(refId);
|
|
27572
|
-
comp && processContent(comp);
|
|
27573
|
-
}
|
|
27574
27558
|
}
|
|
27575
27559
|
}
|
|
27576
27560
|
function processMask(renderContent) {
|
|
@@ -28959,7 +28943,7 @@ var seed$1 = 1;
|
|
|
28959
28943
|
});
|
|
28960
28944
|
});
|
|
28961
28945
|
loadResourcePromise = /*#__PURE__*/ _async_to_generator(function() {
|
|
28962
|
-
var scene, link,
|
|
28946
|
+
var scene, link, _ref, jsonScene, pluginSystem, _jsonScene_bins, bins, images, fonts, _ref1, loadedBins, loadedImages, loadedTextures, totalTime;
|
|
28963
28947
|
return __generator(this, function(_state) {
|
|
28964
28948
|
switch(_state.label){
|
|
28965
28949
|
case 0:
|
|
@@ -28990,37 +28974,23 @@ var seed$1 = 1;
|
|
|
28990
28974
|
case 3:
|
|
28991
28975
|
if (!Scene.isJSONObject(rawJSON)) return [
|
|
28992
28976
|
3,
|
|
28993
|
-
|
|
28977
|
+
4
|
|
28994
28978
|
];
|
|
28995
|
-
// 已经加载过的 可能需要更新数据模板
|
|
28996
28979
|
scene = _extends({}, rawJSON);
|
|
28997
|
-
jsonScene = scene.jsonScene, pluginSystem = scene.pluginSystem, loadedImages = scene.images;
|
|
28998
|
-
images = jsonScene.images;
|
|
28999
|
-
_this.assignImagesToAssets(images, loadedImages);
|
|
29000
|
-
return [
|
|
29001
|
-
4,
|
|
29002
|
-
Promise.all([
|
|
29003
|
-
hookTimeInfo("plugin:processAssets", function() {
|
|
29004
|
-
return _this.processPluginAssets(jsonScene, pluginSystem, options);
|
|
29005
|
-
})
|
|
29006
|
-
])
|
|
29007
|
-
];
|
|
29008
|
-
case 4:
|
|
29009
|
-
_state.sent();
|
|
29010
28980
|
return [
|
|
29011
28981
|
3,
|
|
29012
|
-
|
|
28982
|
+
9
|
|
29013
28983
|
];
|
|
29014
|
-
case
|
|
28984
|
+
case 4:
|
|
29015
28985
|
return [
|
|
29016
28986
|
4,
|
|
29017
28987
|
hookTimeInfo("processJSON", function() {
|
|
29018
28988
|
return _this.processJSON(rawJSON);
|
|
29019
28989
|
})
|
|
29020
28990
|
];
|
|
29021
|
-
case
|
|
29022
|
-
_ref = _state.sent(),
|
|
29023
|
-
_jsonScene_bins =
|
|
28991
|
+
case 5:
|
|
28992
|
+
_ref = _state.sent(), jsonScene = _ref.jsonScene, pluginSystem = _ref.pluginSystem;
|
|
28993
|
+
_jsonScene_bins = jsonScene.bins, bins = _jsonScene_bins === void 0 ? [] : _jsonScene_bins, images = jsonScene.images, fonts = jsonScene.fonts;
|
|
29024
28994
|
return [
|
|
29025
28995
|
4,
|
|
29026
28996
|
Promise.all([
|
|
@@ -29028,48 +28998,50 @@ var seed$1 = 1;
|
|
|
29028
28998
|
return _this.processBins(bins);
|
|
29029
28999
|
}),
|
|
29030
29000
|
hookTimeInfo("processImages", function() {
|
|
29031
|
-
return _this.processImages(
|
|
29001
|
+
return _this.processImages(images, compressedTexture);
|
|
29032
29002
|
}),
|
|
29033
29003
|
hookTimeInfo("plugin:processAssets", function() {
|
|
29034
|
-
return _this.processPluginAssets(
|
|
29004
|
+
return _this.processPluginAssets(jsonScene, pluginSystem, options);
|
|
29035
29005
|
}),
|
|
29036
29006
|
hookTimeInfo("processFontURL", function() {
|
|
29037
29007
|
return _this.processFontURL(fonts);
|
|
29038
29008
|
})
|
|
29039
29009
|
])
|
|
29040
29010
|
];
|
|
29041
|
-
case
|
|
29042
|
-
_ref1 = _state.sent(), loadedBins = _ref1[0],
|
|
29011
|
+
case 6:
|
|
29012
|
+
_ref1 = _state.sent(), loadedBins = _ref1[0], loadedImages = _ref1[1];
|
|
29043
29013
|
return [
|
|
29044
29014
|
4,
|
|
29045
29015
|
hookTimeInfo("processTextures", function() {
|
|
29046
|
-
return _this.processTextures(
|
|
29016
|
+
return _this.processTextures(loadedImages, loadedBins, jsonScene);
|
|
29047
29017
|
})
|
|
29048
29018
|
];
|
|
29049
|
-
case
|
|
29019
|
+
case 7:
|
|
29050
29020
|
loadedTextures = _state.sent();
|
|
29051
29021
|
scene = {
|
|
29052
29022
|
timeInfos: timeInfos,
|
|
29053
29023
|
url: url,
|
|
29054
29024
|
renderLevel: _this.options.renderLevel,
|
|
29055
29025
|
storage: {},
|
|
29056
|
-
pluginSystem:
|
|
29057
|
-
jsonScene:
|
|
29026
|
+
pluginSystem: pluginSystem,
|
|
29027
|
+
jsonScene: jsonScene,
|
|
29058
29028
|
bins: loadedBins,
|
|
29059
|
-
|
|
29060
|
-
|
|
29029
|
+
textureOptions: loadedTextures,
|
|
29030
|
+
textures: [],
|
|
29031
|
+
images: loadedImages,
|
|
29032
|
+
assets: _this.assets
|
|
29061
29033
|
};
|
|
29062
29034
|
// 触发插件系统 pluginSystem 的回调 prepareResource
|
|
29063
29035
|
return [
|
|
29064
29036
|
4,
|
|
29065
29037
|
hookTimeInfo("plugin:prepareResource", function() {
|
|
29066
|
-
return
|
|
29038
|
+
return pluginSystem.loadResources(scene, _this.options);
|
|
29067
29039
|
})
|
|
29068
29040
|
];
|
|
29069
|
-
case
|
|
29041
|
+
case 8:
|
|
29070
29042
|
_state.sent();
|
|
29071
|
-
_state.label =
|
|
29072
|
-
case
|
|
29043
|
+
_state.label = 9;
|
|
29044
|
+
case 9:
|
|
29073
29045
|
totalTime = performance.now() - startTime;
|
|
29074
29046
|
logger.info("Load asset: totalTime: " + totalTime.toFixed(4) + "ms " + timeInfoMessages.join(" ") + ", url: " + assetUrl + ".");
|
|
29075
29047
|
window.clearTimeout(loadTimer);
|
|
@@ -29664,16 +29636,10 @@ function createTextureOptionsBySource(image, sourceFrom, id) {
|
|
|
29664
29636
|
};
|
|
29665
29637
|
_proto.initializeTexture = function initializeTexture(scene) {
|
|
29666
29638
|
for(var i = 0; i < scene.textureOptions.length; i++){
|
|
29667
|
-
|
|
29668
|
-
|
|
29669
|
-
|
|
29670
|
-
|
|
29671
|
-
textureOptions = this.engine.findObject({
|
|
29672
|
-
id: scene.textureOptions[i].id
|
|
29673
|
-
});
|
|
29674
|
-
scene.textureOptions[i] = textureOptions;
|
|
29675
|
-
}
|
|
29676
|
-
textureOptions.initialize();
|
|
29639
|
+
scene.textures[i] = this.engine.findObject({
|
|
29640
|
+
id: scene.textureOptions[i].id
|
|
29641
|
+
});
|
|
29642
|
+
scene.textures[i].initialize();
|
|
29677
29643
|
}
|
|
29678
29644
|
};
|
|
29679
29645
|
_proto.prepareAssets = function prepareAssets(scene, assets) {
|
|
@@ -31658,7 +31624,7 @@ registerPlugin("sprite", SpriteLoader, VFXItem);
|
|
|
31658
31624
|
registerPlugin("particle", ParticleLoader, VFXItem);
|
|
31659
31625
|
registerPlugin("cal", CalculateLoader, VFXItem);
|
|
31660
31626
|
registerPlugin("interact", InteractLoader, VFXItem);
|
|
31661
|
-
var version$1 = "2.4.
|
|
31627
|
+
var version$1 = "2.4.8";
|
|
31662
31628
|
logger.info("Core version: " + version$1 + ".");
|
|
31663
31629
|
|
|
31664
31630
|
var _obj;
|
|
@@ -33260,7 +33226,7 @@ setMaxSpriteMeshItemCount(8);
|
|
|
33260
33226
|
*/ Mesh.create = function(engine, props) {
|
|
33261
33227
|
return new ThreeMesh(engine, props);
|
|
33262
33228
|
};
|
|
33263
|
-
var version = "2.4.
|
|
33229
|
+
var version = "2.4.8";
|
|
33264
33230
|
logger.info("THREEJS plugin version: " + version + ".");
|
|
33265
33231
|
|
|
33266
33232
|
export { AbstractPlugin, ActivationPlayable, ActivationPlayableAsset, ActivationTrack, AnimationClip, AnimationClipPlayable, Asset, AssetLoader, AssetManager, AssetService, BYTES_TYPE_MAP, BaseRenderComponent, Behaviour, BezierCurve, BezierCurvePath, BezierCurveQuat, BinaryAsset, COMPRESSED_TEXTURE, CONSTANT_MAP_BLEND, CONSTANT_MAP_DEPTH, CONSTANT_MAP_STENCIL_FUNC, CONSTANT_MAP_STENCIL_OP, COPY_FRAGMENT_SHADER, COPY_MESH_SHADER_ID, COPY_VERTEX_SHADER, CalculateLoader, Camera, CameraController, CameraVFXItemLoader, ColorCurve, ColorPropertyPlayableAsset, ColorPropertyTrack, Component, Composition, CompositionComponent, 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, Ellipse, Engine, EventEmitter, EventSystem, Fake3DAnimationMode, Fake3DComponent, FilterMode, Float16ArrayWrapper, FloatPropertyPlayableAsset, FloatPropertyTrack, Framebuffer, GLSLVersion, GPUCapability, Geometry, GlobalUniforms, GradientValue, GraphicsPath, HELP_LINK, HitTestType, InteractComponent, InteractLoader, InteractMesh, Item, KTXTexture, LineSegments, LinearValue, MaskMode, MaskProcessor, Material, MaterialDataBlock, MaterialRenderType, MaterialTrack, Mesh, MeshCollider, ObjectBindingTrack, OrderType, PLAYER_OPTIONS_ENV_EDITOR, POST_PROCESS_SETTINGS, ParticleBehaviourPlayable, ParticleBehaviourPlayableAsset, ParticleLoader, ParticleMesh, ParticleSystem, ParticleSystemRenderer, ParticleTrack, PassTextureCache, PathSegments, PluginSystem, PolyStar, Polygon, PostProcessVolume, PropertyTrack, 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, Scene, SemanticMap, SerializationHelper, Shader, ShaderCompileResultStatus, ShaderFactory, ShaderType, ShaderVariant, ShapeComponent, ShapePath, SpriteColorPlayableAsset, SpriteColorTrack, SpriteComponent, SpriteLoader, StarType, StaticValue, SubCompositionPlayableAsset, SubCompositionTrack, TEMPLATE_USE_OFFSCREEN_CANVAS, TEXTURE_UNIFORM_MAP, TextComponent, TextComponentBase, TextLayout, TextLoader, TextStyle, Texture, TextureFactory, TextureLoadAction, TextureSourceType, TextureStoreAction, ThreeComposition, ThreeDisplayObject, ThreeEngine, ThreeMaterial, ThreeSpriteComponent, ThreeTextComponent, ThreeTexture, Ticker, TimelineAsset, TimelineClip, TimelinePlayable, TrackAsset, TrackSortWrapper, TrackType, Transform, TransformAnimationPlayable, TransformPlayableAsset, TransformTrack, VFXItem, ValueGetter, Vector2Curve, Vector2PropertyPlayableAsset, Vector2PropertyTrack, Vector4Curve, Vector4PropertyPlayableAsset, Vector4PropertyTrack, addByOrder, addItem, addItemWithOrder, applyMixins, assertExist, asserts, base64ToFile, blend, buildLine, calculateTranslation, canvasPool, closePointEps, colorGradingFrag, colorStopsFromGradient, colorToArr$1 as colorToArr, combineImageTemplate, createCopyShader, createGLContext, createKeyFrameMeta, createShape, createValueGetter, curveEps, decimalEqual, 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, 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, isOpenHarmony, isSimulatorCellPhone, isString, isUniformStruct, isUniformStructArray, isValidFontFamily, isWebGL2, isWechatMiniApp, itemFrag, itemFrame_frag as 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, passRenderLevel, pluginLoaderMap, randomInRange, registerPlugin, removeItem, rotateVec2, screenMeshVert, serialize, setBlendMode, setConfig, setDefaultTextureFactory, setMaskMode, setMaxSpriteMeshItemCount, setRayFromCamera, setSideMode, setSpriteMeshMaxItemCountByGPU, setUniformValue, sortByOrder, index$1 as spec, thresholdFrag, throwDestroyedError, trailVert, translatePoint, trianglesFromRect, unregisterPlugin, valIfUndefined, value, valueDefine, vecFill, vecMulCombine, version, vertexFormatType2GLType };
|