connected-spaces-platform.web 5.8.0 → 5.8.1
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 +7 -18
- package/connectedspacesplatform.js +8 -3
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +9 -21
- package/package.json +1 -1
|
Binary file
|
|
@@ -1256,21 +1256,6 @@ export declare namespace Multiplayer {
|
|
|
1256
1256
|
* @param value - The value to write.
|
|
1257
1257
|
*/
|
|
1258
1258
|
writeString: (value: string) => void;
|
|
1259
|
-
/**
|
|
1260
|
-
* @description Write a vector2 field of the entity.
|
|
1261
|
-
* @param value - The value to write.
|
|
1262
|
-
*/
|
|
1263
|
-
writeVector2: (value: Common.Vector2) => void;
|
|
1264
|
-
/**
|
|
1265
|
-
* @description Write a vector3 field of the entity.
|
|
1266
|
-
* @param value - The value to write.
|
|
1267
|
-
*/
|
|
1268
|
-
writeVector3: (value: Common.Vector3) => void;
|
|
1269
|
-
/**
|
|
1270
|
-
* @description Write a vector4 field of the entity.
|
|
1271
|
-
* @param value - The value to write.
|
|
1272
|
-
*/
|
|
1273
|
-
writeVector4: (value: Common.Vector4) => void;
|
|
1274
1259
|
/**
|
|
1275
1260
|
* @description Write a null field of the entity.
|
|
1276
1261
|
*/
|
|
@@ -4641,7 +4626,7 @@ export declare namespace Multiplayer {
|
|
|
4641
4626
|
/**
|
|
4642
4627
|
* @description Custom constructor for the SpaceTransform.
|
|
4643
4628
|
* @param position - The position value for the transform.
|
|
4644
|
-
* @param rotation - The rotation value for the transform.
|
|
4629
|
+
* @param rotation - The rotation value for the transform, will be normalized during multiplication operations.
|
|
4645
4630
|
* @param scale - The scale value for the transform.
|
|
4646
4631
|
*/
|
|
4647
4632
|
static create_position_rotation_scale(position: Common.Vector3, rotation: Common.Vector4, scale: Common.Vector3): SpaceTransform;
|
|
@@ -4649,10 +4634,14 @@ export declare namespace Multiplayer {
|
|
|
4649
4634
|
* @description Equality operator
|
|
4650
4635
|
* @param spaceTransform - Transform
|
|
4651
4636
|
*/
|
|
4637
|
+
/**
|
|
4638
|
+
* @description Inequality operator
|
|
4639
|
+
* @param spaceTransform - Transform
|
|
4640
|
+
*/
|
|
4652
4641
|
/**
|
|
4653
4642
|
* @description Multiplication operator
|
|
4654
4643
|
* @param spaceTransform - Transform
|
|
4655
|
-
* NOTE: This
|
|
4644
|
+
* NOTE: This performs TRS matrix composition, then decomposes back to Pos, Rot, Scale.
|
|
4656
4645
|
*/
|
|
4657
4646
|
delete(): void;
|
|
4658
4647
|
get position(): Common.Vector3;
|
|
@@ -5617,7 +5606,7 @@ export declare namespace Systems {
|
|
|
5617
5606
|
setLogCallback(callback: (arg1: string) => void): void;
|
|
5618
5607
|
/**
|
|
5619
5608
|
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
5620
|
-
* @param inEventCallback - The callback to execute when an
|
|
5609
|
+
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
5621
5610
|
*/
|
|
5622
5611
|
setEventCallback(callback: (arg1: string) => void): void;
|
|
5623
5612
|
/**
|
|
@@ -11225,7 +11225,7 @@ export class CSPFoundation {
|
|
|
11225
11225
|
/**
|
|
11226
11226
|
* @description Custom constructor for the SpaceTransform.
|
|
11227
11227
|
* @param position - The position value for the transform.
|
|
11228
|
-
* @param rotation - The rotation value for the transform.
|
|
11228
|
+
* @param rotation - The rotation value for the transform, will be normalized during multiplication operations.
|
|
11229
11229
|
* @param scale - The scale value for the transform.
|
|
11230
11230
|
*/
|
|
11231
11231
|
static create_position_rotation_scale(position, rotation, scale) {
|
|
@@ -11239,10 +11239,15 @@ export class CSPFoundation {
|
|
|
11239
11239
|
* @param spaceTransform - Transform
|
|
11240
11240
|
*/
|
|
11241
11241
|
// operator==
|
|
11242
|
+
/**
|
|
11243
|
+
* @description Inequality operator
|
|
11244
|
+
* @param spaceTransform - Transform
|
|
11245
|
+
*/
|
|
11246
|
+
// operator!=
|
|
11242
11247
|
/**
|
|
11243
11248
|
* @description Multiplication operator
|
|
11244
11249
|
* @param spaceTransform - Transform
|
|
11245
|
-
* NOTE: This
|
|
11250
|
+
* NOTE: This performs TRS matrix composition, then decomposes back to Pos, Rot, Scale.
|
|
11246
11251
|
*/
|
|
11247
11252
|
// operator*
|
|
11248
11253
|
delete() {
|
|
@@ -13510,7 +13515,7 @@ export class CSPFoundation {
|
|
|
13510
13515
|
}
|
|
13511
13516
|
/**
|
|
13512
13517
|
* @description Set a callback for handling an event log. Can be used to debug Connected Spaces Platform within a client application.
|
|
13513
|
-
* @param inEventCallback - The callback to execute when an
|
|
13518
|
+
* @param inEventCallback - The callback to execute when an event log occurs.
|
|
13514
13519
|
*/
|
|
13515
13520
|
setEventCallback(callback) {
|
|
13516
13521
|
var _callback = (_stateObject__, arg1) => {
|