@dcl/playground-assets 7.24.4 → 7.24.5-28985208893.commit-8caf648

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
@@ -280,7 +280,9 @@ export declare const enum AvatarModifierType {
280
280
  /** AMT_HIDE_AVATARS - avatars are invisible */
281
281
  AMT_HIDE_AVATARS = 0,
282
282
  /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
283
- AMT_DISABLE_PASSPORTS = 1
283
+ AMT_DISABLE_PASSPORTS = 1,
284
+ /** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
285
+ AMT_HIDE_NAMETAGS = 2
284
286
  }
285
287
 
286
288
  /** @public */
@@ -4982,11 +4984,16 @@ export declare namespace PBAvatarShape {
4982
4984
  }
4983
4985
 
4984
4986
  /**
4985
- * The Billboard component makes an Entity automatically reorient its rotation to face the camera.
4987
+ * The Billboard component makes an Entity automatically reorient its rotation to face a target.
4988
+ * By default (when target_entity is unset), the billboard faces the main camera. When target_entity
4989
+ * is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
4990
+ * entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
4991
+ * or is deleted, the billboard reorientation is disabled until the target exists again.
4992
+ *
4986
4993
  * As the name indicates, it’s used to display in-game billboards and frequently combined with
4987
4994
  * the TextShape component.
4988
4995
  *
4989
- * Billboard only affects the Entity's rotation. Its scale and position are still determined by its
4996
+ * Billboard only affects the Entitys rotation. Its scale and position are still determined by its
4990
4997
  * Transform.
4991
4998
  */
4992
4999
  /**
@@ -4995,6 +5002,8 @@ export declare namespace PBAvatarShape {
4995
5002
  export declare interface PBBillboard {
4996
5003
  /** the BillboardMode (default: BM_ALL) */
4997
5004
  billboardMode?: BillboardMode | undefined;
5005
+ /** entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does */
5006
+ targetEntity?: number | undefined;
4998
5007
  }
4999
5008
 
5000
5009
  /**
package/dist/beta.d.ts CHANGED
@@ -280,7 +280,9 @@ export declare const enum AvatarModifierType {
280
280
  /** AMT_HIDE_AVATARS - avatars are invisible */
281
281
  AMT_HIDE_AVATARS = 0,
282
282
  /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
283
- AMT_DISABLE_PASSPORTS = 1
283
+ AMT_DISABLE_PASSPORTS = 1,
284
+ /** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
285
+ AMT_HIDE_NAMETAGS = 2
284
286
  }
285
287
 
286
288
  /** @public */
@@ -4954,11 +4956,16 @@ export declare namespace PBAvatarShape {
4954
4956
  }
4955
4957
 
4956
4958
  /**
4957
- * The Billboard component makes an Entity automatically reorient its rotation to face the camera.
4959
+ * The Billboard component makes an Entity automatically reorient its rotation to face a target.
4960
+ * By default (when target_entity is unset), the billboard faces the main camera. When target_entity
4961
+ * is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
4962
+ * entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
4963
+ * or is deleted, the billboard reorientation is disabled until the target exists again.
4964
+ *
4958
4965
  * As the name indicates, it’s used to display in-game billboards and frequently combined with
4959
4966
  * the TextShape component.
4960
4967
  *
4961
- * Billboard only affects the Entity's rotation. Its scale and position are still determined by its
4968
+ * Billboard only affects the Entitys rotation. Its scale and position are still determined by its
4962
4969
  * Transform.
4963
4970
  */
4964
4971
  /**
@@ -4967,6 +4974,8 @@ export declare namespace PBAvatarShape {
4967
4974
  export declare interface PBBillboard {
4968
4975
  /** the BillboardMode (default: BM_ALL) */
4969
4976
  billboardMode?: BillboardMode | undefined;
4977
+ /** entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does */
4978
+ targetEntity?: number | undefined;
4970
4979
  }
4971
4980
 
4972
4981
  /**
@@ -280,7 +280,9 @@ export declare const enum AvatarModifierType {
280
280
  /** AMT_HIDE_AVATARS - avatars are invisible */
281
281
  AMT_HIDE_AVATARS = 0,
282
282
  /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
283
- AMT_DISABLE_PASSPORTS = 1
283
+ AMT_DISABLE_PASSPORTS = 1,
284
+ /** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
285
+ AMT_HIDE_NAMETAGS = 2
284
286
  }
285
287
 
286
288
  /** @public */
@@ -4954,11 +4956,16 @@ export declare namespace PBAvatarShape {
4954
4956
  }
4955
4957
 
4956
4958
  /**
4957
- * The Billboard component makes an Entity automatically reorient its rotation to face the camera.
4959
+ * The Billboard component makes an Entity automatically reorient its rotation to face a target.
4960
+ * By default (when target_entity is unset), the billboard faces the main camera. When target_entity
4961
+ * is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
4962
+ * entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
4963
+ * or is deleted, the billboard reorientation is disabled until the target exists again.
4964
+ *
4958
4965
  * As the name indicates, it’s used to display in-game billboards and frequently combined with
4959
4966
  * the TextShape component.
4960
4967
  *
4961
- * Billboard only affects the Entity's rotation. Its scale and position are still determined by its
4968
+ * Billboard only affects the Entitys rotation. Its scale and position are still determined by its
4962
4969
  * Transform.
4963
4970
  */
4964
4971
  /**
@@ -4967,6 +4974,8 @@ export declare namespace PBAvatarShape {
4967
4974
  export declare interface PBBillboard {
4968
4975
  /** the BillboardMode (default: BM_ALL) */
4969
4976
  billboardMode?: BillboardMode | undefined;
4977
+ /** entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does */
4978
+ targetEntity?: number | undefined;
4970
4979
  }
4971
4980
 
4972
4981
  /**