connected-spaces-platform.web 5.5.1 → 5.6.0

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.
@@ -27089,75 +27089,6 @@ export namespace Systems {
27089
27089
  return new Asset(_nPtr);
27090
27090
  }
27091
27091
 
27092
- /**
27093
- * @description Gets the third party packaged asset identifier of this asset
27094
- * @return Returns a string representing the party packaged asset identifier set for this asset.
27095
- */
27096
-
27097
- getThirdPartyPackagedAssetIdentifier(): string {
27098
- let _result = Module.ccall(
27099
- "csp_systems_Asset_GetThirdPartyPackagedAssetIdentifierC_StringRC",
27100
- "number",
27101
- ["number"],
27102
- [this.pointer],
27103
- );
27104
-
27105
- const _resultString = Module.UTF8ToString(_result);
27106
- free(_result);
27107
-
27108
- _result = _resultString;
27109
-
27110
- return _result;
27111
- }
27112
-
27113
- /**
27114
- * @description Sets the party packaged asset identifier for this asset
27115
- * @param inThirdPartyPackagedAssetIdentifier - The third party packaged asset identifier to set.
27116
- */
27117
-
27118
- setThirdPartyPackagedAssetIdentifier(
27119
- thirdPartyPackagedAssetIdentifier: string,
27120
- ): void {
27121
- Module.ccall(
27122
- "csp_systems_Asset_SetThirdPartyPackagedAssetIdentifier_void_StringRC",
27123
- "void",
27124
- ["number", "string"],
27125
- [this.pointer, thirdPartyPackagedAssetIdentifier],
27126
- );
27127
- }
27128
-
27129
- /**
27130
- * @description Gets the third party platform type of this asset
27131
- * @return Returns a string representing third party platform type set for this asset.
27132
- */
27133
-
27134
- getThirdPartyPlatformType(): Systems.EThirdPartyPlatform {
27135
- let _result = Module.ccall(
27136
- "csp_systems_Asset_GetThirdPartyPlatformTypeC_EThirdPartyPlatformC",
27137
- "number",
27138
- ["number"],
27139
- [this.pointer],
27140
- );
27141
-
27142
- return _result;
27143
- }
27144
-
27145
- /**
27146
- * @description Sets third party platform type for this asset
27147
- * @param inThirdPartyPlatformType - The third party platform type to set.
27148
- */
27149
-
27150
- setThirdPartyPlatformType(
27151
- thirdPartyPlatformType: Systems.EThirdPartyPlatform,
27152
- ): void {
27153
- Module.ccall(
27154
- "csp_systems_Asset_SetThirdPartyPlatformType_void_EThirdPartyPlatformC",
27155
- "void",
27156
- ["number", "number"],
27157
- [this.pointer, thirdPartyPlatformType],
27158
- );
27159
- }
27160
-
27161
27092
  delete(): void {
27162
27093
  if (this.ownsPointer && !this.disposed) {
27163
27094
  Module.ccall(
@@ -27458,6 +27389,46 @@ export namespace Systems {
27458
27389
  [this.pointer, value],
27459
27390
  );
27460
27391
  }
27392
+
27393
+ get thirdPartyPackagedAssetIdentifier(): string {
27394
+ let _result = Module.ccall(
27395
+ "csp_systems_Asset__Get_ThirdPartyPackagedAssetIdentifier",
27396
+ "string",
27397
+ ["number"],
27398
+ [this.pointer],
27399
+ );
27400
+
27401
+ return _result;
27402
+ }
27403
+
27404
+ set thirdPartyPackagedAssetIdentifier(value: string) {
27405
+ Module.ccall(
27406
+ "csp_systems_Asset__Set_ThirdPartyPackagedAssetIdentifier",
27407
+ "void",
27408
+ ["number", "string"],
27409
+ [this.pointer, value],
27410
+ );
27411
+ }
27412
+
27413
+ get thirdPartyPlatformType(): Systems.EThirdPartyPlatform {
27414
+ let _result = Module.ccall(
27415
+ "csp_systems_Asset__Get_ThirdPartyPlatformType",
27416
+ "number",
27417
+ ["number"],
27418
+ [this.pointer],
27419
+ );
27420
+
27421
+ return _result;
27422
+ }
27423
+
27424
+ set thirdPartyPlatformType(value: Systems.EThirdPartyPlatform) {
27425
+ Module.ccall(
27426
+ "csp_systems_Asset__Set_ThirdPartyPlatformType",
27427
+ "void",
27428
+ ["number", "number"],
27429
+ [this.pointer, value],
27430
+ );
27431
+ }
27461
27432
  }
27462
27433
  }
27463
27434
 
