connected-spaces-platform.web 5.5.1 → 5.5.2
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/Debug/ConnectedSpacesPlatform_WASM.js +2 -2
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +34 -22
- package/connectedspacesplatform.js +34 -22
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +37 -25
- package/package.json +1 -1
|
@@ -34054,7 +34054,9 @@ export namespace Systems {
|
|
|
34054
34054
|
export namespace Multiplayer {
|
|
34055
34055
|
/**
|
|
34056
34056
|
@ingroup AnimatedModelSpaceComponent
|
|
34057
|
-
* @description
|
|
34057
|
+
* @description Adds animated skeletal meshes to a SpaceEntity.
|
|
34058
|
+
* /// These are used for objects that need to move or act within the space, such as characters or animated props.
|
|
34059
|
+
* This component makes it possible to play, pause, or loop animations.
|
|
34058
34060
|
*/
|
|
34059
34061
|
export class AnimatedModelSpaceComponent
|
|
34060
34062
|
extends Multiplayer.ComponentBase
|
|
@@ -34537,7 +34539,9 @@ export namespace Multiplayer {
|
|
|
34537
34539
|
|
|
34538
34540
|
export namespace Multiplayer {
|
|
34539
34541
|
/**
|
|
34540
|
-
* @description
|
|
34542
|
+
* @description Adds spatial audio to a SpaceEntity.
|
|
34543
|
+
* /// This component creates immersive soundscapes by playing audio that reacts to the user's position in the space.
|
|
34544
|
+
* Whether it's background music, sound effects, or voiceovers, the AudioSpaceComponent makes sound more engaging by positioning it in 3D space.
|
|
34541
34545
|
*/
|
|
34542
34546
|
export class AudioSpaceComponent
|
|
34543
34547
|
extends Multiplayer.ComponentBase
|
|
@@ -35583,7 +35587,7 @@ export namespace Multiplayer {
|
|
|
35583
35587
|
export namespace Multiplayer {
|
|
35584
35588
|
/**
|
|
35585
35589
|
@ingroup ButtonSpaceComponent
|
|
35586
|
-
* @description
|
|
35590
|
+
* @description Add a clickable button to your space. Button click events can be responded to via scripts.
|
|
35587
35591
|
*/
|
|
35588
35592
|
export class ButtonSpaceComponent
|
|
35589
35593
|
extends Multiplayer.ComponentBase
|
|
@@ -36499,7 +36503,8 @@ export namespace Multiplayer {
|
|
|
36499
36503
|
export namespace Multiplayer {
|
|
36500
36504
|
/**
|
|
36501
36505
|
@ingroup CollisionSpaceComponent
|
|
36502
|
-
* @description
|
|
36506
|
+
* @description Add box, mesh, capsule and sphere colliders to objects in your Space.
|
|
36507
|
+
* /// These colliders can act as triggers, which can be used in conjunction with Scripts to drive behavior.
|
|
36503
36508
|
*/
|
|
36504
36509
|
export class CollisionSpaceComponent
|
|
36505
36510
|
extends Multiplayer.ComponentBase
|
|
@@ -36983,7 +36988,7 @@ export namespace Multiplayer {
|
|
|
36983
36988
|
export namespace Multiplayer {
|
|
36984
36989
|
/**
|
|
36985
36990
|
@ingroup ConversationSpaceComponent
|
|
36986
|
-
* @description
|
|
36991
|
+
* @description Add a conversation with comment thread to your space. These conversations have a spatial representation.
|
|
36987
36992
|
*/
|
|
36988
36993
|
export class ConversationSpaceComponent
|
|
36989
36994
|
extends Multiplayer.ComponentBase
|
|
@@ -37676,7 +37681,7 @@ export namespace Multiplayer {
|
|
|
37676
37681
|
export namespace Multiplayer {
|
|
37677
37682
|
/**
|
|
37678
37683
|
@ingroup CustomSpaceComponent
|
|
37679
|
-
* @description
|
|
37684
|
+
* @description Can be used to prototype new component types or to support the replication of custom data.
|
|
37680
37685
|
* NOTE: This class is used to replicate properties of primitive types of properties across multiple platforms.
|
|
37681
37686
|
* The supported primitive types are the ones supported by the "ReplicatedValue" class.
|
|
37682
37687
|
*/
|
|
@@ -37900,7 +37905,8 @@ export namespace Multiplayer {
|
|
|
37900
37905
|
|
|
37901
37906
|
export namespace Multiplayer {
|
|
37902
37907
|
/**
|
|
37903
|
-
* @description
|
|
37908
|
+
* @description Can be used alongside CSP's Stripe integration to add e-commerce to your space.
|
|
37909
|
+
* /// This component is used to represent physical objects that can be purchased as virtual items in the environment.
|
|
37904
37910
|
*/
|
|
37905
37911
|
export class ECommerceSpaceComponent
|
|
37906
37912
|
extends Multiplayer.ComponentBase
|
|
@@ -38030,8 +38036,7 @@ export namespace Multiplayer {
|
|
|
38030
38036
|
export namespace Multiplayer {
|
|
38031
38037
|
/**
|
|
38032
38038
|
@ingroup ExternalLinkSpaceComponent
|
|
38033
|
-
* @description
|
|
38034
|
-
* NOTE: This component can be used to handle external URLs that can be opened in game from a space.
|
|
38039
|
+
* @description Used to handle external URLs that can be opened from within a space.
|
|
38035
38040
|
*/
|
|
38036
38041
|
export class ExternalLinkSpaceComponent
|
|
38037
38042
|
extends Multiplayer.ComponentBase
|
|
@@ -38422,7 +38427,7 @@ export namespace Multiplayer {
|
|
|
38422
38427
|
export namespace Multiplayer {
|
|
38423
38428
|
/**
|
|
38424
38429
|
@ingroup FiducialMarkerSpaceComponent
|
|
38425
|
-
* @description
|
|
38430
|
+
* @description As an alternative to cloud-based anchors, fiducial markers can be used to anchor your space to a physical location.
|
|
38426
38431
|
*/
|
|
38427
38432
|
export class FiducialMarkerSpaceComponent
|
|
38428
38433
|
extends Multiplayer.ComponentBase
|
|
@@ -38786,7 +38791,7 @@ export namespace Multiplayer {
|
|
|
38786
38791
|
export namespace Multiplayer {
|
|
38787
38792
|
/**
|
|
38788
38793
|
@ingroup FogSpaceComponent
|
|
38789
|
-
* @description
|
|
38794
|
+
* @description Add a depth-based fog volume to your space.
|
|
38790
38795
|
*/
|
|
38791
38796
|
export class FogSpaceComponent
|
|
38792
38797
|
extends Multiplayer.ComponentBase
|
|
@@ -39346,7 +39351,7 @@ export namespace Multiplayer {
|
|
|
39346
39351
|
export namespace Multiplayer {
|
|
39347
39352
|
/**
|
|
39348
39353
|
@ingroup GaussianSplatSpaceComponent
|
|
39349
|
-
* @description
|
|
39354
|
+
* @description Add Gaussian Splats to your space.
|
|
39350
39355
|
* Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
|
|
39351
39356
|
* 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
39357
|
* 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 +40066,7 @@ export namespace Multiplayer {
|
|
|
40061
40066
|
export namespace Multiplayer {
|
|
40062
40067
|
/**
|
|
40063
40068
|
@ingroup ImageSpaceComponent
|
|
40064
|
-
* @description
|
|
40069
|
+
* @description Add an image to your space.
|
|
40065
40070
|
*/
|
|
40066
40071
|
export class ImageSpaceComponent
|
|
40067
40072
|
extends Multiplayer.ComponentBase
|
|
@@ -40513,7 +40518,8 @@ export namespace Multiplayer {
|
|
|
40513
40518
|
export namespace Multiplayer {
|
|
40514
40519
|
/**
|
|
40515
40520
|
@ingroup LightSpaceComponent
|
|
40516
|
-
* @description
|
|
40521
|
+
* @description Adds various types of lighting to a SpaceEntity, such as directional, point, or spotlights.
|
|
40522
|
+
* /// This component is essential for creating realistic lighting effects and controlling how objects are illuminated within the space.
|
|
40517
40523
|
*/
|
|
40518
40524
|
export class LightSpaceComponent
|
|
40519
40525
|
extends Multiplayer.ComponentBase
|
|
@@ -41303,7 +41309,7 @@ export namespace Multiplayer {
|
|
|
41303
41309
|
export namespace Multiplayer {
|
|
41304
41310
|
/**
|
|
41305
41311
|
@ingroup ReflectionSpaceComponent
|
|
41306
|
-
* @description
|
|
41312
|
+
* @description Add sphere and box reflection captures to your Space which can be used by objects with reflective materials.
|
|
41307
41313
|
*/
|
|
41308
41314
|
export class ReflectionSpaceComponent
|
|
41309
41315
|
extends Multiplayer.ComponentBase
|
|
@@ -41618,7 +41624,9 @@ export namespace Multiplayer {
|
|
|
41618
41624
|
export namespace Multiplayer {
|
|
41619
41625
|
/**
|
|
41620
41626
|
@ingroup ScriptSpaceComponent
|
|
41621
|
-
* @description
|
|
41627
|
+
* @description Enables custom behavior through scripting.
|
|
41628
|
+
* /// This component allows developers to author scripts that control how entities and components behave based on specific conditions or user actions.
|
|
41629
|
+
* Scripts can modify entity properties, trigger events, or respond to user inputs.
|
|
41622
41630
|
*/
|
|
41623
41631
|
export class ScriptSpaceComponent
|
|
41624
41632
|
extends Multiplayer.ComponentBase
|
|
@@ -41895,7 +41903,9 @@ export namespace Multiplayer {
|
|
|
41895
41903
|
export namespace Multiplayer {
|
|
41896
41904
|
/**
|
|
41897
41905
|
@ingroup StaticModelSpaceComponent
|
|
41898
|
-
* @description
|
|
41906
|
+
* @description Adds static 3D models to a SpaceEntity.
|
|
41907
|
+
* /// It displays non-animated objects, such as furniture, buildings, or decorative items within a space.
|
|
41908
|
+
* The static model defines the visual appearance but has no animations or dynamic behaviors.
|
|
41899
41909
|
*/
|
|
41900
41910
|
export class StaticModelSpaceComponent
|
|
41901
41911
|
extends Multiplayer.ComponentBase
|
|
@@ -42286,7 +42296,7 @@ export namespace Multiplayer {
|
|
|
42286
42296
|
export namespace Multiplayer {
|
|
42287
42297
|
/**
|
|
42288
42298
|
@ingroup TextSpaceComponent
|
|
42289
|
-
* @description
|
|
42299
|
+
* @description Add a spatial representation of text to your space.
|
|
42290
42300
|
*/
|
|
42291
42301
|
export class TextSpaceComponent
|
|
42292
42302
|
extends Multiplayer.ComponentBase
|
|
@@ -42764,7 +42774,9 @@ export namespace Multiplayer {
|
|
|
42764
42774
|
export namespace Multiplayer {
|
|
42765
42775
|
/**
|
|
42766
42776
|
@ingroup VideoPlayerSpaceComponent
|
|
42767
|
-
* @description
|
|
42777
|
+
* @description Enables the playback of video content within the space.
|
|
42778
|
+
* /// 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
|
|
42779
|
+
* environment.
|
|
42768
42780
|
*/
|
|
42769
42781
|
export class VideoPlayerSpaceComponent
|
|
42770
42782
|
extends Multiplayer.ComponentBase
|
|
@@ -50785,7 +50797,7 @@ export namespace Systems {
|
|
|
50785
50797
|
* @description Retrieves the Avatar Portrait information associated with the space
|
|
50786
50798
|
* If the user of the Avatar portrait associated with it the result callback will be successful, the HTTP res code will be ResponseNotFound
|
|
50787
50799
|
* and the Uri field inside the UriResult will be empty
|
|
50788
|
-
* @param inUserID - The id of the user we are
|
|
50800
|
+
* @param inUserID - The id of the user we are seeking to retrieve the portrait for
|
|
50789
50801
|
* @param callback - Callback when asynchronous task finishes
|
|
50790
50802
|
*/
|
|
50791
50803
|
|
|
@@ -50866,13 +50878,13 @@ export namespace Systems {
|
|
|
50866
50878
|
/**
|
|
50867
50879
|
* @description Sets the avatar type and identifier for a user.
|
|
50868
50880
|
* @param inType - The type of avatar (predefined, Ready Player Me, or custom).
|
|
50869
|
-
* @param inIdentifier - A
|
|
50881
|
+
* @param inIdentifier - A string used to identify or locate the avatar.
|
|
50870
50882
|
* @param callback - Callback to call when task finishes.
|
|
50871
50883
|
*/
|
|
50872
50884
|
|
|
50873
50885
|
async setAvatarInfo(
|
|
50874
50886
|
type: Systems.AvatarType,
|
|
50875
|
-
identifier:
|
|
50887
|
+
identifier: string,
|
|
50876
50888
|
): Promise<Systems.NullResult> {
|
|
50877
50889
|
var _resolve;
|
|
50878
50890
|
|
|
@@ -50897,10 +50909,10 @@ export namespace Systems {
|
|
|
50897
50909
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
50898
50910
|
|
|
50899
50911
|
Module.ccall(
|
|
50900
|
-
"
|
|
50912
|
+
"csp_systems_SettingsSystem_SetAvatarInfo_void_AvatarType_StringRC_NullResultCallback",
|
|
50901
50913
|
"void",
|
|
50902
|
-
["number", "number", "
|
|
50903
|
-
[this.pointer, type, identifier
|
|
50914
|
+
["number", "number", "string", "number", "number"],
|
|
50915
|
+
[this.pointer, type, identifier, _callbackPtr, 0],
|
|
50904
50916
|
);
|
|
50905
50917
|
|
|
50906
50918
|
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.
|
|
4
|
+
"version": "5.5.2+562",
|
|
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": {
|