@galacean/effects-plugin-model 2.1.5 → 2.2.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.
package/dist/loader.mjs CHANGED
@@ -3,11 +3,11 @@
3
3
  * Description: Galacean Effects player model plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 飂兮
6
- * Version: v2.1.5
6
+ * Version: v2.2.0-alpha.0
7
7
  */
8
8
 
9
9
  import * as EFFECTS from '@galacean/effects';
10
- import { math, Transform, spec, PLAYER_OPTIONS_ENV_EDITOR, ShaderFactory, glContext, generateGUID, TextureSourceType, loadImage, Texture, Material, Mesh, Geometry, effectsClass, VFXItem, GLSLVersion, Behaviour, AbstractPlugin, registerPlugin, logger, RendererComponent, HitTestType, AnimationClip, RenderPass, TextureLoadAction, DestroyOptions, RenderPassDestroyAttachmentType, Renderer, getDefaultTextureFactory, Player, addItem, removeItem, glType2VertexFormatType, Downloader, getStandardJSON, isObject } from '@galacean/effects';
10
+ import { math, Transform, spec, PLAYER_OPTIONS_ENV_EDITOR, ShaderFactory, glContext, generateGUID, TextureSourceType, loadImage, Texture, Material, Mesh, Geometry, effectsClass, VFXItem, GLSLVersion, Behaviour, AbstractPlugin, registerPlugin, logger, RendererComponent, HitTestType, AnimationClip, RenderPass, TextureLoadAction, DestroyOptions, RenderPassDestroyAttachmentType, getDefaultTextureFactory, Player, Renderer, addItem, removeItem, glType2VertexFormatType, Downloader, getStandardJSON, isObject } from '@galacean/effects';
11
11
 
12
12
  var Vector2 = math.Vector2, Vector3 = math.Vector3, Vector4 = math.Vector4, Matrix3 = math.Matrix3, Matrix4 = math.Matrix4, Color = math.Color, Euler = math.Euler, EulerOrder = math.EulerOrder, Quaternion = math.Quaternion, Box3 = math.Box3; math.Sphere; math.Ray; var DEG2RAD = math.DEG2RAD;
13
13
 
@@ -225,12 +225,8 @@ function __generator(thisArg, body) {
225
225
  },
226
226
  trys: [],
227
227
  ops: []
228
- }, f, y, t, g;
229
- return g = {
230
- next: verb(0),
231
- "throw": verb(1),
232
- "return": verb(2)
233
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
228
+ }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
229
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
234
230
  return this;
235
231
  }), g;
236
232
  function verb(n) {
@@ -3948,7 +3944,7 @@ var CameraGestureHandlerImp = /*#__PURE__*/ function() {
3948
3944
  registerPlugin("model", ModelPlugin, VFXItem);
3949
3945
  /**
3950
3946
  * 插件版本号
3951
- */ var version = "2.1.5";
3947
+ */ var version = "2.2.0-alpha.0";
3952
3948
  logger.info("Plugin model version: " + version + ".");
3953
3949
  if (version !== EFFECTS.version) {
3954
3950
  console.error("注意:请统一 Model 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Model plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");