@dcl/ecs 7.0.6-3832166523.commit-2a75a6b → 7.0.6-3840920714.commit-b9858ac
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Color3 } from "../../common/colors.gen";
|
|
2
|
+
import { Color3, Color4 } from "../../common/colors.gen";
|
|
3
3
|
import { TextureUnion } from "../../common/texture.gen";
|
|
4
4
|
export declare const enum MaterialTransparencyMode {
|
|
5
5
|
MTM_OPAQUE = 0,
|
|
@@ -39,7 +39,7 @@ export interface PBMaterial_PbrMaterial {
|
|
|
39
39
|
/** default = null */
|
|
40
40
|
bumpTexture?: TextureUnion | undefined;
|
|
41
41
|
/** default = white; */
|
|
42
|
-
albedoColor?:
|
|
42
|
+
albedoColor?: Color4 | undefined;
|
|
43
43
|
/** default = black; */
|
|
44
44
|
emissiveColor?: Color3 | undefined;
|
|
45
45
|
/** default = white; */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Color3 } from "../../common/colors.gen";
|
|
3
|
+
import { Color3, Color4 } from "../../common/colors.gen";
|
|
4
4
|
import { TextureUnion } from "../../common/texture.gen";
|
|
5
5
|
const protobufPackage = "decentraland.sdk.components";
|
|
6
6
|
export var MaterialTransparencyMode;
|
|
@@ -135,7 +135,7 @@ export const PBMaterial_PbrMaterial = {
|
|
|
135
135
|
TextureUnion.encode(message.bumpTexture, writer.uint32(50).fork()).ldelim();
|
|
136
136
|
}
|
|
137
137
|
if (message.albedoColor !== undefined) {
|
|
138
|
-
|
|
138
|
+
Color4.encode(message.albedoColor, writer.uint32(58).fork()).ldelim();
|
|
139
139
|
}
|
|
140
140
|
if (message.emissiveColor !== undefined) {
|
|
141
141
|
Color3.encode(message.emissiveColor, writer.uint32(66).fork()).ldelim();
|
|
@@ -192,7 +192,7 @@ export const PBMaterial_PbrMaterial = {
|
|
|
192
192
|
message.bumpTexture = TextureUnion.decode(reader, reader.uint32());
|
|
193
193
|
break;
|
|
194
194
|
case 7:
|
|
195
|
-
message.albedoColor =
|
|
195
|
+
message.albedoColor = Color4.decode(reader, reader.uint32());
|
|
196
196
|
break;
|
|
197
197
|
case 8:
|
|
198
198
|
message.emissiveColor = Color3.decode(reader, reader.uint32());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/ecs",
|
|
3
|
-
"version": "7.0.6-
|
|
3
|
+
"version": "7.0.6-3840920714.commit-b9858ac",
|
|
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-
|
|
30
|
+
"@dcl/crdt": "7.0.6-3840920714.commit-b9858ac",
|
|
31
31
|
"@dcl/js-runtime": "file:../js-runtime",
|
|
32
|
-
"@dcl/protocol": "^1.0.0-
|
|
32
|
+
"@dcl/protocol": "^1.0.0-3840796783.commit-1c7238d"
|
|
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": "
|
|
44
|
+
"commit": "b9858ac2ae7bdf38f3e109699c69cf24e95d7508"
|
|
45
45
|
}
|