connected-spaces-platform.web 5.8.0 → 5.9.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.
- package/Debug/ConnectedSpacesPlatform_WASM.js +4 -4
- 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 +14 -21
- package/connectedspacesplatform.js +24 -7
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +28 -26
- package/package.json +1 -1
|
@@ -4352,24 +4352,6 @@ export namespace Multiplayer {
|
|
|
4352
4352
|
*/
|
|
4353
4353
|
writeString: (value: string) => void;
|
|
4354
4354
|
|
|
4355
|
-
/**
|
|
4356
|
-
* @description Write a vector2 field of the entity.
|
|
4357
|
-
* @param value - The value to write.
|
|
4358
|
-
*/
|
|
4359
|
-
writeVector2: (value: Common.Vector2) => void;
|
|
4360
|
-
|
|
4361
|
-
/**
|
|
4362
|
-
* @description Write a vector3 field of the entity.
|
|
4363
|
-
* @param value - The value to write.
|
|
4364
|
-
*/
|
|
4365
|
-
writeVector3: (value: Common.Vector3) => void;
|
|
4366
|
-
|
|
4367
|
-
/**
|
|
4368
|
-
* @description Write a vector4 field of the entity.
|
|
4369
|
-
* @param value - The value to write.
|
|
4370
|
-
*/
|
|
4371
|
-
writeVector4: (value: Common.Vector4) => void;
|
|
4372
|
-
|
|
4373
4355
|
/**
|
|
4374
4356
|
* @description Write a null field of the entity.
|
|
4375
4357
|
*/
|
|
@@ -25337,7 +25319,7 @@ export namespace Multiplayer {
|
|
|
25337
25319
|
/**
|
|
25338
25320
|
* @description Custom constructor for the SpaceTransform.
|
|
25339
25321
|
* @param position - The position value for the transform.
|
|
25340
|
-
* @param rotation - The rotation value for the transform.
|
|
25322
|
+
* @param rotation - The rotation value for the transform, will be normalized during multiplication operations.
|
|
25341
25323
|
* @param scale - The scale value for the transform.
|
|
25342
25324
|
*/
|
|
25343
25325
|
static create_position_rotation_scale(
|
|
@@ -25363,10 +25345,16 @@ export namespace Multiplayer {
|
|
|
25363
25345
|
*/
|
|
25364
25346
|
// operator==
|
|
25365
25347
|
|
|
25348
|
+
/**
|
|
25349
|
+
* @description Inequality operator
|
|
25350
|
+
* @param spaceTransform - Transform
|
|
25351
|
+
*/
|
|
25352
|
+
// operator!=
|
|
25353
|
+
|
|
25366
25354
|
/**
|
|
25367
25355
|
* @description Multiplication operator
|
|
25368
25356
|
* @param spaceTransform - Transform
|
|
25369
|
-
* NOTE: This
|
|
25357
|
+
* NOTE: This performs TRS matrix composition, then decomposes back to Pos, Rot, Scale.
|
|
25370
25358
|
*/
|
|
25371
25359
|
// operator*
|
|
25372
25360
|
|
|
@@ -30119,7 +30107,7 @@ export namespace Systems {
|
|
|
30119
30107
|
|
|
30120
30108
|
/**
|
|
30121
30109
|
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
30122
|
-
* @param inEventCallback - The callback to execute when an
|
|
30110
|
+
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
30123
30111
|
*/
|
|
30124
30112
|
setEventCallback(callback: (arg1: string) => void) {
|
|
30125
30113
|
var _callback = (_stateObject__: number, arg1) => {
|
|
@@ -46700,12 +46688,16 @@ export namespace Systems {
|
|
|
46700
46688
|
* @description Creates a new material backed by an AssetCollection/Asset.
|
|
46701
46689
|
* @param name - The name of the new material.
|
|
46702
46690
|
* @param spaceId - The space id this material is associated with.
|
|
46691
|
+
* @param metadata - The metadata to be associated with the created material.
|
|
46692
|
+
* @param assetTags - Tags to be associated with the created material.
|
|
46703
46693
|
* @param callback - Callback when asynchronous task finishes.
|
|
46704
46694
|
*/
|
|
46705
46695
|
|
|
46706
46696
|
async createMaterial(
|
|
46707
46697
|
name: string,
|
|
46708
46698
|
spaceId: string,
|
|
46699
|
+
metadata: Common.Map<string, string>,
|
|
46700
|
+
assetTags: Common.Array<string>,
|
|
46709
46701
|
): Promise<Systems.GLTFMaterialResult> {
|
|
46710
46702
|
var _resolve;
|
|
46711
46703
|
|
|
@@ -46730,10 +46722,18 @@ export namespace Systems {
|
|
|
46730
46722
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
46731
46723
|
|
|
46732
46724
|
Module.ccall(
|
|
46733
|
-
"
|
|
46725
|
+
"csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_MapRC_ArrayRC_GLTFMaterialResultCallback",
|
|
46734
46726
|
"void",
|
|
46735
|
-
["number", "string", "string", "number", "number"],
|
|
46736
|
-
[
|
|
46727
|
+
["number", "string", "string", "number", "number", "number", "number"],
|
|
46728
|
+
[
|
|
46729
|
+
this.pointer,
|
|
46730
|
+
name,
|
|
46731
|
+
spaceId,
|
|
46732
|
+
metadata.pointer,
|
|
46733
|
+
assetTags.pointer,
|
|
46734
|
+
_callbackPtr,
|
|
46735
|
+
0,
|
|
46736
|
+
],
|
|
46737
46737
|
);
|
|
46738
46738
|
|
|
46739
46739
|
return _promise;
|
|
@@ -46908,7 +46908,7 @@ export namespace Systems {
|
|
|
46908
46908
|
}
|
|
46909
46909
|
|
|
46910
46910
|
/**
|
|
46911
|
-
* @description Sets a callback for an asset changed event.
|
|
46911
|
+
* @description Sets a callback for an asset changed event. Triggered when assets, such as textures or meshes, are modified
|
|
46912
46912
|
* @param callback - Callback to receive data for the asset that has been changed.
|
|
46913
46913
|
*/
|
|
46914
46914
|
setAssetDetailBlobChangedCallback(
|
|
@@ -58197,7 +58197,9 @@ export namespace Systems {
|
|
|
58197
58197
|
|
|
58198
58198
|
/**
|
|
58199
58199
|
* @description Sets a callback for an access control changed event.
|
|
58200
|
-
*
|
|
58200
|
+
* /// Occurs when a user's permissions are altered, impacting their ability to interact with specific spaces.
|
|
58201
|
+
* Clients can use this event to reflect access levels in real time.
|
|
58202
|
+
* /// @param Callback UserPermissionsChangedCallbackHandler: Callback to receive data for the user permissions that has been changed.
|
|
58201
58203
|
*/
|
|
58202
58204
|
setUserPermissionsChangedCallback(
|
|
58203
58205
|
callback: (arg1: Multiplayer.UserPermissionsParams) => void,
|
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.
|
|
4
|
+
"version": "5.9.0+570",
|
|
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": {
|