@galacean/effects-specification 1.0.1 → 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.
package/dist/fallback.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Name: @galacean/effects-specification
3
3
  * Description: Galacean Effects JSON Specification
4
4
  * Author: Ant Group CO., Ltd.
5
- * Version: v1.0.1
5
+ * Version: v2.0.0-alpha.0
6
6
  */
7
7
 
8
8
  'use strict';
@@ -519,6 +519,26 @@ var ShapeArcMode;
519
519
  ShapeArcMode[ShapeArcMode["UNIFORM_BURST"] = 3] = "UNIFORM_BURST";
520
520
  })(ShapeArcMode || (ShapeArcMode = {}));
521
521
 
522
+ var LightType;
523
+ (function (LightType) {
524
+ /**
525
+ * 点光源
526
+ */
527
+ LightType["point"] = "point";
528
+ /**
529
+ * 聚光灯
530
+ */
531
+ LightType["spot"] = "spot";
532
+ /**
533
+ * 方向光
534
+ */
535
+ LightType["directional"] = "directional";
536
+ /**
537
+ * 环境光
538
+ */
539
+ LightType["ambient"] = "ambient";
540
+ })(LightType || (LightType = {}));
541
+
522
542
  var ModelBoundingType;
523
543
  (function (ModelBoundingType) {
524
544
  ModelBoundingType[ModelBoundingType["box"] = 2] = "box";
@@ -670,6 +690,28 @@ var FontStyle;
670
690
  FontStyle["oblique"] = "oblique";
671
691
  })(FontStyle || (FontStyle = {}));
672
692
 
693
+ var DataType;
694
+ (function (DataType) {
695
+ DataType["VFXItemData"] = "VFXItemData";
696
+ DataType["EffectComponent"] = "EffectComponent";
697
+ DataType["Material"] = "Material";
698
+ DataType["Shader"] = "Shader";
699
+ DataType["SpriteComponent"] = "SpriteComponent";
700
+ DataType["ParticleSystem"] = "ParticleSystem";
701
+ DataType["InteractComponent"] = "InteractComponent";
702
+ DataType["CameraController"] = "CameraController";
703
+ DataType["Geometry"] = "Geometry";
704
+ DataType["Texture"] = "Texture";
705
+ DataType["TextComponent"] = "TextComponent";
706
+ // FIXME: 先完成ECS的场景转换,后面移到spec中
707
+ DataType["MeshComponent"] = "MeshComponent";
708
+ DataType["SkyboxComponent"] = "SkyboxComponent";
709
+ DataType["LightComponent"] = "LightComponent";
710
+ DataType["CameraComponent"] = "CameraComponent";
711
+ DataType["ModelPluginComponent"] = "ModelPluginComponent";
712
+ DataType["TreeComponent"] = "TreeComponent";
713
+ })(DataType || (DataType = {}));
714
+
673
715
  /******************************************************************************
674
716
  Copyright (c) Microsoft Corporation.
675
717