connected-spaces-platform.web 6.23.0 → 6.24.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.
@@ -402,6 +402,14 @@ function csp_multiplayer_AvatarPlayModeFactory(
402
402
  ProxyClassFactories["csp_multiplayer_AvatarPlayMode"] =
403
403
  csp_multiplayer_AvatarPlayModeFactory;
404
404
 
405
+ function csp_multiplayer_LocomotionModelFactory(
406
+ nativePointer: NativePointer,
407
+ ): Multiplayer.LocomotionModel {
408
+ return nativePointer.pointer as Multiplayer.LocomotionModel;
409
+ }
410
+ ProxyClassFactories["csp_multiplayer_LocomotionModel"] =
411
+ csp_multiplayer_LocomotionModelFactory;
412
+
405
413
  function csp_multiplayer_ErrorCodeFactory(
406
414
  nativePointer: NativePointer,
407
415
  ): Multiplayer.ErrorCode {
@@ -418,6 +426,14 @@ function csp_multiplayer_ModifiableStatusFactory(
418
426
  ProxyClassFactories["csp_multiplayer_ModifiableStatus"] =
419
427
  csp_multiplayer_ModifiableStatusFactory;
420
428
 
429
+ function csp_multiplayer_StereoVideoTypeFactory(
430
+ nativePointer: NativePointer,
431
+ ): Multiplayer.StereoVideoType {
432
+ return nativePointer.pointer as Multiplayer.StereoVideoType;
433
+ }
434
+ ProxyClassFactories["csp_multiplayer_StereoVideoType"] =
435
+ csp_multiplayer_StereoVideoTypeFactory;
436
+
421
437
  function csp_systems_EThirdPartyPlatformFactory(
422
438
  nativePointer: NativePointer,
423
439
  ): Systems.EThirdPartyPlatform {
@@ -575,14 +591,6 @@ function csp_multiplayer_AudioPropertyKeysFactory(
575
591
  ProxyClassFactories["csp_multiplayer_AudioPropertyKeys"] =
576
592
  csp_multiplayer_AudioPropertyKeysFactory;
577
593
 
578
- function csp_multiplayer_LocomotionModelFactory(
579
- nativePointer: NativePointer,
580
- ): Multiplayer.LocomotionModel {
581
- return nativePointer.pointer as Multiplayer.LocomotionModel;
582
- }
583
- ProxyClassFactories["csp_multiplayer_LocomotionModel"] =
584
- csp_multiplayer_LocomotionModelFactory;
585
-
586
594
  function csp_multiplayer_AvatarComponentPropertyKeysFactory(
587
595
  nativePointer: NativePointer,
588
596
  ): Multiplayer.AvatarComponentPropertyKeys {
@@ -862,14 +870,6 @@ function csp_multiplayer_VideoPlayerSourceTypeFactory(
862
870
  ProxyClassFactories["csp_multiplayer_VideoPlayerSourceType"] =
863
871
  csp_multiplayer_VideoPlayerSourceTypeFactory;
864
872
 
865
- function csp_multiplayer_StereoVideoTypeFactory(
866
- nativePointer: NativePointer,
867
- ): Multiplayer.StereoVideoType {
868
- return nativePointer.pointer as Multiplayer.StereoVideoType;
869
- }
870
- ProxyClassFactories["csp_multiplayer_StereoVideoType"] =
871
- csp_multiplayer_StereoVideoTypeFactory;
872
-
873
873
  function csp_multiplayer_VideoPlayerPropertyKeysFactory(
874
874
  nativePointer: NativePointer,
875
875
  ): Multiplayer.VideoPlayerPropertyKeys {
@@ -3638,6 +3638,17 @@ export namespace Multiplayer {
3638
3638
  }
3639
3639
  }
3640
3640
 
3641
+ export namespace Multiplayer {
3642
+ /**
3643
+ * @description Enumerates the supported locomotion models available for the avatar movements.
3644
+ */
3645
+ export enum LocomotionModel {
3646
+ Grounded = 0,
3647
+ FreeCamera,
3648
+ Num,
3649
+ }
3650
+ }
3651
+
3641
3652
  export namespace Multiplayer {
3642
3653
  /**
3643
3654
  * @description Enum used to indicate the failure state of a multiplayer request.
@@ -3662,6 +3673,17 @@ export namespace Multiplayer {
3662
3673
  }
3663
3674
  }
3664
3675
 
3676
+ export namespace Multiplayer {
3677
+ /**
3678
+ * @description Enumerates the type of stereo the video player and texture material supports.
3679
+ */
3680
+ export enum StereoVideoType {
3681
+ None = 0,
3682
+ SideBySide,
3683
+ TopBottom,
3684
+ }
3685
+ }
3686
+
3665
3687
  export namespace Systems {
3666
3688
  /**
3667
3689
  * @description Indicates special handling for any thirdparty platform
@@ -4021,17 +4043,6 @@ export namespace Multiplayer {
4021
4043
  }
4022
4044
  }
4023
4045
 
4024
- export namespace Multiplayer {
4025
- /**
4026
- * @description Enumerates the supported locomotion models available for the avatar movements.
4027
- */
4028
- export enum LocomotionModel {
4029
- Grounded = 0,
4030
- FreeCamera,
4031
- Num,
4032
- }
4033
- }
4034
-
4035
4046
  export namespace Multiplayer {
4036
4047
  /**
4037
4048
  * @description Enumerates the list of properties that can be replicated for an avatar component.
@@ -4580,18 +4591,6 @@ export namespace Multiplayer {
4580
4591
  }
4581
4592
  }
4582
4593
 
4583
- export namespace Multiplayer {
4584
- /**
4585
- * @description Enumerates the type of stereo the video player supports.
4586
- */
4587
- export enum StereoVideoType {
4588
- None = 0,
4589
- SideBySide,
4590
- TopBottom,
4591
- Num,
4592
- }
4593
- }
4594
-
4595
4594
  export namespace Multiplayer {
4596
4595
  /**
4597
4596
  * @description Enumerates the list of properties that can be replicated for a video player component.
@@ -4619,6 +4618,7 @@ export namespace Multiplayer {
4619
4618
  IsEnabled,
4620
4619
  IsVirtualVisible,
4621
4620
  StereoVideoType,
4621
+ IsStereoFlipped,
4622
4622
  Num,
4623
4623
  }
4624
4624
  }
@@ -23778,6 +23778,7 @@ export namespace Common {
23778
23778
  * @param avatarState - The initial Avatar State to set.
23779
23779
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
23780
23780
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
23781
+ * @param locomotionModel - The Initial LocomotionModel to set.
23781
23782
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
23782
23783
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
23783
23784
  */
@@ -23790,6 +23791,7 @@ export namespace Common {
23790
23791
  avatarState: Multiplayer.AvatarState,
23791
23792
  avatarId: string,
23792
23793
  avatarPlayMode: Multiplayer.AvatarPlayMode,
23794
+ locomotionModel: Multiplayer.LocomotionModel,
23793
23795
  ): Promise<Multiplayer.SpaceEntity> {
23794
23796
  var _resolve;
23795
23797
 
@@ -23810,7 +23812,7 @@ export namespace Common {
23810
23812
  _callbackPtr = Module.addFunction(_callback, "vii");
23811
23813
 
23812
23814
  Module.ccall(
23813
- "csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback",
23815
+ "csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_LocomotionModel_EntityCreatedCallback",
23814
23816
  "void",
23815
23817
  [
23816
23818
  "number",
@@ -23823,6 +23825,7 @@ export namespace Common {
23823
23825
  "number",
23824
23826
  "number",
23825
23827
  "number",
23828
+ "number",
23826
23829
  ],
23827
23830
  [
23828
23831
  this.pointer,
@@ -23833,6 +23836,7 @@ export namespace Common {
23833
23836
  avatarState,
23834
23837
  avatarId,
23835
23838
  avatarPlayMode,
23839
+ locomotionModel,
23836
23840
  _callbackPtr,
23837
23841
  0,
23838
23842
  ],
@@ -30177,6 +30181,66 @@ export namespace Systems {
30177
30181
  );
30178
30182
  }
30179
30183
 
30184
+ /**
30185
+ * @description Gets the type of stereo the texture uses.
30186
+ * @return The type of stereo used by this texture.
30187
+ */
30188
+
30189
+ getStereoVideoType(): Multiplayer.StereoVideoType {
30190
+ let _result = Module.ccall(
30191
+ "csp_systems_TextureInfo_GetStereoVideoTypeC_StereoVideoType",
30192
+ "number",
30193
+ ["number"],
30194
+ [this.pointer],
30195
+ );
30196
+
30197
+ return _result;
30198
+ }
30199
+
30200
+ /**
30201
+ * @description Sets the type of stereo the texture uses.
30202
+ * @param value - The type of stereo used by this texture.
30203
+ */
30204
+
30205
+ setStereoVideoType(value: Multiplayer.StereoVideoType): void {
30206
+ Module.ccall(
30207
+ "csp_systems_TextureInfo_SetStereoVideoType_void_StereoVideoType",
30208
+ "void",
30209
+ ["number", "number"],
30210
+ [this.pointer, value],
30211
+ );
30212
+ }
30213
+
30214
+ /**
30215
+ * @description Gets whether the stereo video left and right are flipped.
30216
+ * @return True if the stereo frames are flipped, false for default.
30217
+ */
30218
+
30219
+ getIsStereoFlipped(): boolean {
30220
+ let _result = Module.ccall(
30221
+ "csp_systems_TextureInfo_GetIsStereoFlippedC_bool",
30222
+ "boolean",
30223
+ ["number"],
30224
+ [this.pointer],
30225
+ );
30226
+
30227
+ return _result;
30228
+ }
30229
+
30230
+ /**
30231
+ * @description Sets whether the stereo video left and right are flipped.
30232
+ * @param value - True if the stereo frames are flipped, false for default.
30233
+ */
30234
+
30235
+ setIsStereoFlipped(value: boolean): void {
30236
+ Module.ccall(
30237
+ "csp_systems_TextureInfo_SetIsStereoFlipped_void_bool",
30238
+ "void",
30239
+ ["number", "boolean"],
30240
+ [this.pointer, value],
30241
+ );
30242
+ }
30243
+
30180
30244
  delete(): void {
30181
30245
  if (this.ownsPointer && !this.disposed) {
30182
30246
  Module.ccall(
@@ -36211,6 +36275,7 @@ export namespace Multiplayer {
36211
36275
  * @param state - The initial Avatar State to set.
36212
36276
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
36213
36277
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
36278
+ * @param locomotionModel - The Initial LocomotionModel to set.
36214
36279
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
36215
36280
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
36216
36281
  */
@@ -36223,6 +36288,7 @@ export namespace Multiplayer {
36223
36288
  state: Multiplayer.AvatarState,
36224
36289
  avatarId: string,
36225
36290
  avatarPlayMode: Multiplayer.AvatarPlayMode,
36291
+ locomotionModel: Multiplayer.LocomotionModel,
36226
36292
  ): Promise<Multiplayer.SpaceEntity> {
36227
36293
  var _resolve;
36228
36294
 
@@ -36243,7 +36309,7 @@ export namespace Multiplayer {
36243
36309
  _callbackPtr = Module.addFunction(_callback, "vii");
36244
36310
 
36245
36311
  Module.ccall(
36246
- "csp_multiplayer_OfflineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback",
36312
+ "csp_multiplayer_OfflineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_LocomotionModel_EntityCreatedCallback",
36247
36313
  "void",
36248
36314
  [
36249
36315
  "number",
@@ -36256,6 +36322,7 @@ export namespace Multiplayer {
36256
36322
  "number",
36257
36323
  "number",
36258
36324
  "number",
36325
+ "number",
36259
36326
  ],
36260
36327
  [
36261
36328
  this.pointer,
@@ -36266,6 +36333,7 @@ export namespace Multiplayer {
36266
36333
  state,
36267
36334
  avatarId,
36268
36335
  avatarPlayMode,
36336
+ locomotionModel,
36269
36337
  _callbackPtr,
36270
36338
  0,
36271
36339
  ],
@@ -36767,6 +36835,7 @@ export namespace Multiplayer {
36767
36835
  * @param state - The initial Avatar State to set.
36768
36836
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
36769
36837
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
36838
+ * @param locomotionModel - The Initial LocomotionModel to set.
36770
36839
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
36771
36840
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
36772
36841
  */
@@ -36779,6 +36848,7 @@ export namespace Multiplayer {
36779
36848
  state: Multiplayer.AvatarState,
36780
36849
  avatarId: string,
36781
36850
  avatarPlayMode: Multiplayer.AvatarPlayMode,
36851
+ locomotionModel: Multiplayer.LocomotionModel,
36782
36852
  ): Promise<Multiplayer.SpaceEntity> {
36783
36853
  var _resolve;
36784
36854
 
@@ -36799,7 +36869,7 @@ export namespace Multiplayer {
36799
36869
  _callbackPtr = Module.addFunction(_callback, "vii");
36800
36870
 
36801
36871
  Module.ccall(
36802
- "csp_multiplayer_OnlineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback",
36872
+ "csp_multiplayer_OnlineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_LocomotionModel_EntityCreatedCallback",
36803
36873
  "void",
36804
36874
  [
36805
36875
  "number",
@@ -36812,6 +36882,7 @@ export namespace Multiplayer {
36812
36882
  "number",
36813
36883
  "number",
36814
36884
  "number",
36885
+ "number",
36815
36886
  ],
36816
36887
  [
36817
36888
  this.pointer,
@@ -36822,6 +36893,7 @@ export namespace Multiplayer {
36822
36893
  state,
36823
36894
  avatarId,
36824
36895
  avatarPlayMode,
36896
+ locomotionModel,
36825
36897
  _callbackPtr,
36826
36898
  0,
36827
36899
  ],
@@ -48504,6 +48576,36 @@ export namespace Multiplayer {
48504
48576
  );
48505
48577
  }
48506
48578
 
48579
+ /**
48580
+ * @description Gets whether the stereo video left and right are flipped.
48581
+ * @return True if the stereo frames are flipped, false for default.
48582
+ */
48583
+
48584
+ getIsStereoFlipped(): boolean {
48585
+ let _result = Module.ccall(
48586
+ "csp_multiplayer_VideoPlayerSpaceComponent_GetIsStereoFlippedC_bool",
48587
+ "boolean",
48588
+ ["number"],
48589
+ [this.pointer],
48590
+ );
48591
+
48592
+ return _result;
48593
+ }
48594
+
48595
+ /**
48596
+ * @description Sets whether the stereo video left and right are flipped.
48597
+ * @param value - True if the stereo frames are flipped, false for default.
48598
+ */
48599
+
48600
+ setIsStereoFlipped(value: boolean): void {
48601
+ Module.ccall(
48602
+ "csp_multiplayer_VideoPlayerSpaceComponent_SetIsStereoFlipped_void_bool",
48603
+ "void",
48604
+ ["number", "boolean"],
48605
+ [this.pointer, value],
48606
+ );
48607
+ }
48608
+
48507
48609
  /**
48508
48610
  * \addtogroup IVisibleComponent
48509
48611
  @{
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": "6.23.0",
4
+ "version": "6.24.0",
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": {