connected-spaces-platform.web 6.9.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.
@@ -1100,6 +1100,17 @@ export declare namespace Multiplayer {
1100
1100
  Num = 3
1101
1101
  }
1102
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
+ }
1103
1114
  export declare namespace Multiplayer {
1104
1115
  /**
1105
1116
  * @description Enumerates the list of properties that can be replicated for a video player component.
@@ -1126,7 +1137,8 @@ export declare namespace Multiplayer {
1126
1137
  MeshComponentId = 18,
1127
1138
  IsEnabled = 19,
1128
1139
  IsVirtualVisible = 20,
1129
- Num = 21
1140
+ StereoVideoType = 21,
1141
+ Num = 22
1130
1142
  }
1131
1143
  }
1132
1144
  export declare namespace Multiplayer {
@@ -9912,6 +9924,16 @@ export declare namespace Multiplayer {
9912
9924
  * @param value - The type of video source used by this component.
9913
9925
  */
9914
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;
9915
9937
  /**
9916
9938
  * \addtogroup IVisibleComponent
9917
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
  }
@@ -3079,6 +3084,18 @@ export var Systems;
3079
3084
  VideoPlayerSourceType[VideoPlayerSourceType["Num"] = 3] = "Num";
3080
3085
  })(VideoPlayerSourceType = Multiplayer.VideoPlayerSourceType || (Multiplayer.VideoPlayerSourceType = {}));
3081
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 = {}));
3082
3099
  (function (Multiplayer) {
3083
3100
  /**
3084
3101
  * @description Enumerates the list of properties that can be replicated for a video player component.
@@ -3106,7 +3123,8 @@ export var Systems;
3106
3123
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["MeshComponentId"] = 18] = "MeshComponentId";
3107
3124
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsEnabled"] = 19] = "IsEnabled";
3108
3125
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsVirtualVisible"] = 20] = "IsVirtualVisible";
3109
- VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Num"] = 21] = "Num";
3126
+ VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["StereoVideoType"] = 21] = "StereoVideoType";
3127
+ VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Num"] = 22] = "Num";
3110
3128
  })(VideoPlayerPropertyKeys = Multiplayer.VideoPlayerPropertyKeys || (Multiplayer.VideoPlayerPropertyKeys = {}));
3111
3129
  })(Multiplayer || (Multiplayer = {}));
3112
3130
  (function (Multiplayer) {
@@ -22592,6 +22610,21 @@ export class CSPFoundation {
22592
22610
  setVideoPlayerSourceType(value) {
22593
22611
  Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetVideoPlayerSourceType_void_VideoPlayerSourceType", "void", ["number", "number"], [this.pointer, value]);
22594
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
+ }
22595
22628
  /**
22596
22629
  * \addtogroup IVisibleComponent
22597
22630
  @{