@dcl/playground-assets 7.3.16-6314277539.commit-99d8f00 → 7.3.16
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 +6 -8
- package/dist/beta.d.ts +6 -8
- package/dist/index.bundled.d.ts +6 -8
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +6 -8
- package/etc/playground-assets.api.json +9 -36
- package/etc/playground-assets.api.md +3 -4
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -16,29 +16,29 @@ export declare interface AnimatorComponentDefinitionExtended extends LastWriteWi
|
|
|
16
16
|
*
|
|
17
17
|
* Get a `mutable` version of animator clip
|
|
18
18
|
* @param entity - entity with Animator component
|
|
19
|
-
* @param
|
|
19
|
+
* @param clipName - the field `clip` of the component
|
|
20
20
|
* @returns the clip or fails if it isn't found
|
|
21
21
|
*/
|
|
22
|
-
getClip(entity: Entity,
|
|
22
|
+
getClip(entity: Entity, clipName: string): PBAnimationState;
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
25
|
*
|
|
26
26
|
* Get a `mutable` version of animator clip
|
|
27
27
|
* @param entity - entity with Animator component
|
|
28
|
-
* @param
|
|
28
|
+
* @param clipName - the field `clip` of the component
|
|
29
29
|
* @returns the clip or null if it isn't found
|
|
30
30
|
*/
|
|
31
|
-
getClipOrNull(entity: Entity,
|
|
31
|
+
getClipOrNull(entity: Entity, clipName: string): PBAnimationState | null;
|
|
32
32
|
/**
|
|
33
33
|
* @public
|
|
34
34
|
*
|
|
35
35
|
* Set playing=true the animation `$name`
|
|
36
36
|
* @param entity - entity with Animator component
|
|
37
|
-
* @param
|
|
37
|
+
* @param clipName - animation name
|
|
38
38
|
* @param resetCursor - the animation starts at 0 or continues from the current cursor position
|
|
39
39
|
* @returns true in successful playing, false if it doesn't find the Animator or clip
|
|
40
40
|
*/
|
|
41
|
-
playSingleAnimation(entity: Entity,
|
|
41
|
+
playSingleAnimation(entity: Entity, clipName: string, resetCursor?: boolean): boolean;
|
|
42
42
|
/**
|
|
43
43
|
* @public
|
|
44
44
|
*
|
|
@@ -3507,8 +3507,6 @@ export declare type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
|
3507
3507
|
* @public
|
|
3508
3508
|
*/
|
|
3509
3509
|
export declare interface PBAnimationState {
|
|
3510
|
-
/** the identifier for this animation, to use in scene code */
|
|
3511
|
-
name: string;
|
|
3512
3510
|
/** the animation path in the `files` array of the scene manifest */
|
|
3513
3511
|
clip: string;
|
|
3514
3512
|
/** whether this animation is currently playing */
|
package/dist/beta.d.ts
CHANGED
|
@@ -16,29 +16,29 @@ export declare interface AnimatorComponentDefinitionExtended extends LastWriteWi
|
|
|
16
16
|
*
|
|
17
17
|
* Get a `mutable` version of animator clip
|
|
18
18
|
* @param entity - entity with Animator component
|
|
19
|
-
* @param
|
|
19
|
+
* @param clipName - the field `clip` of the component
|
|
20
20
|
* @returns the clip or fails if it isn't found
|
|
21
21
|
*/
|
|
22
|
-
getClip(entity: Entity,
|
|
22
|
+
getClip(entity: Entity, clipName: string): PBAnimationState;
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
25
|
*
|
|
26
26
|
* Get a `mutable` version of animator clip
|
|
27
27
|
* @param entity - entity with Animator component
|
|
28
|
-
* @param
|
|
28
|
+
* @param clipName - the field `clip` of the component
|
|
29
29
|
* @returns the clip or null if it isn't found
|
|
30
30
|
*/
|
|
31
|
-
getClipOrNull(entity: Entity,
|
|
31
|
+
getClipOrNull(entity: Entity, clipName: string): PBAnimationState | null;
|
|
32
32
|
/**
|
|
33
33
|
* @public
|
|
34
34
|
*
|
|
35
35
|
* Set playing=true the animation `$name`
|
|
36
36
|
* @param entity - entity with Animator component
|
|
37
|
-
* @param
|
|
37
|
+
* @param clipName - animation name
|
|
38
38
|
* @param resetCursor - the animation starts at 0 or continues from the current cursor position
|
|
39
39
|
* @returns true in successful playing, false if it doesn't find the Animator or clip
|
|
40
40
|
*/
|
|
41
|
-
playSingleAnimation(entity: Entity,
|
|
41
|
+
playSingleAnimation(entity: Entity, clipName: string, resetCursor?: boolean): boolean;
|
|
42
42
|
/**
|
|
43
43
|
* @public
|
|
44
44
|
*
|
|
@@ -3488,8 +3488,6 @@ export declare type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
|
3488
3488
|
* @public
|
|
3489
3489
|
*/
|
|
3490
3490
|
export declare interface PBAnimationState {
|
|
3491
|
-
/** the identifier for this animation, to use in scene code */
|
|
3492
|
-
name: string;
|
|
3493
3491
|
/** the animation path in the `files` array of the scene manifest */
|
|
3494
3492
|
clip: string;
|
|
3495
3493
|
/** whether this animation is currently playing */
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -16,29 +16,29 @@ export declare interface AnimatorComponentDefinitionExtended extends LastWriteWi
|
|
|
16
16
|
*
|
|
17
17
|
* Get a `mutable` version of animator clip
|
|
18
18
|
* @param entity - entity with Animator component
|
|
19
|
-
* @param
|
|
19
|
+
* @param clipName - the field `clip` of the component
|
|
20
20
|
* @returns the clip or fails if it isn't found
|
|
21
21
|
*/
|
|
22
|
-
getClip(entity: Entity,
|
|
22
|
+
getClip(entity: Entity, clipName: string): PBAnimationState;
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
25
|
*
|
|
26
26
|
* Get a `mutable` version of animator clip
|
|
27
27
|
* @param entity - entity with Animator component
|
|
28
|
-
* @param
|
|
28
|
+
* @param clipName - the field `clip` of the component
|
|
29
29
|
* @returns the clip or null if it isn't found
|
|
30
30
|
*/
|
|
31
|
-
getClipOrNull(entity: Entity,
|
|
31
|
+
getClipOrNull(entity: Entity, clipName: string): PBAnimationState | null;
|
|
32
32
|
/**
|
|
33
33
|
* @public
|
|
34
34
|
*
|
|
35
35
|
* Set playing=true the animation `$name`
|
|
36
36
|
* @param entity - entity with Animator component
|
|
37
|
-
* @param
|
|
37
|
+
* @param clipName - animation name
|
|
38
38
|
* @param resetCursor - the animation starts at 0 or continues from the current cursor position
|
|
39
39
|
* @returns true in successful playing, false if it doesn't find the Animator or clip
|
|
40
40
|
*/
|
|
41
|
-
playSingleAnimation(entity: Entity,
|
|
41
|
+
playSingleAnimation(entity: Entity, clipName: string, resetCursor?: boolean): boolean;
|
|
42
42
|
/**
|
|
43
43
|
* @public
|
|
44
44
|
*
|
|
@@ -3488,8 +3488,6 @@ export declare type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
|
3488
3488
|
* @public
|
|
3489
3489
|
*/
|
|
3490
3490
|
export declare interface PBAnimationState {
|
|
3491
|
-
/** the identifier for this animation, to use in scene code */
|
|
3492
|
-
name: string;
|
|
3493
3491
|
/** the animation path in the `files` array of the scene manifest */
|
|
3494
3492
|
clip: string;
|
|
3495
3493
|
/** whether this animation is currently playing */
|