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
|
Binary file
|
|
@@ -6211,7 +6211,9 @@ export declare namespace Systems {
|
|
|
6211
6211
|
export declare namespace Multiplayer {
|
|
6212
6212
|
/**
|
|
6213
6213
|
@ingroup AnimatedModelSpaceComponent
|
|
6214
|
-
* @description
|
|
6214
|
+
* @description Adds animated skeletal meshes to a SpaceEntity.
|
|
6215
|
+
* /// These are used for objects that need to move or act within the space, such as characters or animated props.
|
|
6216
|
+
* This component makes it possible to play, pause, or loop animations.
|
|
6215
6217
|
*/
|
|
6216
6218
|
class AnimatedModelSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, Multiplayer.IExternalResourceComponent, Multiplayer.IThirdPartyComponentRef, Multiplayer.IShadowCasterComponent, INativeResource {
|
|
6217
6219
|
/** @internal */
|
|
@@ -6352,7 +6354,9 @@ export declare namespace Multiplayer {
|
|
|
6352
6354
|
}
|
|
6353
6355
|
export declare namespace Multiplayer {
|
|
6354
6356
|
/**
|
|
6355
|
-
* @description
|
|
6357
|
+
* @description Adds spatial audio to a SpaceEntity.
|
|
6358
|
+
* /// This component creates immersive soundscapes by playing audio that reacts to the user's position in the space.
|
|
6359
|
+
* Whether it's background music, sound effects, or voiceovers, the AudioSpaceComponent makes sound more engaging by positioning it in 3D space.
|
|
6356
6360
|
*/
|
|
6357
6361
|
class AudioSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IEnableableComponent, Multiplayer.IPositionComponent, Multiplayer.IThirdPartyComponentRef, INativeResource {
|
|
6358
6362
|
/** @internal */
|
|
@@ -6717,7 +6721,7 @@ export declare namespace Multiplayer {
|
|
|
6717
6721
|
export declare namespace Multiplayer {
|
|
6718
6722
|
/**
|
|
6719
6723
|
@ingroup ButtonSpaceComponent
|
|
6720
|
-
* @description
|
|
6724
|
+
* @description Add a clickable button to your space. Button click events can be responded to via scripts.
|
|
6721
6725
|
*/
|
|
6722
6726
|
class ButtonSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IEnableableComponent, Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
6723
6727
|
/** @internal */
|
|
@@ -6999,7 +7003,8 @@ export declare namespace Multiplayer {
|
|
|
6999
7003
|
export declare namespace Multiplayer {
|
|
7000
7004
|
/**
|
|
7001
7005
|
@ingroup CollisionSpaceComponent
|
|
7002
|
-
* @description
|
|
7006
|
+
* @description Add box, mesh, capsule and sphere colliders to objects in your Space.
|
|
7007
|
+
* /// These colliders can act as triggers, which can be used in conjunction with Scripts to drive behavior.
|
|
7003
7008
|
*/
|
|
7004
7009
|
class CollisionSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IThirdPartyComponentRef, Multiplayer.ITransformComponent, INativeResource {
|
|
7005
7010
|
/** @internal */
|
|
@@ -7138,7 +7143,7 @@ export declare namespace Multiplayer {
|
|
|
7138
7143
|
export declare namespace Multiplayer {
|
|
7139
7144
|
/**
|
|
7140
7145
|
@ingroup ConversationSpaceComponent
|
|
7141
|
-
* @description
|
|
7146
|
+
* @description Add a conversation with comment thread to your space. These conversations have a spatial representation.
|
|
7142
7147
|
*/
|
|
7143
7148
|
class ConversationSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, Multiplayer.IRotationComponent, INativeResource {
|
|
7144
7149
|
/** @internal */
|
|
@@ -7275,7 +7280,7 @@ export declare namespace Multiplayer {
|
|
|
7275
7280
|
export declare namespace Multiplayer {
|
|
7276
7281
|
/**
|
|
7277
7282
|
@ingroup CustomSpaceComponent
|
|
7278
|
-
* @description
|
|
7283
|
+
* @description Can be used to prototype new component types or to support the replication of custom data.
|
|
7279
7284
|
* NOTE: This class is used to replicate properties of primitive types of properties across multiple platforms.
|
|
7280
7285
|
* The supported primitive types are the ones supported by the "ReplicatedValue" class.
|
|
7281
7286
|
*/
|
|
@@ -7342,7 +7347,8 @@ export declare namespace Multiplayer {
|
|
|
7342
7347
|
}
|
|
7343
7348
|
export declare namespace Multiplayer {
|
|
7344
7349
|
/**
|
|
7345
|
-
* @description
|
|
7350
|
+
* @description Can be used alongside CSP's Stripe integration to add e-commerce to your space.
|
|
7351
|
+
* /// This component is used to represent physical objects that can be purchased as virtual items in the environment.
|
|
7346
7352
|
*/
|
|
7347
7353
|
class ECommerceSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, INativeResource {
|
|
7348
7354
|
/** @internal */
|
|
@@ -7380,8 +7386,7 @@ export declare namespace Multiplayer {
|
|
|
7380
7386
|
export declare namespace Multiplayer {
|
|
7381
7387
|
/**
|
|
7382
7388
|
@ingroup ExternalLinkSpaceComponent
|
|
7383
|
-
* @description
|
|
7384
|
-
* NOTE: This component can be used to handle external URLs that can be opened in game from a space.
|
|
7389
|
+
* @description Used to handle external URLs that can be opened from within a space.
|
|
7385
7390
|
*/
|
|
7386
7391
|
class ExternalLinkSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IEnableableComponent, Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
7387
7392
|
/** @internal */
|
|
@@ -7495,7 +7500,7 @@ export declare namespace Multiplayer {
|
|
|
7495
7500
|
export declare namespace Multiplayer {
|
|
7496
7501
|
/**
|
|
7497
7502
|
@ingroup FiducialMarkerSpaceComponent
|
|
7498
|
-
* @description
|
|
7503
|
+
* @description As an alternative to cloud-based anchors, fiducial markers can be used to anchor your space to a physical location.
|
|
7499
7504
|
*/
|
|
7500
7505
|
class FiducialMarkerSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
7501
7506
|
/** @internal */
|
|
@@ -7603,7 +7608,7 @@ export declare namespace Multiplayer {
|
|
|
7603
7608
|
export declare namespace Multiplayer {
|
|
7604
7609
|
/**
|
|
7605
7610
|
@ingroup FogSpaceComponent
|
|
7606
|
-
* @description
|
|
7611
|
+
* @description Add a depth-based fog volume to your space.
|
|
7607
7612
|
*/
|
|
7608
7613
|
class FogSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IThirdPartyComponentRef, Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
7609
7614
|
/** @internal */
|
|
@@ -7779,7 +7784,7 @@ export declare namespace Multiplayer {
|
|
|
7779
7784
|
export declare namespace Multiplayer {
|
|
7780
7785
|
/**
|
|
7781
7786
|
@ingroup GaussianSplatSpaceComponent
|
|
7782
|
-
* @description
|
|
7787
|
+
* @description Add Gaussian Splats to your space.
|
|
7783
7788
|
* Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
|
|
7784
7789
|
* 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
|
|
7785
7790
|
* volume, comprising a point cloud of splats (like coloured dots), each of which has a position, colour (with alpha) and covariance (scale on 3
|
|
@@ -8001,7 +8006,7 @@ export declare namespace Multiplayer {
|
|
|
8001
8006
|
export declare namespace Multiplayer {
|
|
8002
8007
|
/**
|
|
8003
8008
|
@ingroup ImageSpaceComponent
|
|
8004
|
-
* @description
|
|
8009
|
+
* @description Add an image to your space.
|
|
8005
8010
|
*/
|
|
8006
8011
|
class ImageSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
8007
8012
|
/** @internal */
|
|
@@ -8139,7 +8144,8 @@ export declare namespace Multiplayer {
|
|
|
8139
8144
|
export declare namespace Multiplayer {
|
|
8140
8145
|
/**
|
|
8141
8146
|
@ingroup LightSpaceComponent
|
|
8142
|
-
* @description
|
|
8147
|
+
* @description Adds various types of lighting to a SpaceEntity, such as directional, point, or spotlights.
|
|
8148
|
+
* /// This component is essential for creating realistic lighting effects and controlling how objects are illuminated within the space.
|
|
8143
8149
|
*/
|
|
8144
8150
|
class LightSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, Multiplayer.IRotationComponent, Multiplayer.IThirdPartyComponentRef, Multiplayer.IVisibleComponent, INativeResource {
|
|
8145
8151
|
/** @internal */
|
|
@@ -8373,7 +8379,7 @@ export declare namespace Multiplayer {
|
|
|
8373
8379
|
export declare namespace Multiplayer {
|
|
8374
8380
|
/**
|
|
8375
8381
|
@ingroup ReflectionSpaceComponent
|
|
8376
|
-
* @description
|
|
8382
|
+
* @description Add sphere and box reflection captures to your Space which can be used by objects with reflective materials.
|
|
8377
8383
|
*/
|
|
8378
8384
|
class ReflectionSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, Multiplayer.IScaleComponent, Multiplayer.IThirdPartyComponentRef, INativeResource {
|
|
8379
8385
|
/** @internal */
|
|
@@ -8473,7 +8479,9 @@ export declare namespace Multiplayer {
|
|
|
8473
8479
|
export declare namespace Multiplayer {
|
|
8474
8480
|
/**
|
|
8475
8481
|
@ingroup ScriptSpaceComponent
|
|
8476
|
-
* @description
|
|
8482
|
+
* @description Enables custom behavior through scripting.
|
|
8483
|
+
* /// This component allows developers to author scripts that control how entities and components behave based on specific conditions or user actions.
|
|
8484
|
+
* Scripts can modify entity properties, trigger events, or respond to user inputs.
|
|
8477
8485
|
*/
|
|
8478
8486
|
class ScriptSpaceComponent extends Multiplayer.ComponentBase implements INativeResource {
|
|
8479
8487
|
/** @internal */
|
|
@@ -8552,7 +8560,9 @@ export declare namespace Multiplayer {
|
|
|
8552
8560
|
export declare namespace Multiplayer {
|
|
8553
8561
|
/**
|
|
8554
8562
|
@ingroup StaticModelSpaceComponent
|
|
8555
|
-
* @description
|
|
8563
|
+
* @description Adds static 3D models to a SpaceEntity.
|
|
8564
|
+
* /// It displays non-animated objects, such as furniture, buildings, or decorative items within a space.
|
|
8565
|
+
* The static model defines the visual appearance but has no animations or dynamic behaviors.
|
|
8556
8566
|
*/
|
|
8557
8567
|
class StaticModelSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IExternalResourceComponent, Multiplayer.IShadowCasterComponent, Multiplayer.IThirdPartyComponentRef, Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
8558
8568
|
/** @internal */
|
|
@@ -8664,7 +8674,7 @@ export declare namespace Multiplayer {
|
|
|
8664
8674
|
export declare namespace Multiplayer {
|
|
8665
8675
|
/**
|
|
8666
8676
|
@ingroup TextSpaceComponent
|
|
8667
|
-
* @description
|
|
8677
|
+
* @description Add a spatial representation of text to your space.
|
|
8668
8678
|
*/
|
|
8669
8679
|
class TextSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
8670
8680
|
/** @internal */
|
|
@@ -8804,7 +8814,9 @@ export declare namespace Multiplayer {
|
|
|
8804
8814
|
export declare namespace Multiplayer {
|
|
8805
8815
|
/**
|
|
8806
8816
|
@ingroup VideoPlayerSpaceComponent
|
|
8807
|
-
* @description
|
|
8817
|
+
* @description Enables the playback of video content within the space.
|
|
8818
|
+
* /// 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
|
|
8819
|
+
* environment.
|
|
8808
8820
|
*/
|
|
8809
8821
|
class VideoPlayerSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IEnableableComponent, Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
8810
8822
|
/** @internal */
|
|
@@ -10535,7 +10547,7 @@ export declare namespace Systems {
|
|
|
10535
10547
|
* @description Retrieves the Avatar Portrait information associated with the space
|
|
10536
10548
|
* If the user of the Avatar portrait associated with it the result callback will be successful, the HTTP res code will be ResponseNotFound
|
|
10537
10549
|
* and the Uri field inside the UriResult will be empty
|
|
10538
|
-
* @param inUserID - The id of the user we are
|
|
10550
|
+
* @param inUserID - The id of the user we are seeking to retrieve the portrait for
|
|
10539
10551
|
* @param callback - Callback when asynchronous task finishes
|
|
10540
10552
|
*/
|
|
10541
10553
|
getAvatarPortrait(userID: string): Promise<Systems.UriResult>;
|
|
@@ -10548,10 +10560,10 @@ export declare namespace Systems {
|
|
|
10548
10560
|
/**
|
|
10549
10561
|
* @description Sets the avatar type and identifier for a user.
|
|
10550
10562
|
* @param inType - The type of avatar (predefined, Ready Player Me, or custom).
|
|
10551
|
-
* @param inIdentifier - A
|
|
10563
|
+
* @param inIdentifier - A string used to identify or locate the avatar.
|
|
10552
10564
|
* @param callback - Callback to call when task finishes.
|
|
10553
10565
|
*/
|
|
10554
|
-
setAvatarInfo(type: Systems.AvatarType, identifier:
|
|
10566
|
+
setAvatarInfo(type: Systems.AvatarType, identifier: string): Promise<Systems.NullResult>;
|
|
10555
10567
|
/**
|
|
10556
10568
|
* @description Retrieves the avatar type and identifier for a user.
|
|
10557
10569
|
* @param callback - Callback to call when task finishes.
|
|
@@ -15268,7 +15268,9 @@ export class CSPFoundation {
|
|
|
15268
15268
|
(function (Multiplayer) {
|
|
15269
15269
|
/**
|
|
15270
15270
|
@ingroup AnimatedModelSpaceComponent
|
|
15271
|
-
* @description
|
|
15271
|
+
* @description Adds animated skeletal meshes to a SpaceEntity.
|
|
15272
|
+
* /// These are used for objects that need to move or act within the space, such as characters or animated props.
|
|
15273
|
+
* This component makes it possible to play, pause, or loop animations.
|
|
15272
15274
|
*/
|
|
15273
15275
|
class AnimatedModelSpaceComponent extends Multiplayer.ComponentBase {
|
|
15274
15276
|
/** @internal */
|
|
@@ -15513,7 +15515,9 @@ export class CSPFoundation {
|
|
|
15513
15515
|
})(Multiplayer || (Multiplayer = {}));
|
|
15514
15516
|
(function (Multiplayer) {
|
|
15515
15517
|
/**
|
|
15516
|
-
* @description
|
|
15518
|
+
* @description Adds spatial audio to a SpaceEntity.
|
|
15519
|
+
* /// This component creates immersive soundscapes by playing audio that reacts to the user's position in the space.
|
|
15520
|
+
* Whether it's background music, sound effects, or voiceovers, the AudioSpaceComponent makes sound more engaging by positioning it in 3D space.
|
|
15517
15521
|
*/
|
|
15518
15522
|
class AudioSpaceComponent extends Multiplayer.ComponentBase {
|
|
15519
15523
|
/** @internal */
|
|
@@ -16088,7 +16092,7 @@ export class CSPFoundation {
|
|
|
16088
16092
|
(function (Multiplayer) {
|
|
16089
16093
|
/**
|
|
16090
16094
|
@ingroup ButtonSpaceComponent
|
|
16091
|
-
* @description
|
|
16095
|
+
* @description Add a clickable button to your space. Button click events can be responded to via scripts.
|
|
16092
16096
|
*/
|
|
16093
16097
|
class ButtonSpaceComponent extends Multiplayer.ComponentBase {
|
|
16094
16098
|
/** @internal */
|
|
@@ -16567,7 +16571,8 @@ export class CSPFoundation {
|
|
|
16567
16571
|
(function (Multiplayer) {
|
|
16568
16572
|
/**
|
|
16569
16573
|
@ingroup CollisionSpaceComponent
|
|
16570
|
-
* @description
|
|
16574
|
+
* @description Add box, mesh, capsule and sphere colliders to objects in your Space.
|
|
16575
|
+
* /// These colliders can act as triggers, which can be used in conjunction with Scripts to drive behavior.
|
|
16571
16576
|
*/
|
|
16572
16577
|
class CollisionSpaceComponent extends Multiplayer.ComponentBase {
|
|
16573
16578
|
/** @internal */
|
|
@@ -16821,7 +16826,7 @@ export class CSPFoundation {
|
|
|
16821
16826
|
(function (Multiplayer) {
|
|
16822
16827
|
/**
|
|
16823
16828
|
@ingroup ConversationSpaceComponent
|
|
16824
|
-
* @description
|
|
16829
|
+
* @description Add a conversation with comment thread to your space. These conversations have a spatial representation.
|
|
16825
16830
|
*/
|
|
16826
16831
|
class ConversationSpaceComponent extends Multiplayer.ComponentBase {
|
|
16827
16832
|
/** @internal */
|
|
@@ -17206,7 +17211,7 @@ export class CSPFoundation {
|
|
|
17206
17211
|
(function (Multiplayer) {
|
|
17207
17212
|
/**
|
|
17208
17213
|
@ingroup CustomSpaceComponent
|
|
17209
|
-
* @description
|
|
17214
|
+
* @description Can be used to prototype new component types or to support the replication of custom data.
|
|
17210
17215
|
* NOTE: This class is used to replicate properties of primitive types of properties across multiple platforms.
|
|
17211
17216
|
* The supported primitive types are the ones supported by the "ReplicatedValue" class.
|
|
17212
17217
|
*/
|
|
@@ -17325,7 +17330,8 @@ export class CSPFoundation {
|
|
|
17325
17330
|
})(Multiplayer || (Multiplayer = {}));
|
|
17326
17331
|
(function (Multiplayer) {
|
|
17327
17332
|
/**
|
|
17328
|
-
* @description
|
|
17333
|
+
* @description Can be used alongside CSP's Stripe integration to add e-commerce to your space.
|
|
17334
|
+
* /// This component is used to represent physical objects that can be purchased as virtual items in the environment.
|
|
17329
17335
|
*/
|
|
17330
17336
|
class ECommerceSpaceComponent extends Multiplayer.ComponentBase {
|
|
17331
17337
|
/** @internal */
|
|
@@ -17395,8 +17401,7 @@ export class CSPFoundation {
|
|
|
17395
17401
|
(function (Multiplayer) {
|
|
17396
17402
|
/**
|
|
17397
17403
|
@ingroup ExternalLinkSpaceComponent
|
|
17398
|
-
* @description
|
|
17399
|
-
* NOTE: This component can be used to handle external URLs that can be opened in game from a space.
|
|
17404
|
+
* @description Used to handle external URLs that can be opened from within a space.
|
|
17400
17405
|
*/
|
|
17401
17406
|
class ExternalLinkSpaceComponent extends Multiplayer.ComponentBase {
|
|
17402
17407
|
/** @internal */
|
|
@@ -17597,7 +17602,7 @@ export class CSPFoundation {
|
|
|
17597
17602
|
(function (Multiplayer) {
|
|
17598
17603
|
/**
|
|
17599
17604
|
@ingroup FiducialMarkerSpaceComponent
|
|
17600
|
-
* @description
|
|
17605
|
+
* @description As an alternative to cloud-based anchors, fiducial markers can be used to anchor your space to a physical location.
|
|
17601
17606
|
*/
|
|
17602
17607
|
class FiducialMarkerSpaceComponent extends Multiplayer.ComponentBase {
|
|
17603
17608
|
/** @internal */
|
|
@@ -17787,7 +17792,7 @@ export class CSPFoundation {
|
|
|
17787
17792
|
(function (Multiplayer) {
|
|
17788
17793
|
/**
|
|
17789
17794
|
@ingroup FogSpaceComponent
|
|
17790
|
-
* @description
|
|
17795
|
+
* @description Add a depth-based fog volume to your space.
|
|
17791
17796
|
*/
|
|
17792
17797
|
class FogSpaceComponent extends Multiplayer.ComponentBase {
|
|
17793
17798
|
/** @internal */
|
|
@@ -18082,7 +18087,7 @@ export class CSPFoundation {
|
|
|
18082
18087
|
(function (Multiplayer) {
|
|
18083
18088
|
/**
|
|
18084
18089
|
@ingroup GaussianSplatSpaceComponent
|
|
18085
|
-
* @description
|
|
18090
|
+
* @description Add Gaussian Splats to your space.
|
|
18086
18091
|
* Gaussian Splatting is a technique for real-time 3D reconstruction and rendering of an object or environment using images taken from multiple
|
|
18087
18092
|
* 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
|
|
18088
18093
|
* volume, comprising a point cloud of splats (like coloured dots), each of which has a position, colour (with alpha) and covariance (scale on 3
|
|
@@ -18457,7 +18462,7 @@ export class CSPFoundation {
|
|
|
18457
18462
|
(function (Multiplayer) {
|
|
18458
18463
|
/**
|
|
18459
18464
|
@ingroup ImageSpaceComponent
|
|
18460
|
-
* @description
|
|
18465
|
+
* @description Add an image to your space.
|
|
18461
18466
|
*/
|
|
18462
18467
|
class ImageSpaceComponent extends Multiplayer.ComponentBase {
|
|
18463
18468
|
/** @internal */
|
|
@@ -18692,7 +18697,8 @@ export class CSPFoundation {
|
|
|
18692
18697
|
(function (Multiplayer) {
|
|
18693
18698
|
/**
|
|
18694
18699
|
@ingroup LightSpaceComponent
|
|
18695
|
-
* @description
|
|
18700
|
+
* @description Adds various types of lighting to a SpaceEntity, such as directional, point, or spotlights.
|
|
18701
|
+
* /// This component is essential for creating realistic lighting effects and controlling how objects are illuminated within the space.
|
|
18696
18702
|
*/
|
|
18697
18703
|
class LightSpaceComponent extends Multiplayer.ComponentBase {
|
|
18698
18704
|
/** @internal */
|
|
@@ -19105,7 +19111,7 @@ export class CSPFoundation {
|
|
|
19105
19111
|
(function (Multiplayer) {
|
|
19106
19112
|
/**
|
|
19107
19113
|
@ingroup ReflectionSpaceComponent
|
|
19108
|
-
* @description
|
|
19114
|
+
* @description Add sphere and box reflection captures to your Space which can be used by objects with reflective materials.
|
|
19109
19115
|
*/
|
|
19110
19116
|
class ReflectionSpaceComponent extends Multiplayer.ComponentBase {
|
|
19111
19117
|
/** @internal */
|
|
@@ -19274,7 +19280,9 @@ export class CSPFoundation {
|
|
|
19274
19280
|
(function (Multiplayer) {
|
|
19275
19281
|
/**
|
|
19276
19282
|
@ingroup ScriptSpaceComponent
|
|
19277
|
-
* @description
|
|
19283
|
+
* @description Enables custom behavior through scripting.
|
|
19284
|
+
* /// This component allows developers to author scripts that control how entities and components behave based on specific conditions or user actions.
|
|
19285
|
+
* Scripts can modify entity properties, trigger events, or respond to user inputs.
|
|
19278
19286
|
*/
|
|
19279
19287
|
class ScriptSpaceComponent extends Multiplayer.ComponentBase {
|
|
19280
19288
|
/** @internal */
|
|
@@ -19421,7 +19429,9 @@ export class CSPFoundation {
|
|
|
19421
19429
|
(function (Multiplayer) {
|
|
19422
19430
|
/**
|
|
19423
19431
|
@ingroup StaticModelSpaceComponent
|
|
19424
|
-
* @description
|
|
19432
|
+
* @description Adds static 3D models to a SpaceEntity.
|
|
19433
|
+
* /// It displays non-animated objects, such as furniture, buildings, or decorative items within a space.
|
|
19434
|
+
* The static model defines the visual appearance but has no animations or dynamic behaviors.
|
|
19425
19435
|
*/
|
|
19426
19436
|
class StaticModelSpaceComponent extends Multiplayer.ComponentBase {
|
|
19427
19437
|
/** @internal */
|
|
@@ -19620,7 +19630,7 @@ export class CSPFoundation {
|
|
|
19620
19630
|
(function (Multiplayer) {
|
|
19621
19631
|
/**
|
|
19622
19632
|
@ingroup TextSpaceComponent
|
|
19623
|
-
* @description
|
|
19633
|
+
* @description Add a spatial representation of text to your space.
|
|
19624
19634
|
*/
|
|
19625
19635
|
class TextSpaceComponent extends Multiplayer.ComponentBase {
|
|
19626
19636
|
/** @internal */
|
|
@@ -19866,7 +19876,9 @@ export class CSPFoundation {
|
|
|
19866
19876
|
(function (Multiplayer) {
|
|
19867
19877
|
/**
|
|
19868
19878
|
@ingroup VideoPlayerSpaceComponent
|
|
19869
|
-
* @description
|
|
19879
|
+
* @description Enables the playback of video content within the space.
|
|
19880
|
+
* /// 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
|
|
19881
|
+
* environment.
|
|
19870
19882
|
*/
|
|
19871
19883
|
class VideoPlayerSpaceComponent extends Multiplayer.ComponentBase {
|
|
19872
19884
|
/** @internal */
|
|
@@ -24491,7 +24503,7 @@ export class CSPFoundation {
|
|
|
24491
24503
|
* @description Retrieves the Avatar Portrait information associated with the space
|
|
24492
24504
|
* If the user of the Avatar portrait associated with it the result callback will be successful, the HTTP res code will be ResponseNotFound
|
|
24493
24505
|
* and the Uri field inside the UriResult will be empty
|
|
24494
|
-
* @param inUserID - The id of the user we are
|
|
24506
|
+
* @param inUserID - The id of the user we are seeking to retrieve the portrait for
|
|
24495
24507
|
* @param callback - Callback when asynchronous task finishes
|
|
24496
24508
|
*/
|
|
24497
24509
|
async getAvatarPortrait(userID) {
|
|
@@ -24540,7 +24552,7 @@ export class CSPFoundation {
|
|
|
24540
24552
|
/**
|
|
24541
24553
|
* @description Sets the avatar type and identifier for a user.
|
|
24542
24554
|
* @param inType - The type of avatar (predefined, Ready Player Me, or custom).
|
|
24543
|
-
* @param inIdentifier - A
|
|
24555
|
+
* @param inIdentifier - A string used to identify or locate the avatar.
|
|
24544
24556
|
* @param callback - Callback to call when task finishes.
|
|
24545
24557
|
*/
|
|
24546
24558
|
async setAvatarInfo(type, identifier) {
|
|
@@ -24559,7 +24571,7 @@ export class CSPFoundation {
|
|
|
24559
24571
|
Module.removeFunction(_callbackPtr);
|
|
24560
24572
|
};
|
|
24561
24573
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
24562
|
-
Module.ccall("
|
|
24574
|
+
Module.ccall("csp_systems_SettingsSystem_SetAvatarInfo_void_AvatarType_StringRC_NullResultCallback", "void", ["number", "number", "string", "number", "number"], [this.pointer, type, identifier, _callbackPtr, 0]);
|
|
24563
24575
|
return _promise;
|
|
24564
24576
|
}
|
|
24565
24577
|
/**
|