@dcl/ecs 7.0.6-4078495586.commit-3336b11 → 7.0.6-4086599005.commit-398ef60

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.
@@ -32,6 +32,8 @@ export interface PBMaterial_UnlitMaterial {
32
32
  alphaTest?: number | undefined;
33
33
  /** default = true */
34
34
  castShadows?: boolean | undefined;
35
+ /** default = white; */
36
+ albedoColor?: Color4 | undefined;
35
37
  }
36
38
  /**
37
39
  * @public
@@ -55,7 +55,7 @@ export const PBMaterial = {
55
55
  },
56
56
  };
57
57
  function createBasePBMaterial_UnlitMaterial() {
58
- return { texture: undefined, alphaTest: undefined, castShadows: undefined };
58
+ return { texture: undefined, alphaTest: undefined, castShadows: undefined, albedoColor: undefined };
59
59
  }
60
60
  /**
61
61
  * @public
@@ -74,6 +74,9 @@ export const PBMaterial_UnlitMaterial = {
74
74
  if (message.castShadows !== undefined) {
75
75
  writer.uint32(24).bool(message.castShadows);
76
76
  }
77
+ if (message.albedoColor !== undefined) {
78
+ Color4.encode(message.albedoColor, writer.uint32(34).fork()).ldelim();
79
+ }
77
80
  return writer;
78
81
  },
79
82
  decode(input, length) {
@@ -92,6 +95,9 @@ export const PBMaterial_UnlitMaterial = {
92
95
  case 3:
93
96
  message.castShadows = reader.bool();
94
97
  break;
98
+ case 4:
99
+ message.albedoColor = Color4.decode(reader, reader.uint32());
100
+ break;
95
101
  default:
96
102
  reader.skipType(tag & 7);
97
103
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
- "version": "7.0.6-4078495586.commit-3336b11",
3
+ "version": "7.0.6-4086599005.commit-398ef60",
4
4
  "description": "Decentraland ECS",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -27,9 +27,9 @@
27
27
  "ts-proto": "^1.112.0"
28
28
  },
29
29
  "dependencies": {
30
- "@dcl/crdt": "7.0.6-4078495586.commit-3336b11",
30
+ "@dcl/crdt": "7.0.6-4086599005.commit-398ef60",
31
31
  "@dcl/js-runtime": "file:../js-runtime",
32
- "@dcl/protocol": "1.0.0-4075042272.commit-3585af9"
32
+ "@dcl/protocol": "1.0.0-4085424786.commit-91ebbbd"
33
33
  },
34
34
  "files": [
35
35
  "dist",
@@ -41,5 +41,5 @@
41
41
  "displayName": "ECS",
42
42
  "tsconfig": "./tsconfig.json"
43
43
  },
44
- "commit": "3336b1111c1327d749544df791af1a50df0c18c6"
44
+ "commit": "398ef606609400a9813d794dcd46580c6d08bc02"
45
45
  }