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.
@@ -245,6 +245,16 @@ export declare namespace Multiplayer {
245
245
  Num = 4
246
246
  }
247
247
  }
248
+ export declare namespace Multiplayer {
249
+ /**
250
+ * @description Enumerates the supported locomotion models available for the avatar movements.
251
+ */
252
+ enum LocomotionModel {
253
+ Grounded = 0,
254
+ FreeCamera = 1,
255
+ Num = 2
256
+ }
257
+ }
248
258
  export declare namespace Multiplayer {
249
259
  /**
250
260
  * @description Enum used to indicate the failure state of a multiplayer request.
@@ -267,6 +277,16 @@ export declare namespace Multiplayer {
267
277
  EntityNotOwnedAndUntransferable = 2
268
278
  }
269
279
  }
280
+ export declare namespace Multiplayer {
281
+ /**
282
+ * @description Enumerates the type of stereo the video player and texture material supports.
283
+ */
284
+ enum StereoVideoType {
285
+ None = 0,
286
+ SideBySide = 1,
287
+ TopBottom = 2
288
+ }
289
+ }
270
290
  export declare namespace Systems {
271
291
  /**
272
292
  * @description Indicates special handling for any thirdparty platform
@@ -605,16 +625,6 @@ export declare namespace Multiplayer {
605
625
  Num = 11
606
626
  }
607
627
  }
608
- export declare namespace Multiplayer {
609
- /**
610
- * @description Enumerates the supported locomotion models available for the avatar movements.
611
- */
612
- enum LocomotionModel {
613
- Grounded = 0,
614
- FreeCamera = 1,
615
- Num = 2
616
- }
617
- }
618
628
  export declare namespace Multiplayer {
619
629
  /**
620
630
  * @description Enumerates the list of properties that can be replicated for an avatar component.
@@ -1128,17 +1138,6 @@ export declare namespace Multiplayer {
1128
1138
  Num = 3
1129
1139
  }
1130
1140
  }
1131
- export declare namespace Multiplayer {
1132
- /**
1133
- * @description Enumerates the type of stereo the video player supports.
1134
- */
1135
- enum StereoVideoType {
1136
- None = 0,
1137
- SideBySide = 1,
1138
- TopBottom = 2,
1139
- Num = 3
1140
- }
1141
- }
1142
1141
  export declare namespace Multiplayer {
1143
1142
  /**
1144
1143
  * @description Enumerates the list of properties that can be replicated for a video player component.
@@ -1166,7 +1165,8 @@ export declare namespace Multiplayer {
1166
1165
  IsEnabled = 19,
1167
1166
  IsVirtualVisible = 20,
1168
1167
  StereoVideoType = 21,
1169
- Num = 22
1168
+ IsStereoFlipped = 22,
1169
+ Num = 23
1170
1170
  }
1171
1171
  }
1172
1172
  export declare namespace Multiplayer {
@@ -4064,10 +4064,11 @@ export declare namespace Common {
4064
4064
  * @param avatarState - The initial Avatar State to set.
4065
4065
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
4066
4066
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
4067
+ * @param locomotionModel - The Initial LocomotionModel to set.
4067
4068
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
4068
4069
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
4069
4070
  */
4070
- createAvatar(name: string, userId: string, spaceTransform: Multiplayer.SpaceTransform, isVisible: boolean, avatarState: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode): Promise<Multiplayer.SpaceEntity>;
4071
+ createAvatar(name: string, userId: string, spaceTransform: Multiplayer.SpaceTransform, isVisible: boolean, avatarState: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode, locomotionModel: Multiplayer.LocomotionModel): Promise<Multiplayer.SpaceEntity>;
4071
4072
  /**
4072
4073
  * @description Create and add a SpaceEntity, with relevant default values.
4073
4074
  * @param name - The name of the newly created SpaceEntity.
@@ -5573,6 +5574,26 @@ export declare namespace Systems {
5573
5574
  * @param value - Bool
5574
5575
  */
5575
5576
  setTexture(value: boolean): void;
5577
+ /**
5578
+ * @description Gets the type of stereo the texture uses.
5579
+ * @return The type of stereo used by this texture.
5580
+ */
5581
+ getStereoVideoType(): Multiplayer.StereoVideoType;
5582
+ /**
5583
+ * @description Sets the type of stereo the texture uses.
5584
+ * @param value - The type of stereo used by this texture.
5585
+ */
5586
+ setStereoVideoType(value: Multiplayer.StereoVideoType): void;
5587
+ /**
5588
+ * @description Gets whether the stereo video left and right are flipped.
5589
+ * @return True if the stereo frames are flipped, false for default.
5590
+ */
5591
+ getIsStereoFlipped(): boolean;
5592
+ /**
5593
+ * @description Sets whether the stereo video left and right are flipped.
5594
+ * @param value - True if the stereo frames are flipped, false for default.
5595
+ */
5596
+ setIsStereoFlipped(value: boolean): void;
5576
5597
  delete(): void;
5577
5598
  }
