@dcl/playground-assets 7.3.16-6314277539.commit-99d8f00 → 7.3.16-6315152803.commit-5f2bd57

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
@@ -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 name - the field `name` of the component
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, name: string): PBAnimationState;
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 name - the field `name` of the component
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, name: string): PBAnimationState | null;
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 name - animation name
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, name: string, resetCursor?: boolean): boolean;
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 name - the field `name` of the component
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, name: string): PBAnimationState;
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 name - the field `name` of the component
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, name: string): PBAnimationState | null;
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 name - animation name
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, name: string, resetCursor?: boolean): boolean;
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 */
@@ -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 name - the field `name` of the component
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, name: string): PBAnimationState;
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 name - the field `name` of the component
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, name: string): PBAnimationState | null;
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 name - animation name
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, name: string, resetCursor?: boolean): boolean;
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 */