@dcl/playground-assets 7.6.8-12654658655.commit-392992d → 7.7.1-12716321081.commit-293fd08

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
@@ -4579,9 +4579,9 @@ export declare interface PBMaterial_PbrMaterial {
4579
4579
  castShadows?: boolean | undefined;
4580
4580
  /** @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead. */
4581
4581
  alphaTexture?: TextureUnion | undefined;
4582
- /** default = null */
4582
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4583
4583
  emissiveTexture?: TextureUnion | undefined;
4584
- /** default = null */
4584
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4585
4585
  bumpTexture?: TextureUnion | undefined;
4586
4586
  /** default = white; */
4587
4587
  albedoColor?: PBColor4 | undefined;
@@ -4623,7 +4623,7 @@ export declare interface PBMaterial_UnlitMaterial {
4623
4623
  castShadows?: boolean | undefined;
4624
4624
  /** default = white; */
4625
4625
  diffuseColor?: PBColor4 | undefined;
4626
- /** default = null */
4626
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4627
4627
  alphaTexture?: TextureUnion | undefined;
4628
4628
  }
4629
4629
 
@@ -5230,6 +5230,9 @@ export declare interface PBTween {
5230
5230
  } | {
5231
5231
  $case: "scale";
5232
5232
  scale: Scale;
5233
+ } | {
5234
+ $case: "textureMove";
5235
+ textureMove: TextureMove;
5233
5236
  } | undefined;
5234
5237
  /** default true (pause or running) */
5235
5238
  playing?: boolean | undefined;
@@ -7013,12 +7016,9 @@ export declare interface Texture {
7013
7016
  wrapMode?: TextureWrapMode | undefined;
7014
7017
  /** default = FilterMode.Bilinear */
7015
7018
  filterMode?: TextureFilterMode | undefined;
7016
- /**
7017
- * Final uv = offset + (input_uv * tiling)
7018
- * Offset for texture positioning.
7019
- */
7019
+ /** Final uv = offset + (input_uv * tiling) */
7020
7020
  offset?: PBVector2 | undefined;
7021
- /** Tiling multiplier for texture repetition. */
7021
+ /** default = Vector2.One; Tiling multiplier for texture repetition, only works for the texture property in PbrMaterial or UnlitMaterial. */
7022
7022
  tiling?: PBVector2 | undefined;
7023
7023
  }
7024
7024
 
@@ -7078,6 +7078,37 @@ export declare interface TextureHelper {
7078
7078
  */
7079
7079
  export declare type TextureMode = 'nine-slices' | 'center' | 'stretch';
7080
7080
 
7081
+ /**
7082
+ * This tween mode allows to move the texture of a PbrMaterial or UnlitMaterial.
7083
+ * You can also specify the movement type (offset or tiling)
7084
+ */
7085
+ /**
7086
+ * @public
7087
+ */
7088
+ export declare interface TextureMove {
7089
+ start: PBVector2 | undefined;
7090
+ end: PBVector2 | undefined;
7091
+ /** default = TextureMovementType.TMT_OFFSET */
7092
+ movementType?: TextureMovementType | undefined;
7093
+ }
7094
+
7095
+ /**
7096
+ * @public
7097
+ */
7098
+ export declare namespace TextureMove {
7099
+ export function encode(message: TextureMove, writer?: _m0.Writer): _m0.Writer;
7100
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
7101
+ }
7102
+
7103
+ /**
7104
+ * @public
7105
+ */
7106
+ export declare const enum TextureMovementType {
7107
+ /** TMT_OFFSET - default = TextureMovementType.TMT_OFFSET */
7108
+ TMT_OFFSET = 0,
7109
+ TMT_TILING = 1
7110
+ }
7111
+
7081
7112
  /**
7082
7113
  * @public
7083
7114
  */
@@ -7227,6 +7258,10 @@ export declare interface TweenHelper {
7227
7258
  * @returns a move mode tween
7228
7259
  */
7229
7260
  Scale: (scale: Scale) => PBTween['mode'];
7261
+ /**
7262
+ * @returns a texture move mode tween
7263
+ */
7264
+ TextureMove: (textureMove: TextureMove) => PBTween['mode'];
7230
7265
  }
7231
7266
 
7232
7267
  /**
package/dist/beta.d.ts CHANGED
@@ -4551,9 +4551,9 @@ export declare interface PBMaterial_PbrMaterial {
4551
4551
  castShadows?: boolean | undefined;
4552
4552
  /** @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead. */
4553
4553
  alphaTexture?: TextureUnion | undefined;
4554
- /** default = null */
4554
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4555
4555
  emissiveTexture?: TextureUnion | undefined;
4556
- /** default = null */
4556
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4557
4557
  bumpTexture?: TextureUnion | undefined;
4558
4558
  /** default = white; */
4559
4559
  albedoColor?: PBColor4 | undefined;
@@ -4595,7 +4595,7 @@ export declare interface PBMaterial_UnlitMaterial {
4595
4595
  castShadows?: boolean | undefined;
4596
4596
  /** default = white; */
4597
4597
  diffuseColor?: PBColor4 | undefined;
4598
- /** default = null */
4598
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4599
4599
  alphaTexture?: TextureUnion | undefined;
4600
4600
  }
4601
4601
 
@@ -5202,6 +5202,9 @@ export declare interface PBTween {
5202
5202
  } | {
5203
5203
  $case: "scale";
5204
5204
  scale: Scale;
5205
+ } | {
5206
+ $case: "textureMove";
5207
+ textureMove: TextureMove;
5205
5208
  } | undefined;
5206
5209
  /** default true (pause or running) */
5207
5210
  playing?: boolean | undefined;
@@ -6980,12 +6983,9 @@ export declare interface Texture {
6980
6983
  wrapMode?: TextureWrapMode | undefined;
6981
6984
  /** default = FilterMode.Bilinear */
6982
6985
  filterMode?: TextureFilterMode | undefined;
6983
- /**
6984
- * Final uv = offset + (input_uv * tiling)
6985
- * Offset for texture positioning.
6986
- */
6986
+ /** Final uv = offset + (input_uv * tiling) */
6987
6987
  offset?: PBVector2 | undefined;
6988
- /** Tiling multiplier for texture repetition. */
6988
+ /** default = Vector2.One; Tiling multiplier for texture repetition, only works for the texture property in PbrMaterial or UnlitMaterial. */
6989
6989
  tiling?: PBVector2 | undefined;
6990
6990
  }
6991
6991
 
@@ -7045,6 +7045,37 @@ export declare interface TextureHelper {
7045
7045
  */
7046
7046
  export declare type TextureMode = 'nine-slices' | 'center' | 'stretch';
7047
7047
 
7048
+ /**
7049
+ * This tween mode allows to move the texture of a PbrMaterial or UnlitMaterial.
7050
+ * You can also specify the movement type (offset or tiling)
7051
+ */
7052
+ /**
7053
+ * @public
7054
+ */
7055
+ export declare interface TextureMove {
7056
+ start: PBVector2 | undefined;
7057
+ end: PBVector2 | undefined;
7058
+ /** default = TextureMovementType.TMT_OFFSET */
7059
+ movementType?: TextureMovementType | undefined;
7060
+ }
7061
+
7062
+ /**
7063
+ * @public
7064
+ */
7065
+ export declare namespace TextureMove {
7066
+ export function encode(message: TextureMove, writer?: _m0.Writer): _m0.Writer;
7067
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
7068
+ }
7069
+
7070
+ /**
7071
+ * @public
7072
+ */
7073
+ export declare const enum TextureMovementType {
7074
+ /** TMT_OFFSET - default = TextureMovementType.TMT_OFFSET */
7075
+ TMT_OFFSET = 0,
7076
+ TMT_TILING = 1
7077
+ }
7078
+
7048
7079
  /**
7049
7080
  * @public
7050
7081
  */
@@ -7194,6 +7225,10 @@ export declare interface TweenHelper {
7194
7225
  * @returns a move mode tween
7195
7226
  */
7196
7227
  Scale: (scale: Scale) => PBTween['mode'];
7228
+ /**
7229
+ * @returns a texture move mode tween
7230
+ */
7231
+ TextureMove: (textureMove: TextureMove) => PBTween['mode'];
7197
7232
  }
7198
7233
 
7199
7234
  /**
@@ -4551,9 +4551,9 @@ export declare interface PBMaterial_PbrMaterial {
4551
4551
  castShadows?: boolean | undefined;
4552
4552
  /** @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead. */
4553
4553
  alphaTexture?: TextureUnion | undefined;
4554
- /** default = null */
4554
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4555
4555
  emissiveTexture?: TextureUnion | undefined;
4556
- /** default = null */
4556
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4557
4557
  bumpTexture?: TextureUnion | undefined;
4558
4558
  /** default = white; */
4559
4559
  albedoColor?: PBColor4 | undefined;
@@ -4595,7 +4595,7 @@ export declare interface PBMaterial_UnlitMaterial {
4595
4595
  castShadows?: boolean | undefined;
4596
4596
  /** default = white; */
4597
4597
  diffuseColor?: PBColor4 | undefined;
4598
- /** default = null */
4598
+ /** default = null. Note that tilling and offset properties are ignored for this texture. */
4599
4599
  alphaTexture?: TextureUnion | undefined;
4600
4600
  }
4601
4601
 
@@ -5202,6 +5202,9 @@ export declare interface PBTween {
5202
5202
  } | {
5203
5203
  $case: "scale";
5204
5204
  scale: Scale;
5205
+ } | {
5206
+ $case: "textureMove";
5207
+ textureMove: TextureMove;
5205
5208
  } | undefined;
5206
5209
  /** default true (pause or running) */
5207
5210
  playing?: boolean | undefined;
@@ -6980,12 +6983,9 @@ export declare interface Texture {
6980
6983
  wrapMode?: TextureWrapMode | undefined;
6981
6984
  /** default = FilterMode.Bilinear */
6982
6985
  filterMode?: TextureFilterMode | undefined;
6983
- /**
6984
- * Final uv = offset + (input_uv * tiling)
6985
- * Offset for texture positioning.
6986
- */
6986
+ /** Final uv = offset + (input_uv * tiling) */
6987
6987
  offset?: PBVector2 | undefined;
6988
- /** Tiling multiplier for texture repetition. */
6988
+ /** default = Vector2.One; Tiling multiplier for texture repetition, only works for the texture property in PbrMaterial or UnlitMaterial. */
6989
6989
  tiling?: PBVector2 | undefined;
6990
6990
  }
6991
6991
 
@@ -7045,6 +7045,37 @@ export declare interface TextureHelper {
7045
7045
  */
7046
7046
  export declare type TextureMode = 'nine-slices' | 'center' | 'stretch';
7047
7047
 
7048
+ /**
7049
+ * This tween mode allows to move the texture of a PbrMaterial or UnlitMaterial.
7050
+ * You can also specify the movement type (offset or tiling)
7051
+ */
7052
+ /**
7053
+ * @public
7054
+ */
7055
+ export declare interface TextureMove {
7056
+ start: PBVector2 | undefined;
7057
+ end: PBVector2 | undefined;
7058
+ /** default = TextureMovementType.TMT_OFFSET */
7059
+ movementType?: TextureMovementType | undefined;
7060
+ }
7061
+
7062
+ /**
7063
+ * @public
7064
+ */
7065
+ export declare namespace TextureMove {
7066
+ export function encode(message: TextureMove, writer?: _m0.Writer): _m0.Writer;
7067
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
7068
+ }
7069
+
7070
+ /**
7071
+ * @public
7072
+ */
7073
+ export declare const enum TextureMovementType {
7074
+ /** TMT_OFFSET - default = TextureMovementType.TMT_OFFSET */
7075
+ TMT_OFFSET = 0,
7076
+ TMT_TILING = 1
7077
+ }
7078
+
7048
7079
  /**
7049
7080
  * @public
7050
7081
  */
@@ -7194,6 +7225,10 @@ export declare interface TweenHelper {
7194
7225
  * @returns a move mode tween
7195
7226
  */
7196
7227
  Scale: (scale: Scale) => PBTween['mode'];
7228
+ /**
7229
+ * @returns a texture move mode tween
7230
+ */
7231
+ TextureMove: (textureMove: TextureMove) => PBTween['mode'];
7197
7232
  }
7198
7233
 
7199
7234
  /**