connected-spaces-platform.web 5.5.0 → 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 +39 -25
- package/connectedspacesplatform.js +39 -25
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +48 -34
- package/package.json +1 -1
|
@@ -3101,17 +3101,19 @@ export namespace Multiplayer {
|
|
|
3101
3101
|
export namespace Multiplayer {
|
|
3102
3102
|
/**
|
|
3103
3103
|
* @description Enum representing the type of a replicated value.
|
|
3104
|
+
* These values are serialized and stored as integers.
|
|
3105
|
+
* When adding new values, always add to the end
|
|
3104
3106
|
*/
|
|
3105
3107
|
export enum ReplicatedValueType {
|
|
3106
|
-
InvalidType,
|
|
3107
|
-
Boolean,
|
|
3108
|
-
Integer,
|
|
3109
|
-
Float,
|
|
3110
|
-
String,
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
Map,
|
|
3108
|
+
InvalidType = 0,
|
|
3109
|
+
Boolean = 1,
|
|
3110
|
+
Integer = 2,
|
|
3111
|
+
Float = 3,
|
|
3112
|
+
String = 4,
|
|
3113
|
+
Vector3 = 5,
|
|
3114
|
+
Vector4 = 6,
|
|
3115
|
+
Vector2 = 7,
|
|
3116
|
+
Map = 8,
|
|
3115
3117
|
}
|
|
3116
3118
|
}
|
|
3117
3119
|
|
|
@@ -34052,7 +34054,9 @@ export namespace Systems {
|
|
|
34052
34054
|
export namespace Multiplayer {
|
|
34053
34055
|
/**
|
|
34054
34056
|
@ingroup AnimatedModelSpaceComponent
|
|
34055
|
-
* @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.
|
|
34056
34060
|
*/
|
|
34057
34061
|
export class AnimatedModelSpaceComponent
|
|
34058
34062
|
extends Multiplayer.ComponentBase
|
|
@@ -34535,7 +34539,9 @@ export namespace Multiplayer {
|
|
|
34535
34539
|
|
|
34536
34540
|
export namespace Multiplayer {
|
|
34537
34541
|
/**
|
|
34538
|
-
* @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.
|
|
34539
34545
|
*/
|
|
34540
34546
|
export class AudioSpaceComponent
|
|
34541
34547
|
extends Multiplayer.ComponentBase
|
|
@@ -35581,7 +35587,7 @@ export namespace Multiplayer {
|
|
|
35581
35587
|
export namespace Multiplayer {
|
|
35582
35588
|
/**
|
|
35583
35589
|
@ingroup ButtonSpaceComponent
|
|
35584
|
-
* @description
|
|
35590
|
+
* @description Add a clickable button to your space. Button click events can be responded to via scripts.
|
|
35585
35591
|
*/
|
|
35586
35592
|
export class ButtonSpaceComponent
|
|
35587
35593
|
extends Multiplayer.ComponentBase
|
|
@@ -36497,7 +36503,8 @@ export namespace Multiplayer {
|
|
|
36497
36503
|
export namespace Multiplayer {
|
|
36498
36504
|
/**
|
|
36499
36505
|
@ingroup CollisionSpaceComponent
|
|
36500
|
-
* @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.
|
|
36501
36508
|
*/
|
|
36502
36509
|
export class CollisionSpaceComponent
|
|
36503
36510
|
extends Multiplayer.ComponentBase
|
|
@@ -36981,7 +36988,7 @@ export namespace Multiplayer {
|
|
|
36981
36988
|
export namespace Multiplayer {
|
|
36982
36989
|
/**
|
|
36983
36990
|
@ingroup ConversationSpaceComponent
|
|
36984
|
-
* @description
|
|
36991
|
+
* @description Add a conversation with comment thread to your space. These conversations have a spatial representation.
|
|
36985
36992
|
*/
|
|
36986
36993
|
export class ConversationSpaceComponent
|
|
36987
36994
|
extends Multiplayer.ComponentBase
|
|
@@ -37674,7 +37681,7 @@ export namespace Multiplayer {
|
|
|
37674
37681
|
export namespace Multiplayer {
|
|
37675
37682
|
/**
|
|
37676
37683
|
@ingroup CustomSpaceComponent
|
|
37677
|
-
* @description
|
|
37684
|
+
* @description Can be used to prototype new component types or to support the replication of custom data.
|
|
37678
37685
|
* NOTE: This class is used to replicate properties of primitive types of properties across multiple platforms.
|
|
37679
37686
|
* The supported primitive types are the ones supported by the "ReplicatedValue" class.
|
|
37680
37687
|
*/
|
|
@@ -37898,7 +37905,8 @@ export namespace Multiplayer {
|
|
|
37898
37905
|
|
|
37899
37906
|
export namespace Multiplayer {
|
|
37900
37907
|
/**
|
|
37901
|
-
* @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.
|
|
37902
37910
|
*/
|
|
37903
37911
|
export class ECommerceSpaceComponent
|
|
37904
37912
|
extends Multiplayer.ComponentBase
|
|
@@ -38028,8 +38036,7 @@ export namespace Multiplayer {
|
|
|
38028
38036
|
export namespace Multiplayer {
|
|
38029
38037
|
/**
|
|
38030
38038
|
@ingroup ExternalLinkSpaceComponent
|
|
38031
|
-
* @description
|
|
38032
|
-
* 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.
|
|
38033
38040
|
*/
|
|
38034
38041
|
export class ExternalLinkSpaceComponent
|
|
38035
38042
|
extends Multiplayer.ComponentBase
|
|
@@ -38420,7 +38427,7 @@ export namespace Multiplayer {
|
|
|
38420
38427
|
export namespace Multiplayer {
|
|
38421
38428
|
/**
|
|
38422
38429
|
@ingroup FiducialMarkerSpaceComponent
|
|
38423
|
-
* @description
|
|
38430
|
+
* @description As an alternative to cloud-based anchors, fiducial markers can be used to anchor your space to a physical location.
|
|
38424
38431
|
*/
|
|
38425
38432
|
export class FiducialMarkerSpaceComponent
|
|
38426
38433
|
extends Multiplayer.ComponentBase
|
|
@@ -38784,7 +38791,7 @@ export namespace Multiplayer {
|
|
|
38784
38791
|
export namespace Multiplayer {
|
|
38785
38792
|
/**
|
|
38786
38793
|
@ingroup FogSpaceComponent
|
|
38787
|
-
* @description
|
|
38794
|
+
* @description Add a depth-based fog volume to your space.
|
|
38788
38795
|
*/
|
|
38789
38796
|
export class FogSpaceComponent
|
|
38790
38797
|
extends Multiplayer.ComponentBase
|
|
@@ -39344,7 +39351,7 @@ export namespace Multiplayer {
|
|
|
39344
39351
|
export namespace Multiplayer {
|
|
39345
39352
|
/**
|
|
39346
39353
|
@ingroup GaussianSplatSpaceComponent
|
|
39347
|
-
* @description
|
|
39354
|
+
* @description Add Gaussian Splats to your space.
|
|
39348
39355
|
* Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
|
|
39349
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
|
|
39350
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
|
|
@@ -40059,7 +40066,7 @@ export namespace Multiplayer {
|
|
|
40059
40066
|
export namespace Multiplayer {
|
|
40060
40067
|
/**
|
|
40061
40068
|
@ingroup ImageSpaceComponent
|
|
40062
|
-
* @description
|
|
40069
|
+
* @description Add an image to your space.
|
|
40063
40070
|
*/
|
|
40064
40071
|
export class ImageSpaceComponent
|
|
40065
40072
|
extends Multiplayer.ComponentBase
|
|
@@ -40511,7 +40518,8 @@ export namespace Multiplayer {
|
|
|
40511
40518
|
export namespace Multiplayer {
|
|
40512
40519
|
/**
|
|
40513
40520
|
@ingroup LightSpaceComponent
|
|
40514
|
-
* @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.
|
|
40515
40523
|
*/
|
|
40516
40524
|
export class LightSpaceComponent
|
|
40517
40525
|
extends Multiplayer.ComponentBase
|
|
@@ -41301,7 +41309,7 @@ export namespace Multiplayer {
|
|
|
41301
41309
|
export namespace Multiplayer {
|
|
41302
41310
|
/**
|
|
41303
41311
|
@ingroup ReflectionSpaceComponent
|
|
41304
|
-
* @description
|
|
41312
|
+
* @description Add sphere and box reflection captures to your Space which can be used by objects with reflective materials.
|
|
41305
41313
|
*/
|
|
41306
41314
|
export class ReflectionSpaceComponent
|
|
41307
41315
|
extends Multiplayer.ComponentBase
|
|
@@ -41616,7 +41624,9 @@ export namespace Multiplayer {
|
|
|
41616
41624
|
export namespace Multiplayer {
|
|
41617
41625
|
/**
|
|
41618
41626
|
@ingroup ScriptSpaceComponent
|
|
41619
|
-
* @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.
|
|
41620
41630
|
*/
|
|
41621
41631
|
export class ScriptSpaceComponent
|
|
41622
41632
|
extends Multiplayer.ComponentBase
|
|
@@ -41893,7 +41903,9 @@ export namespace Multiplayer {
|
|
|
41893
41903
|
export namespace Multiplayer {
|
|
41894
41904
|
/**
|
|
41895
41905
|
@ingroup StaticModelSpaceComponent
|
|
41896
|
-
* @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.
|
|
41897
41909
|
*/
|
|
41898
41910
|
export class StaticModelSpaceComponent
|
|
41899
41911
|
extends Multiplayer.ComponentBase
|
|
@@ -42284,7 +42296,7 @@ export namespace Multiplayer {
|
|
|
42284
42296
|
export namespace Multiplayer {
|
|
42285
42297
|
/**
|
|
42286
42298
|
@ingroup TextSpaceComponent
|
|
42287
|
-
* @description
|
|
42299
|
+
* @description Add a spatial representation of text to your space.
|
|
42288
42300
|
*/
|
|
42289
42301
|
export class TextSpaceComponent
|
|
42290
42302
|
extends Multiplayer.ComponentBase
|
|
@@ -42762,7 +42774,9 @@ export namespace Multiplayer {
|
|
|
42762
42774
|
export namespace Multiplayer {
|
|
42763
42775
|
/**
|
|
42764
42776
|
@ingroup VideoPlayerSpaceComponent
|
|
42765
|
-
* @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.
|
|
42766
42780
|
*/
|
|
42767
42781
|
export class VideoPlayerSpaceComponent
|
|
42768
42782
|
extends Multiplayer.ComponentBase
|
|
@@ -50783,7 +50797,7 @@ export namespace Systems {
|
|
|
50783
50797
|
* @description Retrieves the Avatar Portrait information associated with the space
|
|
50784
50798
|
* If the user of the Avatar portrait associated with it the result callback will be successful, the HTTP res code will be ResponseNotFound
|
|
50785
50799
|
* and the Uri field inside the UriResult will be empty
|
|
50786
|
-
* @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
|
|
50787
50801
|
* @param callback - Callback when asynchronous task finishes
|
|
50788
50802
|
*/
|
|
50789
50803
|
|
|
@@ -50864,13 +50878,13 @@ export namespace Systems {
|
|
|
50864
50878
|
/**
|
|
50865
50879
|
* @description Sets the avatar type and identifier for a user.
|
|
50866
50880
|
* @param inType - The type of avatar (predefined, Ready Player Me, or custom).
|
|
50867
|
-
* @param inIdentifier - A
|
|
50881
|
+
* @param inIdentifier - A string used to identify or locate the avatar.
|
|
50868
50882
|
* @param callback - Callback to call when task finishes.
|
|
50869
50883
|
*/
|
|
50870
50884
|
|
|
50871
50885
|
async setAvatarInfo(
|
|
50872
50886
|
type: Systems.AvatarType,
|
|
50873
|
-
identifier:
|
|
50887
|
+
identifier: string,
|
|
50874
50888
|
): Promise<Systems.NullResult> {
|
|
50875
50889
|
var _resolve;
|
|
50876
50890
|
|
|
@@ -50895,10 +50909,10 @@ export namespace Systems {
|
|
|
50895
50909
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
50896
50910
|
|
|
50897
50911
|
Module.ccall(
|
|
50898
|
-
"
|
|
50912
|
+
"csp_systems_SettingsSystem_SetAvatarInfo_void_AvatarType_StringRC_NullResultCallback",
|
|
50899
50913
|
"void",
|
|
50900
|
-
["number", "number", "
|
|
50901
|
-
[this.pointer, type, identifier
|
|
50914
|
+
["number", "number", "string", "number", "number"],
|
|
50915
|
+
[this.pointer, type, identifier, _callbackPtr, 0],
|
|
50902
50916
|
);
|
|
50903
50917
|
|
|
50904
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": {
|