@dcl/playground-assets 7.10.5-18288734157.commit-e0bb8d6 → 7.10.6-18360040798.commit-8d5d559

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.10.5-18288734157.commit-e0bb8d6",
4
+ "version": "7.10.6-18360040798.commit-8d5d559",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "e0bb8d6f8ff5e9b69ba25bf8309a0b36a7f48d61"
38
+ "commit": "8d5d5591584187301bc3522264432b3e7d7ab38f"
39
39
  }
@@ -3666,6 +3666,22 @@ export declare namespace Move {
3666
3666
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Move;
3667
3667
  }
3668
3668
 
3669
+ /**
3670
+ * @public
3671
+ */
3672
+ export declare interface MoveContinuous {
3673
+ direction: PBVector3 | undefined;
3674
+ speed: number;
3675
+ }
3676
+
3677
+ /**
3678
+ * @public
3679
+ */
3680
+ export declare namespace MoveContinuous {
3681
+ export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
3682
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveContinuous;
3683
+ }
3684
+
3669
3685
  export declare const Name: NameComponent;
3670
3686
 
3671
3687
  export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
@@ -5562,6 +5578,15 @@ export declare interface PBTween {
5562
5578
  } | {
5563
5579
  $case: "textureMove";
5564
5580
  textureMove: TextureMove;
5581
+ } | {
5582
+ $case: "rotateContinuous";
5583
+ rotateContinuous: RotateContinuous;
5584
+ } | {
5585
+ $case: "moveContinuous";
5586
+ moveContinuous: MoveContinuous;
5587
+ } | {
5588
+ $case: "textureMoveContinuous";
5589
+ textureMoveContinuous: TextureMoveContinuous;
5565
5590
  } | undefined;
5566
5591
  /** default true (pause or running) */
5567
5592
  playing?: boolean | undefined;
@@ -7015,6 +7040,22 @@ export declare namespace Rotate {
7015
7040
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Rotate;
7016
7041
  }
7017
7042
 