@@ -34054,7 +34025,9 @@ export namespace Systems {
34054
34025
  export namespace Multiplayer {
34055
34026
  /**
34056
34027
  @ingroup AnimatedModelSpaceComponent
34057
- * @description Data representation of an AnimatedModelSpaceComponent.
34028
+ * @description Adds animated skeletal meshes to a SpaceEntity.
34029
+ * /// These are used for objects that need to move or act within the space, such as characters or animated props.
34030
+ * This component makes it possible to play, pause, or loop animations.
34058
34031
  */
34059
34032
  export class AnimatedModelSpaceComponent
34060
34033
  extends Multiplayer.ComponentBase
@@ -34537,7 +34510,9 @@ export namespace Multiplayer {
34537
34510
 
34538
34511
  export namespace Multiplayer {
34539
34512
  /**
34540
- * @description Data representation of an AudioSpaceComponent.
34513
+ * @description Adds spatial audio to a SpaceEntity.
34514
+ * /// This component creates immersive soundscapes by playing audio that reacts to the user's position in the space.
34515
+ * Whether it's background music, sound effects, or voiceovers, the AudioSpaceComponent makes sound more engaging by positioning it in 3D space.
34541
34516
  */
34542
34517
  export class AudioSpaceComponent
34543
34518
  extends Multiplayer.ComponentBase
@@ -35583,7 +35558,7 @@ export namespace Multiplayer {
35583
35558
  export namespace Multiplayer {
35584
35559
  /**
35585
35560
  @ingroup ButtonSpaceComponent
35586
- * @description Data representation of an ButtonSpaceComponent.
35561
+ * @description Add a clickable button to your space. Button click events can be responded to via scripts.
35587
35562
  */
35588
35563
  export class ButtonSpaceComponent
35589
35564
  extends Multiplayer.ComponentBase
@@ -36499,7 +36474,8 @@ export namespace Multiplayer {
36499
36474
  export namespace Multiplayer {
36500
36475
  /**
36501
36476
  @ingroup CollisionSpaceComponent
36502
- * @description Data representation of an CollisionSpaceComponent.
36477
+ * @description Add box, mesh, capsule and sphere colliders to objects in your Space.
36478
+ * /// These colliders can act as triggers, which can be used in conjunction with Scripts to drive behavior.
36503
36479
  */
36504
36480
  export class CollisionSpaceComponent
36505
36481
  extends Multiplayer.ComponentBase
@@ -36983,7 +36959,7 @@ export namespace Multiplayer {
36983
36959
  export namespace Multiplayer {
36984
36960
  /**
36985
36961
  @ingroup ConversationSpaceComponent
36986
- * @description Data representation of an ConversationSpaceComponent.
36962
+ * @description Add a conversation with comment thread to your space. These conversations have a spatial representation.
36987
36963
  */
36988
36964
  export class ConversationSpaceComponent
36989
36965
  extends Multiplayer.ComponentBase
@@ -37676,7 +37652,7 @@ export namespace Multiplayer {
37676
37652
  export namespace Multiplayer {
37677
37653
  /**
37678
37654
  @ingroup CustomSpaceComponent
37679
- * @description Data representation of an CustomSpaceComponent.
37655
+ * @description Can be used to prototype new component types or to support the replication of custom data.
37680
37656
  * NOTE: This class is used to replicate properties of primitive types of properties across multiple platforms.
37681
37657
  * The supported primitive types are the ones supported by the "ReplicatedValue" class.
37682
37658
  */
@@ -37900,7 +37876,8 @@ export namespace Multiplayer {
37900
37876
 
37901
37877
  export namespace Multiplayer {
37902
37878
  /**
37903
- * @description Data representation of an ECommerceSpaceComponent.
37879
+ * @description Can be used alongside CSP's Stripe integration to add e-commerce to your space.
37880
+ * /// This component is used to represent physical objects that can be purchased as virtual items in the environment.
37904
37881
  */
37905
37882
  export class ECommerceSpaceComponent
37906
37883
  extends Multiplayer.ComponentBase
@@ -38030,8 +38007,7 @@ export namespace Multiplayer {
38030
38007
  export namespace Multiplayer {
38031
38008
  /**
38032
38009
  @ingroup ExternalLinkSpaceComponent
38033
- * @description Data representation of an ExternalLinkSpaceComponent.
38034
- * NOTE: This component can be used to handle external URLs that can be opened in game from a space.
38010
+ * @description Used to handle external URLs that can be opened from within a space.
38035
38011
  */
38036
38012
  export class ExternalLinkSpaceComponent
38037
38013
  extends Multiplayer.ComponentBase
@@ -38422,7 +38398,7 @@ export namespace Multiplayer {
38422
38398
  export namespace Multiplayer {
38423
38399
  /**
38424
38400
  @ingroup FiducialMarkerSpaceComponent
38425
- * @description Data representation of a FiducialMarkerSpaceComponent.
38401
+ * @description As an alternative to cloud-based anchors, fiducial markers can be used to anchor your space to a physical location.
38426
38402
  */
38427
38403
  export class FiducialMarkerSpaceComponent
38428
38404
  extends Multiplayer.ComponentBase
@@ -38786,7 +38762,7 @@ export namespace Multiplayer {
38786
38762
  export namespace Multiplayer {
38787
38763
  /**
38788
38764
  @ingroup FogSpaceComponent
38789
- * @description Data representation of an FogSpaceComponent.
38765
+ * @description Add a depth-based fog volume to your space.
38790
38766
  */
38791
38767
  export class FogSpaceComponent
38792
38768
  extends Multiplayer.ComponentBase
@@ -39346,7 +39322,7 @@ export namespace Multiplayer {
39346
39322
  export namespace Multiplayer {
39347
39323
  /**
39348
39324
  @ingroup GaussianSplatSpaceComponent
39349
- * @description Data representation of a GaussianSplatSpaceComponent.
39325
+ * @description Add Gaussian Splats to your space.
39350
39326
  * Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
39351
39327
  * points of view. Rather than representing the object as a mesh of triangles, which has a surface but nothing inside, it is instead represented as a
39352
39328
  * volume, comprising a point cloud of splats (like coloured dots), each of which has a position, colour (with alpha) and covariance (scale on 3
@@ -40061,7 +40037,7 @@ export namespace Multiplayer {
40061
40037
  export namespace Multiplayer {
40062
40038
  /**
40063
40039
  @ingroup ImageSpaceComponent
40064
- * @description Data representation of an ImageSpaceComponent.
40040
+ * @description Add an image to your space.
40065
40041
  */
40066
40042
  export class ImageSpaceComponent
40067
40043
  extends Multiplayer.ComponentBase
@@ -40513,7 +40489,8 @@ export namespace Multiplayer {
40513
40489
  export namespace Multiplayer {
40514
40490
  /**
40515
40491
  @ingroup LightSpaceComponent
40516
- * @description Data representation of an LightSpaceComponent.
40492
+ * @description Adds various types of lighting to a SpaceEntity, such as directional, point, or spotlights.
40493
+ * /// This component is essential for creating realistic lighting effects and controlling how objects are illuminated within the space.
40517
40494
  */
40518
40495
  export class LightSpaceComponent
40519
40496
  extends Multiplayer.ComponentBase
@@ -41303,7 +41280,7 @@ export namespace Multiplayer {
41303
41280
  export namespace Multiplayer {
41304
41281
  /**
41305
41282
  @ingroup ReflectionSpaceComponent
41306
- * @description Data representation of an ReflectionSpaceComponent.
41283
+ * @description Add sphere and box reflection captures to your Space which can be used by objects with reflective materials.
41307
41284
  */
41308
41285
  export class ReflectionSpaceComponent
41309
41286
  extends Multiplayer.ComponentBase
@@ -41618,7 +41595,9 @@ export namespace Multiplayer {
41618
41595
  export namespace Multiplayer {
41619
41596
  /**
41620
41597
  @ingroup ScriptSpaceComponent
41621
- * @description Data representation of a ScriptSpaceComponent.
41598
+ * @description Enables custom behavior through scripting.
41599
+ * /// This component allows developers to author scripts that control how entities and components behave based on specific conditions or user actions.
41600
+ * Scripts can modify entity properties, trigger events, or respond to user inputs.
41622
41601
  */
41623
41602
  export class ScriptSpaceComponent
41624
41603
  extends Multiplayer.ComponentBase
@@ -41895,7 +41874,9 @@ export namespace Multiplayer {
41895
41874
  export namespace Multiplayer {
41896
41875
  /**
41897
41876
  @ingroup StaticModelSpaceComponent
41898
- * @description Data representation of an StaticModelSpaceComponent.
41877
+ * @description Adds static 3D models to a SpaceEntity.
41878
+ * /// It displays non-animated objects, such as furniture, buildings, or decorative items within a space.
41879
+ * The static model defines the visual appearance but has no animations or dynamic behaviors.
41899
41880
  */
41900
41881
  export class StaticModelSpaceComponent
41901
41882
  extends Multiplayer.ComponentBase
@@ -42286,7 +42267,7 @@ export namespace Multiplayer {
42286
42267
  export namespace Multiplayer {
42287
42268
  /**
42288
42269
  @ingroup TextSpaceComponent
42289
- * @description Data representation of an TextSpaceComponent.
42270
+ * @description Add a spatial representation of text to your space.
42290
42271
  */
42291
42272
  export class TextSpaceComponent
42292
42273
  extends Multiplayer.ComponentBase
@@ -42764,7 +42745,9 @@ export namespace Multiplayer {
42764
42745
  export namespace Multiplayer {
42765
42746
  /**
42766
42747
  @ingroup VideoPlayerSpaceComponent
42767
- * @description Data representation of an VideoPlayerSpaceComponent.
42748
+ * @description Enables the playback of video content within the space.
42749
+ * /// You can use it to stream videos from a URL or play videos stored as assets in CSP, allowing users to watch videos directly within the virtual
42750
+ * environment.
42768
42751
  */
42769
42752
  export class VideoPlayerSpaceComponent
42770
42753
  extends Multiplayer.ComponentBase
@@ -50253,19 +50236,20 @@ export namespace Systems {
50253
50236
  return _result;
50254
50237
  }
50255
50238
 
50256
- getAvatarIdentifier(): Common.Variant {
50257
- var _ret = Module._malloc(8);
50258
-
50259
- Module.ccall(
50260
- "csp_systems_AvatarInfoResult_GetAvatarIdentifierC_VariantRC",
50261
- "void",
50262
- ["number", "number"],
50263
- [_ret, this.pointer],
50239
+ getAvatarIdentifier(): string {
50240
+ let _result = Module.ccall(
50241
+ "csp_systems_AvatarInfoResult_GetAvatarIdentifierC_StringRC",
50242
+ "number",
50243
+ ["number"],
50244
+ [this.pointer],
50264
50245
  );
50265
- var _nPtr = new Common.Variant(getNativePointer(_ret));
50266
- Module._free(_ret);
50267
50246
 
50268
- return _nPtr;
50247
+ const _resultString = Module.UTF8ToString(_result);
50248
+ free(_result);
50249
+
50250
+ _result = _resultString;
50251
+
50252
+ return _result;
50269
50253
  }
50270
50254
 
50271
50255
  delete(): void {
@@ -50785,7 +50769,7 @@ export namespace Systems {
50785
50769
  * @description Retrieves the Avatar Portrait information associated with the space
50786
50770
  * If the user of the Avatar portrait associated with it the result callback will be successful, the HTTP res code will be ResponseNotFound
50787
50771
  * and the Uri field inside the UriResult will be empty
50788
- * @param inUserID - The id of the user we are seelomg to retrieve the portrait for
50772
+ * @param inUserID - The id of the user we are seeking to retrieve the portrait for
50789
50773
  * @param callback - Callback when asynchronous task finishes
50790
50774
  */
50791
50775
 
@@ -50866,13 +50850,13 @@ export namespace Systems {
50866
50850
  /**
50867
50851
  * @description Sets the avatar type and identifier for a user.
50868
50852
  * @param inType - The type of avatar (predefined, Ready Player Me, or custom).
50869
- * @param inIdentifier - A value used to identify or locate the avatar. Differs depending on the value of InType.
50853
+ * @param inIdentifier - A string used to identify or locate the avatar.
50870
50854
  * @param callback - Callback to call when task finishes.
50871
50855
  */
50872
50856
 
50873
50857
  async setAvatarInfo(
50874
50858
  type: Systems.AvatarType,
50875
- identifier: Common.Variant,
50859
+ identifier: string,
50876
50860
  ): Promise<Systems.NullResult> {
50877
50861
  var _resolve;
50878
50862
 
@@ -50897,10 +50881,10 @@ export namespace Systems {
50897
50881
  _callbackPtr = Module.addFunction(_callback, "vii");
50898
50882
 
50899
50883
  Module.ccall(
50900
- "csp_systems_SettingsSystem_SetAvatarInfo_void_AvatarType_VariantRC_NullResultCallback",
50884
+ "csp_systems_SettingsSystem_SetAvatarInfo_void_AvatarType_StringRC_NullResultCallback",
50901
50885
  "void",
50902
- ["number", "number", "number", "number", "number"],
50903
- [this.pointer, type, identifier.pointer, _callbackPtr, 0],
50886
+ ["number", "number", "string", "number", "number"],
50887
+ [this.pointer, type, identifier, _callbackPtr, 0],
50904
50888
  );
50905
50889
 
50906
50890
  return _promise;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "connected-spaces-platform.web",
3
3
  "displayName": "connected-spaces-platform.web",
4
- "version": "5.5.1+560",
4
+ "version": "5.6.0+564",
5
5
  "description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {