@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.mjs 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
  /*********************************************/
@@ -515,6 +515,26 @@ var ShapeArcMode;
515
515
  ShapeArcMode[ShapeArcMode["UNIFORM_BURST"] = 3] = "UNIFORM_BURST";
516
516
  })(ShapeArcMode || (ShapeArcMode = {}));
517
517
 
518
+ var LightType;
519
+ (function (LightType) {
520
+ /**
521
+ * 点光源
522
+ */
523
+ LightType["point"] = "point";
524
+ /**
525
+ * 聚光灯
526
+ */
527
+ LightType["spot"] = "spot";
528
+ /**
529
+ * 方向光
530
+ */
531
+ LightType["directional"] = "directional";
532
+ /**
533
+ * 环境光
534
+ */
535
+ LightType["ambient"] = "ambient";
536
+ })(LightType || (LightType = {}));
537
+
518
538
  var ModelBoundingType;
519
539
  (function (ModelBoundingType) {
520
540
  ModelBoundingType[ModelBoundingType["box"] = 2] = "box";
@@ -666,6 +686,28 @@ var FontStyle;
666
686
  FontStyle["oblique"] = "oblique";
667
687
  })(FontStyle || (FontStyle = {}));
668
688
 
689
+ var DataType;
690
+ (function (DataType) {
691
+ DataType["VFXItemData"] = "VFXItemData";
692
+ DataType["EffectComponent"] = "EffectComponent";
693
+ DataType["Material"] = "Material";
694
+ DataType["Shader"] = "Shader";
695
+ DataType["SpriteComponent"] = "SpriteComponent";
696
+ DataType["ParticleSystem"] = "ParticleSystem";
697
+ DataType["InteractComponent"] = "InteractComponent";
698
+ DataType["CameraController"] = "CameraController";
699
+ DataType["Geometry"] = "Geometry";
700
+ DataType["Texture"] = "Texture";
701
+ DataType["TextComponent"] = "TextComponent";
702
+ // FIXME: 先完成ECS的场景转换,后面移到spec中
703
+ DataType["MeshComponent"] = "MeshComponent";
704
+ DataType["SkyboxComponent"] = "SkyboxComponent";
705
+ DataType["LightComponent"] = "LightComponent";
706
+ DataType["CameraComponent"] = "CameraComponent";
707
+ DataType["ModelPluginComponent"] = "ModelPluginComponent";
708
+ DataType["TreeComponent"] = "TreeComponent";
709
+ })(DataType || (DataType = {}));
710
+
669
711
  /******************************************************************************
670
712
  Copyright (c) Microsoft Corporation.
671
713