@dcl/ecs 7.10.6 → 7.10.7-18405404598.commit-801e32c
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.
|
@@ -49,7 +49,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
49
49
|
* @param entity - entity to apply the tween to
|
|
50
50
|
* @param start - starting position vector
|
|
51
51
|
* @param end - ending position vector
|
|
52
|
-
* @param duration - duration of the tween in
|
|
52
|
+
* @param duration - duration of the tween in milliseconds
|
|
53
53
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
54
54
|
*/
|
|
55
55
|
setMove(entity: Entity, start: Vector3, end: Vector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -60,7 +60,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
60
60
|
* @param entity - entity to apply the tween to
|
|
61
61
|
* @param start - starting scale vector
|
|
62
62
|
* @param end - ending scale vector
|
|
63
|
-
* @param duration - duration of the tween in
|
|
63
|
+
* @param duration - duration of the tween in milliseconds
|
|
64
64
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
65
65
|
*/
|
|
66
66
|
setScale(entity: Entity, start: Vector3, end: Vector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -71,7 +71,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
71
71
|
* @param entity - entity to apply the tween to
|
|
72
72
|
* @param start - starting rotation quaternion
|
|
73
73
|
* @param end - ending rotation quaternion
|
|
74
|
-
* @param duration - duration of the tween in
|
|
74
|
+
* @param duration - duration of the tween in milliseconds
|
|
75
75
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
76
76
|
*/
|
|
77
77
|
setRotate(entity: Entity, start: Quaternion, end: Quaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -82,7 +82,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
82
82
|
* @param entity - entity to apply the tween to
|
|
83
83
|
* @param start - starting UV coordinates
|
|
84
84
|
* @param end - ending UV coordinates
|
|
85
|
-
* @param duration - duration of the tween in
|
|
85
|
+
* @param duration - duration of the tween in milliseconds
|
|
86
86
|
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
|
87
87
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
88
88
|
*/
|
|
@@ -94,7 +94,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
94
94
|
* @param entity - entity to apply the tween to
|
|
95
95
|
* @param direction - direction vector to move towards
|
|
96
96
|
* @param speed - speed of movement per second
|
|
97
|
-
* @param duration - duration of the tween in
|
|
97
|
+
* @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
|
|
98
98
|
*/
|
|
99
99
|
setMoveContinuous(entity: Entity, direction: Vector3, speed: number, duration?: number): void;
|
|
100
100
|
/**
|
|
@@ -104,7 +104,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
104
104
|
* @param entity - entity to apply the tween to
|
|
105
105
|
* @param direction - rotation direction quaternion
|
|
106
106
|
* @param speed - speed of rotation per second
|
|
107
|
-
* @param duration - duration of the tween in
|
|
107
|
+
* @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
|
|
108
108
|
*/
|
|
109
109
|
setRotateContinuous(entity: Entity, direction: Quaternion, speed: number, duration?: number): void;
|
|
110
110
|
/**
|
|
@@ -115,7 +115,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
115
115
|
* @param direction - direction vector for UV movement
|
|
116
116
|
* @param speed - speed of UV movement per second
|
|
117
117
|
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
|
118
|
-
* @param duration - duration of the tween in
|
|
118
|
+
* @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
|
|
119
119
|
*/
|
|
120
120
|
setTextureMoveContinuous(entity: Entity, direction: Vector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
|
|
121
121
|
}
|
|
@@ -49,7 +49,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
49
49
|
* @param entity - entity to apply the tween to
|
|
50
50
|
* @param start - starting position vector
|
|
51
51
|
* @param end - ending position vector
|
|
52
|
-
* @param duration - duration of the tween in
|
|
52
|
+
* @param duration - duration of the tween in milliseconds
|
|
53
53
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
54
54
|
*/
|
|
55
55
|
setMove(entity: Entity, start: Vector3, end: Vector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -60,7 +60,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
60
60
|
* @param entity - entity to apply the tween to
|
|
61
61
|
* @param start - starting scale vector
|
|
62
62
|
* @param end - ending scale vector
|
|
63
|
-
* @param duration - duration of the tween in
|
|
63
|
+
* @param duration - duration of the tween in milliseconds
|
|
64
64
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
65
65
|
*/
|
|
66
66
|
setScale(entity: Entity, start: Vector3, end: Vector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -71,7 +71,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
71
71
|
* @param entity - entity to apply the tween to
|
|
72
72
|
* @param start - starting rotation quaternion
|
|
73
73
|
* @param end - ending rotation quaternion
|
|
74
|
-
* @param duration - duration of the tween in
|
|
74
|
+
* @param duration - duration of the tween in milliseconds
|
|
75
75
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
76
76
|
*/
|
|
77
77
|
setRotate(entity: Entity, start: Quaternion, end: Quaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -82,7 +82,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
82
82
|
* @param entity - entity to apply the tween to
|
|
83
83
|
* @param start - starting UV coordinates
|
|
84
84
|
* @param end - ending UV coordinates
|
|
85
|
-
* @param duration - duration of the tween in
|
|
85
|
+
* @param duration - duration of the tween in milliseconds
|
|
86
86
|
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
|
87
87
|
* @param easingFunction - easing function to use (defaults to EF_LINEAR)
|
|
88
88
|
*/
|
|
@@ -94,7 +94,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
94
94
|
* @param entity - entity to apply the tween to
|
|
95
95
|
* @param direction - direction vector to move towards
|
|
96
96
|
* @param speed - speed of movement per second
|
|
97
|
-
* @param duration - duration of the tween in
|
|
97
|
+
* @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
|
|
98
98
|
*/
|
|
99
99
|
setMoveContinuous(entity: Entity, direction: Vector3, speed: number, duration?: number): void;
|
|
100
100
|
/**
|
|
@@ -104,7 +104,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
104
104
|
* @param entity - entity to apply the tween to
|
|
105
105
|
* @param direction - rotation direction quaternion
|
|
106
106
|
* @param speed - speed of rotation per second
|
|
107
|
-
* @param duration - duration of the tween in
|
|
107
|
+
* @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
|
|
108
108
|
*/
|
|
109
109
|
setRotateContinuous(entity: Entity, direction: Quaternion, speed: number, duration?: number): void;
|
|
110
110
|
/**
|
|
@@ -115,7 +115,7 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
115
115
|
* @param direction - direction vector for UV movement
|
|
116
116
|
* @param speed - speed of UV movement per second
|
|
117
117
|
* @param movementType - type of texture movement (defaults to TMT_OFFSET)
|
|
118
|
-
* @param duration - duration of the tween in
|
|
118
|
+
* @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
|
|
119
119
|
*/
|
|
120
120
|
setTextureMoveContinuous(entity: Entity, direction: Vector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
|
|
121
121
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/ecs",
|
|
3
3
|
"description": "Decentraland ECS",
|
|
4
|
-
"version": "7.10.
|
|
4
|
+
"version": "7.10.7-18405404598.commit-801e32c",
|
|
5
5
|
"author": "DCL",
|
|
6
6
|
"bugs": "https://github.com/decentraland/ecs/issues",
|
|
7
7
|
"files": [
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
},
|
|
34
34
|
"types": "./dist/index.d.ts",
|
|
35
35
|
"typings": "./dist/index.d.ts",
|
|
36
|
-
"commit": "
|
|
36
|
+
"commit": "801e32c3887cace091974cfe4abc6afb535c19f3"
|
|
37
37
|
}
|