@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.
- package/dist/alpha.d.ts +150 -3
- package/dist/beta.d.ts +150 -3
- package/dist/index.bundled.d.ts +150 -3
- package/dist/index.js +7 -7
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +150 -3
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +1795 -146
- package/etc/playground-assets.api.md +71 -0
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
@@ -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
|
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
|
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
|
/**
|
package/dist/beta.d.ts
CHANGED
@@ -3646,6 +3646,22 @@ export declare namespace Move {
|
|
3646
3646
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Move;
|
3647
3647
|
}
|
3648
3648
|
|
3649
|
+
/**
|
3650
|
+
* @public
|
3651
|
+
*/
|
3652
|
+
export declare interface MoveContinuous {
|
3653
|
+
direction: PBVector3 | undefined;
|
3654
|
+
speed: number;
|
3655
|
+
}
|
3656
|
+
|
3657
|
+
/**
|
3658
|
+
* @public
|
3659
|
+
*/
|
3660
|
+
export declare namespace MoveContinuous {
|
3661
|
+
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
3662
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveContinuous;
|
3663
|
+
}
|
3664
|
+
|
3649
3665
|
export declare const Name: NameComponent;
|
3650
3666
|
|
3651
3667
|
export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
|
@@ -5534,6 +5550,15 @@ export declare interface PBTween {
|
|
5534
5550
|
} | {
|
5535
5551
|
$case: "textureMove";
|
5536
5552
|
textureMove: TextureMove;
|
5553
|
+
} | {
|
5554
|
+
$case: "rotateContinuous";
|
5555
|
+
rotateContinuous: RotateContinuous;
|
5556
|
+
} | {
|
5557
|
+
$case: "moveContinuous";
|
5558
|
+
moveContinuous: MoveContinuous;
|
5559
|
+
} | {
|
5560
|
+
$case: "textureMoveContinuous";
|
5561
|
+
textureMoveContinuous: TextureMoveContinuous;
|
5537
5562
|
} | undefined;
|
5538
5563
|
/** default true (pause or running) */
|
5539
5564
|
playing?: boolean | undefined;
|
@@ -6987,6 +7012,22 @@ export declare namespace Rotate {
|
|
6987
7012
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Rotate;
|
6988
7013
|
}
|
6989
7014
|
|
7015
|
+
/**
|
7016
|
+
* @public
|
7017
|
+
*/
|
7018
|
+
export declare interface RotateContinuous {
|
7019
|
+
direction: PBQuaternion | undefined;
|
7020
|
+
speed: number;
|
7021
|
+
}
|
7022
|
+
|
7023
|
+
/**
|
7024
|
+
* @public
|
7025
|
+
*/
|
7026
|
+
export declare namespace RotateContinuous {
|
7027
|
+
export function encode(message: RotateContinuous, writer?: _m0.Writer): _m0.Writer;
|
7028
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): RotateContinuous;
|
7029
|
+
}
|
7030
|
+
|
6990
7031
|
export declare type RPCSendableMessage = {
|
6991
7032
|
jsonrpc: '2.0';
|
6992
7033
|
id: number;
|
@@ -7485,6 +7526,24 @@ export declare namespace TextureMove {
|
|
7485
7526
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
|
7486
7527
|
}
|
7487
7528
|
|
7529
|
+
/**
|
7530
|
+
* @public
|
7531
|
+
*/
|
7532
|
+
export declare interface TextureMoveContinuous {
|
7533
|
+
direction: PBVector2 | undefined;
|
7534
|
+
speed: number;
|
7535
|
+
/** default = TextureMovementType.TMT_OFFSET */
|
7536
|
+
movementType?: TextureMovementType | undefined;
|
7537
|
+
}
|
7538
|
+
|
7539
|
+
/**
|
7540
|
+
* @public
|
7541
|
+
*/
|
7542
|
+
export declare namespace TextureMoveContinuous {
|
7543
|
+
export function encode(message: TextureMoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
7544
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMoveContinuous;
|
7545
|
+
}
|
7546
|
+
|
7488
7547
|
/**
|
7489
7548
|
* @public
|
7490
7549
|
*/
|
@@ -7738,6 +7797,82 @@ export declare interface TweenComponentDefinitionExtended extends LastWriteWinEl
|
|
7738
7797
|
* Texture helpers with constructor
|
7739
7798
|
*/
|
7740
7799
|
Mode: TweenHelper;
|
7800
|
+
/**
|
7801
|
+
* @public
|
7802
|
+
*
|
7803
|
+
* Creates or replaces a move tween component that animates an entity's position from start to end
|
7804
|
+
* @param entity - entity to apply the tween to
|
7805
|
+
* @param start - starting position vector
|
7806
|
+
* @param end - ending position vector
|
7807
|
+
* @param duration - duration of the tween in seconds
|
7808
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7809
|
+
*/
|
7810
|
+
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
7811
|
+
/**
|
7812
|
+
* @public
|
7813
|
+
*
|
7814
|
+
* Creates or replaces a scale tween component that animates an entity's scale from start to end
|
7815
|
+
* @param entity - entity to apply the tween to
|
7816
|
+
* @param start - starting scale vector
|
7817
|
+
* @param end - ending scale vector
|
7818
|
+
* @param duration - duration of the tween in seconds
|
7819
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7820
|
+
*/
|
7821
|
+
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
7822
|
+
/**
|
7823
|
+
* @public
|
7824
|
+
*
|
7825
|
+
* Creates or replaces a rotation tween component that animates an entity's rotation from start to end
|
7826
|
+
* @param entity - entity to apply the tween to
|
7827
|
+
* @param start - starting rotation quaternion
|
7828
|
+
* @param end - ending rotation quaternion
|
7829
|
+
* @param duration - duration of the tween in seconds
|
7830
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7831
|
+
*/
|
7832
|
+
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
7833
|
+
/**
|
7834
|
+
* @public
|
7835
|
+
*
|
7836
|
+
* Creates or replaces a texture move tween component that animates texture UV coordinates from start to end
|
7837
|
+
* @param entity - entity to apply the tween to
|
7838
|
+
* @param start - starting UV coordinates
|
7839
|
+
* @param end - ending UV coordinates
|
7840
|
+
* @param duration - duration of the tween in seconds
|
7841
|
+
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
7842
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7843
|
+
*/
|
7844
|
+
setTextureMove(entity: Entity, start: PBVector2, end: PBVector2, duration: number, movementType?: TextureMovementType, easingFunction?: EasingFunction): void;
|
7845
|
+
/**
|
7846
|
+
* @public
|
7847
|
+
*
|
7848
|
+
* Creates or replaces a continuous move tween component that moves an entity continuously in a direction
|
7849
|
+
* @param entity - entity to apply the tween to
|
7850
|
+
* @param direction - direction vector to move towards
|
7851
|
+
* @param speed - speed of movement per second
|
7852
|
+
* @param duration - duration of the tween in seconds (defaults to 0 for infinite)
|
7853
|
+
*/
|
7854
|
+
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
7855
|
+
/**
|
7856
|
+
* @public
|
7857
|
+
*
|
7858
|
+
* Creates or replaces a continuous rotation tween component that rotates an entity continuously
|
7859
|
+
* @param entity - entity to apply the tween to
|
7860
|
+
* @param direction - rotation direction quaternion
|
7861
|
+
* @param speed - speed of rotation per second
|
7862
|
+
* @param duration - duration of the tween in seconds (defaults to 0 for infinite)
|
7863
|
+
*/
|
7864
|
+
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
7865
|
+
/**
|
7866
|
+
* @public
|
7867
|
+
*
|
7868
|
+
* Creates or replaces a continuous texture move tween component that moves texture UV coordinates continuously
|
7869
|
+
* @param entity - entity to apply the tween to
|
7870
|
+
* @param direction - direction vector for UV movement
|
7871
|
+
* @param speed - speed of UV movement per second
|
7872
|
+
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
7873
|
+
* @param duration - duration of the tween in seconds (defaults to 0 for infinite)
|
7874
|
+
*/
|
7875
|
+
setTextureMoveContinuous(entity: Entity, direction: PBVector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
|
7741
7876
|
}
|
7742
7877
|
|
7743
7878
|
/**
|
@@ -7749,17 +7884,29 @@ export declare interface TweenHelper {
|
|
7749
7884
|
*/
|
7750
7885
|
Move: (move: Move) => PBTween['mode'];
|
7751
7886
|
/**
|
7752
|
-
* @returns a move mode tween
|
7887
|
+
* @returns a move-continuous mode tween
|
7888
|
+
*/
|
7889
|
+
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
7890
|
+
/**
|
7891
|
+
* @returns a rotate mode tween
|
7753
7892
|
*/
|
7754
7893
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
7755
7894
|
/**
|
7756
|
-
* @returns a
|
7895
|
+
* @returns a rotate-continuous mode tween
|
7896
|
+
*/
|
7897
|
+
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
7898
|
+
/**
|
7899
|
+
* @returns a scale mode tween
|
7757
7900
|
*/
|
7758
7901
|
Scale: (scale: Scale) => PBTween['mode'];
|
7759
7902
|
/**
|
7760
|
-
* @returns a texture
|
7903
|
+
* @returns a texture-move mode tween
|
7761
7904
|
*/
|
7762
7905
|
TextureMove: (textureMove: TextureMove) => PBTween['mode'];
|
7906
|
+
/**
|
7907
|
+
* @returns a texture-move-continuous mode tween
|
7908
|
+
*/
|
7909
|
+
TextureMoveContinuous: (textureMove: TextureMoveContinuous) => PBTween['mode'];
|
7763
7910
|
}
|
7764
7911
|
|
7765
7912
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
@@ -3646,6 +3646,22 @@ export declare namespace Move {
|
|
3646
3646
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Move;
|
3647
3647
|
}
|
3648
3648
|
|
3649
|
+
/**
|
3650
|
+
* @public
|
3651
|
+
*/
|
3652
|
+
export declare interface MoveContinuous {
|
3653
|
+
direction: PBVector3 | undefined;
|
3654
|
+
speed: number;
|
3655
|
+
}
|
3656
|
+
|
3657
|
+
/**
|
3658
|
+
* @public
|
3659
|
+
*/
|
3660
|
+
export declare namespace MoveContinuous {
|
3661
|
+
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
3662
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveContinuous;
|
3663
|
+
}
|
3664
|
+
|
3649
3665
|
export declare const Name: NameComponent;
|
3650
3666
|
|
3651
3667
|
export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
|
@@ -5534,6 +5550,15 @@ export declare interface PBTween {
|
|
5534
5550
|
} | {
|
5535
5551
|
$case: "textureMove";
|
5536
5552
|
textureMove: TextureMove;
|
5553
|
+
} | {
|
5554
|
+
$case: "rotateContinuous";
|
5555
|
+
rotateContinuous: RotateContinuous;
|
5556
|
+
} | {
|
5557
|
+
$case: "moveContinuous";
|
5558
|
+
moveContinuous: MoveContinuous;
|
5559
|
+
} | {
|
5560
|
+
$case: "textureMoveContinuous";
|
5561
|
+
textureMoveContinuous: TextureMoveContinuous;
|
5537
5562
|
} | undefined;
|
5538
5563
|
/** default true (pause or running) */
|
5539
5564
|
playing?: boolean | undefined;
|
@@ -6987,6 +7012,22 @@ export declare namespace Rotate {
|
|
6987
7012
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Rotate;
|
6988
7013
|
}
|
6989
7014
|
|
7015
|
+
/**
|
7016
|
+
* @public
|
7017
|
+
*/
|
7018
|
+
export declare interface RotateContinuous {
|
7019
|
+
direction: PBQuaternion | undefined;
|
7020
|
+
speed: number;
|
7021
|
+
}
|
7022
|
+
|
7023
|
+
/**
|
7024
|
+
* @public
|
7025
|
+
*/
|
7026
|
+
export declare namespace RotateContinuous {
|
7027
|
+
export function encode(message: RotateContinuous, writer?: _m0.Writer): _m0.Writer;
|
7028
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): RotateContinuous;
|
7029
|
+
}
|
7030
|
+
|
6990
7031
|
export declare type RPCSendableMessage = {
|
6991
7032
|
jsonrpc: '2.0';
|
6992
7033
|
id: number;
|
@@ -7485,6 +7526,24 @@ export declare namespace TextureMove {
|
|
7485
7526
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
|
7486
7527
|
}
|
7487
7528
|
|
7529
|
+
/**
|
7530
|
+
* @public
|
7531
|
+
*/
|
7532
|
+
export declare interface TextureMoveContinuous {
|
7533
|
+
direction: PBVector2 | undefined;
|
7534
|
+
speed: number;
|
7535
|
+
/** default = TextureMovementType.TMT_OFFSET */
|
7536
|
+
movementType?: TextureMovementType | undefined;
|
7537
|
+
}
|
7538
|
+
|
7539
|
+
/**
|
7540
|
+
* @public
|
7541
|
+
*/
|
7542
|
+
export declare namespace TextureMoveContinuous {
|
7543
|
+
export function encode(message: TextureMoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
7544
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMoveContinuous;
|
7545
|
+
}
|
7546
|
+
|
7488
7547
|
/**
|
7489
7548
|
* @public
|
7490
7549
|
*/
|
@@ -7738,6 +7797,82 @@ export declare interface TweenComponentDefinitionExtended extends LastWriteWinEl
|
|
7738
7797
|
* Texture helpers with constructor
|
7739
7798
|
*/
|
7740
7799
|
Mode: TweenHelper;
|
7800
|
+
/**
|
7801
|
+
* @public
|
7802
|
+
*
|
7803
|
+
* Creates or replaces a move tween component that animates an entity's position from start to end
|
7804
|
+
* @param entity - entity to apply the tween to
|
7805
|
+
* @param start - starting position vector
|
7806
|
+
* @param end - ending position vector
|
7807
|
+
* @param duration - duration of the tween in seconds
|
7808
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7809
|
+
*/
|
7810
|
+
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
7811
|
+
/**
|
7812
|
+
* @public
|
7813
|
+
*
|
7814
|
+
* Creates or replaces a scale tween component that animates an entity's scale from start to end
|
7815
|
+
* @param entity - entity to apply the tween to
|
7816
|
+
* @param start - starting scale vector
|
7817
|
+
* @param end - ending scale vector
|
7818
|
+
* @param duration - duration of the tween in seconds
|
7819
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7820
|
+
*/
|
7821
|
+
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
7822
|
+
/**
|
7823
|
+
* @public
|
7824
|
+
*
|
7825
|
+
* Creates or replaces a rotation tween component that animates an entity's rotation from start to end
|
7826
|
+
* @param entity - entity to apply the tween to
|
7827
|
+
* @param start - starting rotation quaternion
|
7828
|
+
* @param end - ending rotation quaternion
|
7829
|
+
* @param duration - duration of the tween in seconds
|
7830
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7831
|
+
*/
|
7832
|
+
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
7833
|
+
/**
|
7834
|
+
* @public
|
7835
|
+
*
|
7836
|
+
* Creates or replaces a texture move tween component that animates texture UV coordinates from start to end
|
7837
|
+
* @param entity - entity to apply the tween to
|
7838
|
+
* @param start - starting UV coordinates
|
7839
|
+
* @param end - ending UV coordinates
|
7840
|
+
* @param duration - duration of the tween in seconds
|
7841
|
+
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
7842
|
+
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
7843
|
+
*/
|
7844
|
+
setTextureMove(entity: Entity, start: PBVector2, end: PBVector2, duration: number, movementType?: TextureMovementType, easingFunction?: EasingFunction): void;
|
7845
|
+
/**
|
7846
|
+
* @public
|
7847
|
+
*
|
7848
|
+
* Creates or replaces a continuous move tween component that moves an entity continuously in a direction
|
7849
|
+
* @param entity - entity to apply the tween to
|
7850
|
+
* @param direction - direction vector to move towards
|
7851
|
+
* @param speed - speed of movement per second
|
7852
|
+
* @param duration - duration of the tween in seconds (defaults to 0 for infinite)
|
7853
|
+
*/
|
7854
|
+
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
7855
|
+
/**
|
7856
|
+
* @public
|
7857
|
+
*
|
7858
|
+
* Creates or replaces a continuous rotation tween component that rotates an entity continuously
|
7859
|
+
* @param entity - entity to apply the tween to
|
7860
|
+
* @param direction - rotation direction quaternion
|
7861
|
+
* @param speed - speed of rotation per second
|
7862
|
+
* @param duration - duration of the tween in seconds (defaults to 0 for infinite)
|
7863
|
+
*/
|
7864
|
+
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
7865
|
+
/**
|
7866
|
+
* @public
|
7867
|
+
*
|
7868
|
+
* Creates or replaces a continuous texture move tween component that moves texture UV coordinates continuously
|
7869
|
+
* @param entity - entity to apply the tween to
|
7870
|
+
* @param direction - direction vector for UV movement
|
7871
|
+
* @param speed - speed of UV movement per second
|
7872
|
+
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
7873
|
+
* @param duration - duration of the tween in seconds (defaults to 0 for infinite)
|
7874
|
+
*/
|
7875
|
+
setTextureMoveContinuous(entity: Entity, direction: PBVector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
|
7741
7876
|
}
|
7742
7877
|
|
7743
7878
|
/**
|
@@ -7749,17 +7884,29 @@ export declare interface TweenHelper {
|
|
7749
7884
|
*/
|
7750
7885
|
Move: (move: Move) => PBTween['mode'];
|
7751
7886
|
/**
|
7752
|
-
* @returns a move mode tween
|
7887
|
+
* @returns a move-continuous mode tween
|
7888
|
+
*/
|
7889
|
+
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
7890
|
+
/**
|
7891
|
+
* @returns a rotate mode tween
|
7753
7892
|
*/
|
7754
7893
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
7755
7894
|
/**
|
7756
|
-
* @returns a
|
7895
|
+
* @returns a rotate-continuous mode tween
|
7896
|
+
*/
|
7897
|
+
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
7898
|
+
/**
|
7899
|
+
* @returns a scale mode tween
|
7757
7900
|
*/
|
7758
7901
|
Scale: (scale: Scale) => PBTween['mode'];
|
7759
7902
|
/**
|
7760
|
-
* @returns a texture
|
7903
|
+
* @returns a texture-move mode tween
|
7761
7904
|
*/
|
7762
7905
|
TextureMove: (textureMove: TextureMove) => PBTween['mode'];
|
7906
|
+
/**
|
7907
|
+
* @returns a texture-move-continuous mode tween
|
7908
|
+
*/
|
7909
|
+
TextureMoveContinuous: (textureMove: TextureMoveContinuous) => PBTween['mode'];
|
7763
7910
|
}
|
7764
7911
|
|
7765
7912
|
/**
|