@galacean/effects-specification 2.0.0-beta.0 → 2.0.1

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.
@@ -116,4 +116,8 @@ export interface ModelLightComponentData extends ComponentData {
116
116
  * @default 45度
117
117
  */
118
118
  outerConeAngle?: number;
119
+ /**
120
+ * 跟随相机
121
+ */
122
+ followCamera?: boolean;
119
123
  }
@@ -37,5 +37,9 @@ export declare enum RenderMode3D {
37
37
  /**
38
38
  * 自发光
39
39
  */
40
- emissive = "emissive"
40
+ emissive = "emissive",
41
+ /**
42
+ * 漫反射
43
+ */
44
+ diffuse = "diffuse"
41
45
  }
@@ -39,4 +39,8 @@ export var RenderMode3D;
39
39
  * 自发光
40
40
  */
41
41
  RenderMode3D["emissive"] = "emissive";
42
+ /**
43
+ * 漫反射
44
+ */
45
+ RenderMode3D["diffuse"] = "diffuse";
42
46
  })(RenderMode3D || (RenderMode3D = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-specification",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.1",
4
4
  "description": "Galacean Effects JSON Specification",
5
5
  "module": "./es/index.js",
6
6
  "main": "./es/index.js",