connected-spaces-platform.web 6.8.0 → 6.9.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.
@@ -435,9 +435,8 @@ export declare namespace Multiplayer {
435
435
  UPDATE_FLAGS_COMPONENTS = 16,
436
436
  UPDATE_FLAGS_SELECTION_ID = 32,
437
437
  UPDATE_FLAGS_THIRD_PARTY_REF = 64,
438
- UPDATE_FLAGS_THIRD_PARTY_PLATFORM = 128,
439
- UPDATE_FLAGS_PARENT = 256,
440
- UPDATE_FLAGS_LOCK_TYPE = 512
438
+ UPDATE_FLAGS_PARENT = 128,
439
+ UPDATE_FLAGS_LOCK_TYPE = 256
441
440
  }
442
441
  }
443
442
  export declare namespace Multiplayer {
@@ -1101,6 +1100,17 @@ export declare namespace Multiplayer {
1101
1100
  Num = 3
1102
1101
  }
1103
1102
  }
1103
+ export declare namespace Multiplayer {
1104
+ /**
1105
+ * @description Enumerates the type of stereo the video player supports.
1106
+ */
1107
+ enum StereoVideoType {
1108
+ None = 0,
1109
+ SideBySide = 1,
1110
+ TopBottom = 2,
1111
+ Num = 3
1112
+ }
1113
+ }
1104
1114
  export declare namespace Multiplayer {
1105
1115
  /**
1106
1116
  * @description Enumerates the list of properties that can be replicated for a video player component.
@@ -1127,7 +1137,8 @@ export declare namespace Multiplayer {
1127
1137
  MeshComponentId = 18,
1128
1138
  IsEnabled = 19,
1129
1139
  IsVirtualVisible = 20,
1130
- Num = 21
1140
+ StereoVideoType = 21,
1141
+ Num = 22
1131
1142
  }
1132
1143
  }
1133
1144
  export declare namespace Multiplayer {
@@ -4479,17 +4490,6 @@ export declare namespace Multiplayer {
4479
4490
  * @return Whether a new value was set, may fail if not modifiable, or if a dirty property is already set to this value.
4480
4491
  */
4481
4492
  setThirdPartyRef(thirdPartyRef: string): boolean;
4482
- /**
4483
- * @description Get the third party platform type of this entity.
4484
- * @return A string representing third party platform type set for this entity.
4485
- */
4486
- getThirdPartyPlatformType(): Systems.EThirdPartyPlatform;
4487
- /**
4488
- * @description Set third party platform type for this entity.
4489
- * @param inThirdPartyPlatformType - The third party platform type to set.
4490
- * @return Whether a new value was set, may fail if not modifiable, or if a dirty property is already set to this value.
4491
- */
4492
- setThirdPartyPlatformType(thirdPartyPlatformType: Systems.EThirdPartyPlatform): boolean;
4493
4493
  /**
4494
4494
  * @description Get the type of the Entity.
4495
4495
  * @return The SpaceEntityType enum value.
@@ -9924,6 +9924,16 @@ export declare namespace Multiplayer {
9924
9924
  * @param value - The type of video source used by this component.
9925
9925
  */
9926
9926
  setVideoPlayerSourceType(value: Multiplayer.VideoPlayerSourceType): void;
9927
+ /**
9928
+ * @description Gets the type of stereo the video of this component uses.
9929
+ * @return The type of stereo used by this video.
9930
+ */
9931
+ getStereoVideoType(): Multiplayer.StereoVideoType;
9932
+ /**
9933
+ * @description Sets the type of stereo the video of this component uses.
9934
+ * @param value - The type of stereo used by this video.
9935
+ */
9936
+ setStereoVideoType(value: Multiplayer.StereoVideoType): void;
9927
9937
  /**
9928
9938
  * \addtogroup IVisibleComponent
9929
9939
  @{
@@ -579,6 +579,11 @@ function csp_multiplayer_VideoPlayerSourceTypeFactory(nativePointer) {
579
579
  }
580
580
  ProxyClassFactories["csp_multiplayer_VideoPlayerSourceType"] =
581
581
  csp_multiplayer_VideoPlayerSourceTypeFactory;
582
+ function csp_multiplayer_StereoVideoTypeFactory(nativePointer) {
583
+ return nativePointer.pointer;
584
+ }
585
+ ProxyClassFactories["csp_multiplayer_StereoVideoType"] =
586
+ csp_multiplayer_StereoVideoTypeFactory;
582
587
  function csp_multiplayer_VideoPlayerPropertyKeysFactory(nativePointer) {
583
588
  return nativePointer.pointer;
584
589
  }
@@ -2368,9 +2373,8 @@ export var Systems;
2368
2373
  SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_COMPONENTS"] = 16] = "UPDATE_FLAGS_COMPONENTS";
2369
2374
  SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_SELECTION_ID"] = 32] = "UPDATE_FLAGS_SELECTION_ID";
2370
2375
  SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_THIRD_PARTY_REF"] = 64] = "UPDATE_FLAGS_THIRD_PARTY_REF";
2371
- SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_THIRD_PARTY_PLATFORM"] = 128] = "UPDATE_FLAGS_THIRD_PARTY_PLATFORM";
2372
- SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_PARENT"] = 256] = "UPDATE_FLAGS_PARENT";
2373
- SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_LOCK_TYPE"] = 512] = "UPDATE_FLAGS_LOCK_TYPE";
2376
+ SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_PARENT"] = 128] = "UPDATE_FLAGS_PARENT";
2377
+ SpaceEntityUpdateFlags[SpaceEntityUpdateFlags["UPDATE_FLAGS_LOCK_TYPE"] = 256] = "UPDATE_FLAGS_LOCK_TYPE";
2374
2378
  })(SpaceEntityUpdateFlags = Multiplayer.SpaceEntityUpdateFlags || (Multiplayer.SpaceEntityUpdateFlags = {}));
2375
2379
  })(Multiplayer || (Multiplayer = {}));
2376
2380
  (function (Multiplayer) {
@@ -3080,6 +3084,18 @@ export var Systems;
3080
3084
  VideoPlayerSourceType[VideoPlayerSourceType["Num"] = 3] = "Num";
3081
3085
  })(VideoPlayerSourceType = Multiplayer.VideoPlayerSourceType || (Multiplayer.VideoPlayerSourceType = {}));
3082
3086
  })(Multiplayer || (Multiplayer = {}));
3087
+ (function (Multiplayer) {
3088
+ /**
3089
+ * @description Enumerates the type of stereo the video player supports.
3090
+ */
3091
+ let StereoVideoType;
3092
+ (function (StereoVideoType) {
3093
+ StereoVideoType[StereoVideoType["None"] = 0] = "None";
3094
+ StereoVideoType[StereoVideoType["SideBySide"] = 1] = "SideBySide";
3095
+ StereoVideoType[StereoVideoType["TopBottom"] = 2] = "TopBottom";
3096
+ StereoVideoType[StereoVideoType["Num"] = 3] = "Num";
3097
+ })(StereoVideoType = Multiplayer.StereoVideoType || (Multiplayer.StereoVideoType = {}));
3098
+ })(Multiplayer || (Multiplayer = {}));
3083
3099
  (function (Multiplayer) {
3084
3100
  /**
3085
3101
  * @description Enumerates the list of properties that can be replicated for a video player component.
@@ -3107,7 +3123,8 @@ export var Systems;
3107
3123
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["MeshComponentId"] = 18] = "MeshComponentId";
3108
3124
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsEnabled"] = 19] = "IsEnabled";
3109
3125
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsVirtualVisible"] = 20] = "IsVirtualVisible";
3110
- VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Num"] = 21] = "Num";
3126
+ VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["StereoVideoType"] = 21] = "StereoVideoType";
3127
+ VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Num"] = 22] = "Num";
3111
3128
  })(VideoPlayerPropertyKeys = Multiplayer.VideoPlayerPropertyKeys || (Multiplayer.VideoPlayerPropertyKeys = {}));
3112
3129
  })(Multiplayer || (Multiplayer = {}));
3113
3130
  (function (Multiplayer) {
@@ -11497,23 +11514,6 @@ export class CSPFoundation {
11497
11514
  let _result = Module.ccall("csp_multiplayer_SpaceEntity_SetThirdPartyRef_bool_StringRC", "boolean", ["number", "string"], [this.pointer, thirdPartyRef]);
11498
11515
  return _result;
11499
11516
  }
11500
- /**
11501
- * @description Get the third party platform type of this entity.
11502
- * @return A string representing third party platform type set for this entity.
11503
- */
11504
- getThirdPartyPlatformType() {
11505
- let _result = Module.ccall("csp_multiplayer_SpaceEntity_GetThirdPartyPlatformTypeC_EThirdPartyPlatform", "number", ["number"], [this.pointer]);
11506
- return _result;
11507
- }
11508
- /**
11509
- * @description Set third party platform type for this entity.
11510
- * @param inThirdPartyPlatformType - The third party platform type to set.
11511
- * @return Whether a new value was set, may fail if not modifiable, or if a dirty property is already set to this value.
11512
- */
11513
- setThirdPartyPlatformType(thirdPartyPlatformType) {
11514
- let _result = Module.ccall("csp_multiplayer_SpaceEntity_SetThirdPartyPlatformType_bool_EThirdPartyPlatformC", "boolean", ["number", "number"], [this.pointer, thirdPartyPlatformType]);
11515
- return _result;
11516
- }
11517
11517
  /**
11518
11518
  * @description Get the type of the Entity.
11519
11519
  * @return The SpaceEntityType enum value.
@@ -22610,6 +22610,21 @@ export class CSPFoundation {
22610
22610
  setVideoPlayerSourceType(value) {
22611
22611
  Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetVideoPlayerSourceType_void_VideoPlayerSourceType", "void", ["number", "number"], [this.pointer, value]);
22612
22612
  }
22613
+ /**
22614
+ * @description Gets the type of stereo the video of this component uses.
22615
+ * @return The type of stereo used by this video.
22616
+ */
22617
+ getStereoVideoType() {
22618
+ let _result = Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_GetStereoVideoTypeC_StereoVideoType", "number", ["number"], [this.pointer]);
22619
+ return _result;
22620
+ }
22621
+ /**
22622
+ * @description Sets the type of stereo the video of this component uses.
22623
+ * @param value - The type of stereo used by this video.
22624
+ */
22625
+ setStereoVideoType(value) {
22626
+ Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetStereoVideoType_void_StereoVideoType", "void", ["number", "number"], [this.pointer, value]);
22627
+ }
22613
22628
  /**
22614
22629
  * \addtogroup IVisibleComponent
22615
22630
  @{