5578
5599
  }
@@ -6547,10 +6568,11 @@ export declare namespace Multiplayer {
6547
6568
  * @param state - The initial Avatar State to set.
6548
6569
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
6549
6570
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
6571
+ * @param locomotionModel - The Initial LocomotionModel to set.
6550
6572
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
6551
6573
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
6552
6574
  */
6553
- createAvatar(name: string, userId: string, transform: Multiplayer.SpaceTransform, isVisible: boolean, state: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode): Promise<Multiplayer.SpaceEntity>;
6575
+ createAvatar(name: string, userId: string, transform: Multiplayer.SpaceTransform, isVisible: boolean, state: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode, locomotionModel: Multiplayer.LocomotionModel): Promise<Multiplayer.SpaceEntity>;
6554
6576
  /**
6555
6577
  * @description Create and add a SpaceEntity, with relevant default values.
6556
6578
  * @param name - The name of the newly created SpaceEntity.
@@ -6682,10 +6704,11 @@ export declare namespace Multiplayer {
6682
6704
  * @param state - The initial Avatar State to set.
6683
6705
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
6684
6706
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
6707
+ * @param locomotionModel - The Initial LocomotionModel to set.
6685
6708
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
6686
6709
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
6687
6710
  */
6688
- createAvatar(name: string, userId: string, spaceTransform: Multiplayer.SpaceTransform, isVisible: boolean, state: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode): Promise<Multiplayer.SpaceEntity>;
6711
+ createAvatar(name: string, userId: string, spaceTransform: Multiplayer.SpaceTransform, isVisible: boolean, state: Multiplayer.AvatarState, avatarId: string, avatarPlayMode: Multiplayer.AvatarPlayMode, locomotionModel: Multiplayer.LocomotionModel): Promise<Multiplayer.SpaceEntity>;
6689
6712
  /**
6690
6713
  * @description Create and add a SpaceEntity, with relevant default values.
6691
6714
  * @param name - The name of the newly created SpaceEntity.
@@ -10127,6 +10150,16 @@ export declare namespace Multiplayer {
10127
10150
  * @param value - The type of stereo used by this video.
10128
10151
  */
10129
10152
  setStereoVideoType(value: Multiplayer.StereoVideoType): void;
10153
+ /**
10154
+ * @description Gets whether the stereo video left and right are flipped.
10155
+ * @return True if the stereo frames are flipped, false for default.
10156
+ */
10157
+ getIsStereoFlipped(): boolean;
10158
+ /**
10159
+ * @description Sets whether the stereo video left and right are flipped.
10160
+ * @param value - True if the stereo frames are flipped, false for default.
10161
+ */
10162
+ setIsStereoFlipped(value: boolean): void;
10130
10163
  /**
10131
10164
  * \addtogroup IVisibleComponent
10132
10165
  @{
@@ -307,6 +307,11 @@ function csp_multiplayer_AvatarPlayModeFactory(nativePointer) {
307
307
  }
308
308
  ProxyClassFactories["csp_multiplayer_AvatarPlayMode"] =
309
309
  csp_multiplayer_AvatarPlayModeFactory;
310
+ function csp_multiplayer_LocomotionModelFactory(nativePointer) {
311
+ return nativePointer.pointer;
312
+ }
313
+ ProxyClassFactories["csp_multiplayer_LocomotionModel"] =
314
+ csp_multiplayer_LocomotionModelFactory;
310
315
  function csp_multiplayer_ErrorCodeFactory(nativePointer) {
311
316
  return nativePointer.pointer;
312
317
  }
@@ -317,6 +322,11 @@ function csp_multiplayer_ModifiableStatusFactory(nativePointer) {
317
322
  }
318
323
  ProxyClassFactories["csp_multiplayer_ModifiableStatus"] =
319
324
  csp_multiplayer_ModifiableStatusFactory;
325
+ function csp_multiplayer_StereoVideoTypeFactory(nativePointer) {
326
+ return nativePointer.pointer;
327
+ }
328
+ ProxyClassFactories["csp_multiplayer_StereoVideoType"] =
329
+ csp_multiplayer_StereoVideoTypeFactory;
320
330
  function csp_systems_EThirdPartyPlatformFactory(nativePointer) {
321
331
  return nativePointer.pointer;
322
332
  }
@@ -414,11 +424,6 @@ function csp_multiplayer_AudioPropertyKeysFactory(nativePointer) {
414
424
  }
415
425
  ProxyClassFactories["csp_multiplayer_AudioPropertyKeys"] =
416
426
  csp_multiplayer_AudioPropertyKeysFactory;
417
- function csp_multiplayer_LocomotionModelFactory(nativePointer) {
418
- return nativePointer.pointer;
419
- }
420
- ProxyClassFactories["csp_multiplayer_LocomotionModel"] =
421
- csp_multiplayer_LocomotionModelFactory;
422
427
  function csp_multiplayer_AvatarComponentPropertyKeysFactory(nativePointer) {
423
428
  return nativePointer.pointer;
424
429
  }
@@ -593,11 +598,6 @@ function csp_multiplayer_VideoPlayerSourceTypeFactory(nativePointer) {
593
598
  }
594
599
  ProxyClassFactories["csp_multiplayer_VideoPlayerSourceType"] =
595
600
  csp_multiplayer_VideoPlayerSourceTypeFactory;
596
- function csp_multiplayer_StereoVideoTypeFactory(nativePointer) {
597
- return nativePointer.pointer;
598
- }
599
- ProxyClassFactories["csp_multiplayer_StereoVideoType"] =
600
- csp_multiplayer_StereoVideoTypeFactory;
601
601
  function csp_multiplayer_VideoPlayerPropertyKeysFactory(nativePointer) {
602
602
  return nativePointer.pointer;
603
603
  }
@@ -2232,6 +2232,17 @@ export var Multiplayer;
2232
2232
  AvatarPlayMode[AvatarPlayMode["Num"] = 4] = "Num";
2233
2233
  })(AvatarPlayMode = Multiplayer.AvatarPlayMode || (Multiplayer.AvatarPlayMode = {}));
2234
2234
  })(Multiplayer || (Multiplayer = {}));
2235
+ (function (Multiplayer) {
2236
+ /**
2237
+ * @description Enumerates the supported locomotion models available for the avatar movements.
2238
+ */
2239
+ let LocomotionModel;
2240
+ (function (LocomotionModel) {
2241
+ LocomotionModel[LocomotionModel["Grounded"] = 0] = "Grounded";
2242
+ LocomotionModel[LocomotionModel["FreeCamera"] = 1] = "FreeCamera";
2243
+ LocomotionModel[LocomotionModel["Num"] = 2] = "Num";
2244
+ })(LocomotionModel = Multiplayer.LocomotionModel || (Multiplayer.LocomotionModel = {}));
2245
+ })(Multiplayer || (Multiplayer = {}));
2235
2246
  (function (Multiplayer) {
2236
2247
  /**
2237
2248
  * @description Enum used to indicate the failure state of a multiplayer request.
@@ -2256,6 +2267,17 @@ export var Multiplayer;
2256
2267
  ModifiableStatus[ModifiableStatus["EntityNotOwnedAndUntransferable"] = 2] = "EntityNotOwnedAndUntransferable";
2257
2268
  })(ModifiableStatus = Multiplayer.ModifiableStatus || (Multiplayer.ModifiableStatus = {}));
2258
2269
  })(Multiplayer || (Multiplayer = {}));
2270
+ (function (Multiplayer) {
2271
+ /**
2272
+ * @description Enumerates the type of stereo the video player and texture material supports.
2273
+ */
2274
+ let StereoVideoType;
2275
+ (function (StereoVideoType) {
2276
+ StereoVideoType[StereoVideoType["None"] = 0] = "None";
2277
+ StereoVideoType[StereoVideoType["SideBySide"] = 1] = "SideBySide";
2278
+ StereoVideoType[StereoVideoType["TopBottom"] = 2] = "TopBottom";
2279
+ })(StereoVideoType = Multiplayer.StereoVideoType || (Multiplayer.StereoVideoType = {}));
2280
+ })(Multiplayer || (Multiplayer = {}));
2259
2281
  export var Systems;