7043
+ /**
7044
+ * @public
7045
+ */
7046
+ export declare interface RotateContinuous {
7047
+ direction: PBQuaternion | undefined;
7048
+ speed: number;
7049
+ }
7050
+
7051
+ /**
7052
+ * @public
7053
+ */
7054
+ export declare namespace RotateContinuous {
7055
+ export function encode(message: RotateContinuous, writer?: _m0.Writer): _m0.Writer;
7056
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): RotateContinuous;
7057
+ }
7058
+
7018
7059
  export declare type RPCSendableMessage = {
7019
7060
  jsonrpc: '2.0';
7020
7061
  id: number;
@@ -7518,6 +7559,24 @@ export declare namespace TextureMove {
7518
7559
  export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
7519
7560
  }
7520
7561
 
7562
+ /**
7563
+ * @public
7564
+ */
7565
+ export declare interface TextureMoveContinuous {
7566
+ direction: PBVector2 | undefined;
7567
+ speed: number;
7568
+ /** default = TextureMovementType.TMT_OFFSET */
7569
+ movementType?: TextureMovementType | undefined;
7570
+ }
7571
+
7572
+ /**
7573
+ * @public
7574
+ */
7575
+ export declare namespace TextureMoveContinuous {
7576
+ export function encode(message: TextureMoveContinuous, writer?: _m0.Writer): _m0.Writer;
7577
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMoveContinuous;
7578
+ }
7579
+
7521
7580
  /**
7522
7581
  * @public
7523
7582
  */
@@ -7771,6 +7830,82 @@ export declare interface TweenComponentDefinitionExtended extends LastWriteWinEl
7771
7830
  * Texture helpers with constructor
7772
7831
  */
7773
7832
  Mode: TweenHelper;
7833
+ /**
7834
+ * @public
7835
+ *
7836
+ * Creates or replaces a move tween component that animates an entity's position from start to end
7837
+ * @param entity - entity to apply the tween to
7838
+ * @param start - starting position vector
7839
+ * @param end - ending position vector
7840
+ * @param duration - duration of the tween in seconds
7841
+ * @param easingFunction - easing function to use (defaults to EF_LINEAR)
7842
+ */
7843
+ setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
7844
+ /**
7845
+ * @public
7846
+ *
7847
+ * Creates or replaces a scale tween component that animates an entity's scale from start to end
7848
+ * @param entity - entity to apply the tween to
7849
+ * @param start - starting scale vector
7850
+ * @param end - ending scale vector
7851
+ * @param duration - duration of the tween in seconds
7852
+ * @param easingFunction - easing function to use (defaults to EF_LINEAR)
7853
+ */
7854
+ setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
7855
+ /**
7856
+ * @public
7857
+ *
7858
+ * Creates or replaces a rotation tween component that animates an entity's rotation from start to end
7859
+ * @param entity - entity to apply the tween to
7860
+ * @param start - starting rotation quaternion
7861
+ * @param end - ending rotation quaternion
7862
+ * @param duration - duration of the tween in seconds
7863
+ * @param easingFunction - easing function to use (defaults to EF_LINEAR)
7864
+ */
7865
+ setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
7866
+ /**
7867
+ * @public
7868
+ *
7869
+ * Creates or replaces a texture move tween component that animates texture UV coordinates from start to end
7870
+ * @param entity - entity to apply the tween to
7871
+ * @param start - starting UV coordinates
7872
+ * @param end - ending UV coordinates
7873
+ * @param duration - duration of the tween in seconds
7874
+ * @param movementType - type of texture movement (defaults to TMT_OFFSET)
7875
+ * @param easingFunction - easing function to use (defaults to EF_LINEAR)
7876
+ */
7877
+ setTextureMove(entity: Entity, start: PBVector2, end: PBVector2, duration: number, movementType?: TextureMovementType, easingFunction?: EasingFunction): void;
7878
+ /**
7879
+ * @public
7880
+ *
7881
+ * Creates or replaces a continuous move tween component that moves an entity continuously in a direction
7882
+ * @param entity - entity to apply the tween to
7883
+ * @param direction - direction vector to move towards
7884
+ * @param speed - speed of movement per second
7885
+ * @param duration - duration of the tween in seconds (defaults to 0 for infinite)
7886
+ */
7887
+ setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
7888
+ /**
7889
+ * @public
7890
+ *
7891
+ * Creates or replaces a continuous rotation tween component that rotates an entity continuously
7892
+ * @param entity - entity to apply the tween to
7893
+ * @param direction - rotation direction quaternion
7894
+ * @param speed - speed of rotation per second
7895
+ * @param duration - duration of the tween in seconds (defaults to 0 for infinite)
7896
+ */
7897
+ setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
7898
+ /**
7899
+ * @public
7900
+ *
7901
+ * Creates or replaces a continuous texture move tween component that moves texture UV coordinates continuously
7902
+ * @param entity - entity to apply the tween to
7903
+ * @param direction - direction vector for UV movement
7904
+ * @param speed - speed of UV movement per second
7905
+ * @param movementType - type of texture movement (defaults to TMT_OFFSET)
7906
+ * @param duration - duration of the tween in seconds (defaults to 0 for infinite)
7907
+ */
7908
+ setTextureMoveContinuous(entity: Entity, direction: PBVector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
7774
7909
  }
7775
7910
 
7776
7911
  /**
@@ -7782,17 +7917,29 @@ export declare interface TweenHelper {
7782
7917
  */
7783
7918
  Move: (move: Move) => PBTween['mode'];
7784
7919
  /**
7785
- * @returns a move mode tween
7920
+ * @returns a move-continuous mode tween
7921
+ */
7922
+ MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
7923
+ /**
7924
+ * @returns a rotate mode tween
7786
7925
  */
7787
7926
  Rotate: (rotate: Rotate) => PBTween['mode'];
7788
7927
  /**
7789
- * @returns a move mode tween
7928
+ * @returns a rotate-continuous mode tween
7929
+ */
7930
+ RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
7931
+ /**
7932
+ * @returns a scale mode tween
7790
7933
  */
7791
7934
  Scale: (scale: Scale) => PBTween['mode'];
7792
7935
  /**
7793
- * @returns a texture move mode tween
7936
+ * @returns a texture-move mode tween
7794
7937
  */
7795
7938
  TextureMove: (textureMove: TextureMove) => PBTween['mode'];
7939
+ /**
7940
+ * @returns a texture-move-continuous mode tween
7941
+ */
7942
+ TextureMoveContinuous: (textureMove: TextureMoveContinuous) => PBTween['mode'];
7796
7943
  }
7797
7944
 
7798
7945
  /**
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.53.0"
8
+ "packageVersion": "7.53.1"
9
9
  }
10
10
  ]
11
11
  }