@dcl/playground-assets 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.
package/dist/alpha.d.ts CHANGED
@@ -3067,6 +3067,8 @@ export declare interface PBMaterial_UnlitMaterial {
3067
3067
  alphaTest?: number | undefined;
3068
3068
  /** default = true */
3069
3069
  castShadows?: boolean | undefined;
3070
+ /** default = white; */
3071
+ albedoColor?: PBColor4 | undefined;
3070
3072
  }
3071
3073
 
3072
3074
  /**
package/dist/beta.d.ts CHANGED
@@ -3063,6 +3063,8 @@ export declare interface PBMaterial_UnlitMaterial {
3063
3063
  alphaTest?: number | undefined;
3064
3064
  /** default = true */
3065
3065
  castShadows?: boolean | undefined;
3066
+ /** default = white; */
3067
+ albedoColor?: PBColor4 | undefined;
3066
3068
  }
3067
3069
 
3068
3070
  /**
@@ -3063,6 +3063,8 @@ export declare interface PBMaterial_UnlitMaterial {
3063
3063
  alphaTest?: number | undefined;
3064
3064
  /** default = true */
3065
3065
  castShadows?: boolean | undefined;
3066
+ /** default = white; */
3067
+ albedoColor?: PBColor4 | undefined;
3066
3068
  }
3067
3069
 
3068
3070
  /**
package/dist/index.js CHANGED
@@ -10015,7 +10015,7 @@
10015
10015
  },
10016
10016
  };
10017
10017
  function createBasePBMaterial_UnlitMaterial() {
10018
- return { texture: undefined, alphaTest: undefined, castShadows: undefined };
10018
+ return { texture: undefined, alphaTest: undefined, castShadows: undefined, albedoColor: undefined };
10019
10019
  }
10020
10020
  /**
10021
10021
  * @public
@@ -10034,6 +10034,9 @@
10034
10034
  if (message.castShadows !== undefined) {
10035
10035
  writer.uint32(24).bool(message.castShadows);
10036
10036
  }
10037
+ if (message.albedoColor !== undefined) {
10038
+ Color4.encode(message.albedoColor, writer.uint32(34).fork()).ldelim();
10039
+ }
10037
10040
  return writer;
10038
10041
  },
10039
10042
  decode(input, length) {
@@ -10052,6 +10055,9 @@
10052
10055
  case 3:
10053
10056
  message.castShadows = reader.bool();
10054
10057
  break;
10058
+ case 4:
10059
+ message.albedoColor = Color4.decode(reader, reader.uint32());
10060
+ break;
10055
10061
  default:
10056
10062
  reader.skipType(tag & 7);
10057
10063
  break;