2260
2282
  (function (Systems) {
2261
2283
  /**
@@ -2616,17 +2638,6 @@ export var Systems;
2616
2638
  AudioPropertyKeys[AudioPropertyKeys["Num"] = 11] = "Num";
2617
2639
  })(AudioPropertyKeys = Multiplayer.AudioPropertyKeys || (Multiplayer.AudioPropertyKeys = {}));
2618
2640
  })(Multiplayer || (Multiplayer = {}));
2619
- (function (Multiplayer) {
2620
- /**
2621
- * @description Enumerates the supported locomotion models available for the avatar movements.
2622
- */
2623
- let LocomotionModel;
2624
- (function (LocomotionModel) {
2625
- LocomotionModel[LocomotionModel["Grounded"] = 0] = "Grounded";
2626
- LocomotionModel[LocomotionModel["FreeCamera"] = 1] = "FreeCamera";
2627
- LocomotionModel[LocomotionModel["Num"] = 2] = "Num";
2628
- })(LocomotionModel = Multiplayer.LocomotionModel || (Multiplayer.LocomotionModel = {}));
2629
- })(Multiplayer || (Multiplayer = {}));
2630
2641
  (function (Multiplayer) {
2631
2642
  /**
2632
2643
  * @description Enumerates the list of properties that can be replicated for an avatar component.
@@ -3175,18 +3186,6 @@ export var Systems;
3175
3186
  VideoPlayerSourceType[VideoPlayerSourceType["Num"] = 3] = "Num";
3176
3187
  })(VideoPlayerSourceType = Multiplayer.VideoPlayerSourceType || (Multiplayer.VideoPlayerSourceType = {}));
3177
3188
  })(Multiplayer || (Multiplayer = {}));
3178
- (function (Multiplayer) {
3179
- /**
3180
- * @description Enumerates the type of stereo the video player supports.
3181
- */
3182
- let StereoVideoType;
3183
- (function (StereoVideoType) {
3184
- StereoVideoType[StereoVideoType["None"] = 0] = "None";
3185
- StereoVideoType[StereoVideoType["SideBySide"] = 1] = "SideBySide";
3186
- StereoVideoType[StereoVideoType["TopBottom"] = 2] = "TopBottom";
3187
- StereoVideoType[StereoVideoType["Num"] = 3] = "Num";
3188
- })(StereoVideoType = Multiplayer.StereoVideoType || (Multiplayer.StereoVideoType = {}));
3189
- })(Multiplayer || (Multiplayer = {}));
3190
3189
  (function (Multiplayer) {
3191
3190
  /**
3192
3191
  * @description Enumerates the list of properties that can be replicated for a video player component.
@@ -3215,7 +3214,8 @@ export var Systems;
3215
3214
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsEnabled"] = 19] = "IsEnabled";
3216
3215
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsVirtualVisible"] = 20] = "IsVirtualVisible";
3217
3216
  VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["StereoVideoType"] = 21] = "StereoVideoType";
3218
- VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Num"] = 22] = "Num";
3217
+ VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsStereoFlipped"] = 22] = "IsStereoFlipped";
3218
+ VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Num"] = 23] = "Num";
3219
3219
  })(VideoPlayerPropertyKeys = Multiplayer.VideoPlayerPropertyKeys || (Multiplayer.VideoPlayerPropertyKeys = {}));
3220
3220
  })(Multiplayer || (Multiplayer = {}));
3221
3221
  (function (Multiplayer) {
@@ -10586,10 +10586,11 @@ export class CSPFoundation {
10586
10586
  * @param avatarState - The initial Avatar State to set.
10587
10587
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
10588
10588
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
10589
+ * @param locomotionModel - The Initial LocomotionModel to set.
10589
10590
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
10590
10591
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
10591
10592
  */
10592
- async createAvatar(name, userId, spaceTransform, isVisible, avatarState, avatarId, avatarPlayMode) {
10593
+ async createAvatar(name, userId, spaceTransform, isVisible, avatarState, avatarId, avatarPlayMode, locomotionModel) {
10593
10594
  var _resolve;
10594
10595
  var _promise = new Promise((_r) => {
10595
10596
  _resolve = _r;
@@ -10602,7 +10603,7 @@ export class CSPFoundation {
10602
10603
  Module.removeFunction(_callbackPtr);
10603
10604
  };
10604
10605
  _callbackPtr = Module.addFunction(_callback, "vii");
10605
- Module.ccall("csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
10606
+ Module.ccall("csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_LocomotionModel_EntityCreatedCallback", "void", [
10606
10607
  "number",
10607
10608
  "string",
10608
10609
  "string",
@@ -10613,6 +10614,7 @@ export class CSPFoundation {
10613
10614
  "number",
10614
10615
  "number",
10615
10616
  "number",
10617
+ "number",
10616
10618
  ], [
10617
10619
  this.pointer,
10618
10620
  name,
@@ -10622,6 +10624,7 @@ export class CSPFoundation {
10622
10624
  avatarState,
10623
10625
  avatarId,
10624
10626
  avatarPlayMode,
10627
+ locomotionModel,
10625
10628
  _callbackPtr,
10626
10629
  0,
10627
10630
  ]);
@@ -13881,6 +13884,36 @@ export class CSPFoundation {
13881
13884
  setTexture(value) {
13882
13885
  Module.ccall("csp_systems_TextureInfo_SetTexture_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
13883
13886
  }
13887
+ /**
13888
+ * @description Gets the type of stereo the texture uses.
13889
+ * @return The type of stereo used by this texture.
13890
+ */
13891
+ getStereoVideoType() {
13892
+ let _result = Module.ccall("csp_systems_TextureInfo_GetStereoVideoTypeC_StereoVideoType", "number", ["number"], [this.pointer]);
13893
+ return _result;
13894
+ }
13895
+ /**
13896
+ * @description Sets the type of stereo the texture uses.
13897
+ * @param value - The type of stereo used by this texture.
13898
+ */
13899
+ setStereoVideoType(value) {
13900
+ Module.ccall("csp_systems_TextureInfo_SetStereoVideoType_void_StereoVideoType", "void", ["number", "number"], [this.pointer, value]);
13901
+ }
13902
+ /**
13903
+ * @description Gets whether the stereo video left and right are flipped.
13904
+ * @return True if the stereo frames are flipped, false for default.
13905
+ */
13906
+ getIsStereoFlipped() {
13907
+ let _result = Module.ccall("csp_systems_TextureInfo_GetIsStereoFlippedC_bool", "boolean", ["number"], [this.pointer]);
13908
+ return _result;
13909
+ }
13910
+ /**
13911
+ * @description Sets whether the stereo video left and right are flipped.
13912
+ * @param value - True if the stereo frames are flipped, false for default.
13913
+ */
13914
+ setIsStereoFlipped(value) {
13915
+ Module.ccall("csp_systems_TextureInfo_SetIsStereoFlipped_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
13916
+ }
13884
13917
  delete() {
13885
13918
  if (this.ownsPointer && !this.disposed) {
13886
13919
  Module.ccall("csp_systems_TextureInfo_Dtor", "void", ["number"], [this.pointer]);
@@ -16543,10 +16576,11 @@ export class CSPFoundation {
16543
16576
  * @param state - The initial Avatar State to set.
16544
16577
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
16545
16578
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
16579
+ * @param locomotionModel - The Initial LocomotionModel to set.
16546
16580
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
16547
16581
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
16548
16582
  */
16549
- async createAvatar(name, userId, transform, isVisible, state, avatarId, avatarPlayMode) {
16583
+ async createAvatar(name, userId, transform, isVisible, state, avatarId, avatarPlayMode, locomotionModel) {
16550
16584
  var _resolve;
16551
16585
  var _promise = new Promise((_r) => {
16552
16586
  _resolve = _r;
@@ -16559,7 +16593,7 @@ export class CSPFoundation {
16559
16593
  Module.removeFunction(_callbackPtr);
16560
16594
  };
16561
16595
  _callbackPtr = Module.addFunction(_callback, "vii");
16562
- Module.ccall("csp_multiplayer_OfflineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
16596
+ Module.ccall("csp_multiplayer_OfflineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_LocomotionModel_EntityCreatedCallback", "void", [
16563
16597
  "number",
16564
16598
  "string",
16565
16599
  "string",
@@ -16570,6 +16604,7 @@ export class CSPFoundation {
16570
16604
  "number",
16571
16605
  "number",
16572
16606
  "number",
16607
+ "number",
16573
16608
  ], [
16574
16609
  this.pointer,
16575
16610
  name,
@@ -16579,6 +16614,7 @@ export class CSPFoundation {
16579
16614
  state,
16580
16615
  avatarId,
16581
16616
  avatarPlayMode,
16617
+ locomotionModel,
16582
16618
  _callbackPtr,
16583
16619
  0,
16584
16620
  ]);
@@ -16870,10 +16906,11 @@ export class CSPFoundation {
16870
16906
  * @param state - The initial Avatar State to set.
16871
16907
  * @param avatarId - The ID to be set on the AvatarSpaceComponent
16872
16908
  * @param avatarPlayMode - The Initial AvatarPlayMode to set.
16909
+ * @param locomotionModel - The Initial LocomotionModel to set.
16873
16910
  * @param callback - Csp::multiplayer::entitycreatedcallback a callback that executes when the creation is complete,
16874
16911
  * which will provide a non-owning pointer to the new SpaceEntity so that it can be used on the local client.
16875
16912
  */
16876
- async createAvatar(name, userId, spaceTransform, isVisible, state, avatarId, avatarPlayMode) {
16913
+ async createAvatar(name, userId, spaceTransform, isVisible, state, avatarId, avatarPlayMode, locomotionModel) {
16877
16914
  var _resolve;
16878
16915
  var _promise = new Promise((_r) => {
16879
16916
  _resolve = _r;
@@ -16886,7 +16923,7 @@ export class CSPFoundation {
16886
16923
  Module.removeFunction(_callbackPtr);
16887
16924
  };
16888
16925
  _callbackPtr = Module.addFunction(_callback, "vii");
16889
- Module.ccall("csp_multiplayer_OnlineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
16926
+ Module.ccall("csp_multiplayer_OnlineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_LocomotionModel_EntityCreatedCallback", "void", [
16890
16927
  "number",
16891
16928
  "string",
16892
16929
  "string",
@@ -16897,6 +16934,7 @@ export class CSPFoundation {
16897
16934
  "number",
16898
16935
  "number",
16899
16936
  "number",
16937
+ "number",
16900
16938
  ], [
16901
16939
  this.pointer,
16902
16940
  name,
@@ -16906,6 +16944,7 @@ export class CSPFoundation {
16906
16944
  state,
16907
16945
  avatarId,
16908
16946
  avatarPlayMode,
16947
+ locomotionModel,
16909
16948
  _callbackPtr,
16910
16949
  0,
16911
16950
  ]);
@@ -23093,6 +23132,21 @@ export class CSPFoundation {
23093
23132
  setStereoVideoType(value) {
23094
23133
  Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetStereoVideoType_void_StereoVideoType", "void", ["number", "number"], [this.pointer, value]);
23095
23134
  }
23135
+ /**
23136
+ * @description Gets whether the stereo video left and right are flipped.
23137
+ * @return True if the stereo frames are flipped, false for default.
23138
+ */
23139
+ getIsStereoFlipped() {
23140
+ let _result = Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_GetIsStereoFlippedC_bool", "boolean", ["number"], [this.pointer]);
23141
+ return _result;
23142
+ }
23143
+ /**
23144
+ * @description Sets whether the stereo video left and right are flipped.
23145
+ * @param value - True if the stereo frames are flipped, false for default.
23146
+ */
23147
+ setIsStereoFlipped(value) {
23148
+ Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetIsStereoFlipped_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
23149
+ }
23096
23150
  /**
23097
23151
  * \addtogroup IVisibleComponent
23098
23152
  @{