connected-spaces-platform.web 5.11.0 → 5.13.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.
@@ -811,6 +811,13 @@ function csp_systems_EAssetCollectionTypeFactory(
811
811
  ProxyClassFactories["csp_systems_EAssetCollectionType"] =
812
812
  csp_systems_EAssetCollectionTypeFactory;
813
813
 
814
+ function csp_systems_EShaderTypeFactory(
815
+ nativePointer: NativePointer,
816
+ ): Systems.EShaderType {
817
+ return nativePointer.pointer as Systems.EShaderType;
818
+ }
819
+ ProxyClassFactories["csp_systems_EShaderType"] = csp_systems_EShaderTypeFactory;
820
+
814
821
  function csp_systems_EAlphaModeFactory(
815
822
  nativePointer: NativePointer,
816
823
  ): Systems.EAlphaMode {
@@ -818,12 +825,20 @@ function csp_systems_EAlphaModeFactory(
818
825
  }
819
826
  ProxyClassFactories["csp_systems_EAlphaMode"] = csp_systems_EAlphaModeFactory;
820
827
 
821
- function csp_systems_EShaderTypeFactory(
828
+ function csp_systems_EBlendModeFactory(
822
829
  nativePointer: NativePointer,
823
- ): Systems.EShaderType {
824
- return nativePointer.pointer as Systems.EShaderType;
830
+ ): Systems.EBlendMode {
831
+ return nativePointer.pointer as Systems.EBlendMode;
825
832
  }
826
- ProxyClassFactories["csp_systems_EShaderType"] = csp_systems_EShaderTypeFactory;
833
+ ProxyClassFactories["csp_systems_EBlendMode"] = csp_systems_EBlendModeFactory;
834
+
835
+ function csp_systems_EColorChannelFactory(
836
+ nativePointer: NativePointer,
837
+ ): Systems.EColorChannel {
838
+ return nativePointer.pointer as Systems.EColorChannel;
839
+ }
840
+ ProxyClassFactories["csp_systems_EColorChannel"] =
841
+ csp_systems_EColorChannelFactory;
827
842
 
828
843
  function csp_systems_ETextureResourceTypeFactory(
829
844
  nativePointer: NativePointer,
@@ -1521,6 +1536,14 @@ function csp_systems_AgoraUserTokenParamsFactory(
1521
1536
  ProxyClassFactories["csp_systems_AgoraUserTokenParams"] =
1522
1537
  csp_systems_AgoraUserTokenParamsFactory;
1523
1538
 
1539
+ function csp_systems_TokenInfoParamsFactory(
1540
+ nativePointer: NativePointer,
1541
+ ): NativeClassWrapper {
1542
+ return new Systems.TokenInfoParams(nativePointer);
1543
+ }
1544
+ ProxyClassFactories["csp_systems_TokenInfoParams"] =
1545
+ csp_systems_TokenInfoParamsFactory;
1546
+
1524
1547
  function csp_systems_BasicProfileFactory(
1525
1548
  nativePointer: NativePointer,
1526
1549
  ): NativeClassWrapper {
@@ -1823,6 +1846,14 @@ function csp_systems_HTTPHeadersResultFactory(
1823
1846
  ProxyClassFactories["csp_systems_HTTPHeadersResult"] =
1824
1847
  csp_systems_HTTPHeadersResultFactory;
1825
1848
 
1849
+ function csp_systems_AlphaVideoMaterialFactory(
1850
+ nativePointer: NativePointer,
1851
+ ): NativeClassWrapper {
1852
+ return new Systems.AlphaVideoMaterial(nativePointer);
1853
+ }
1854
+ ProxyClassFactories["csp_systems_AlphaVideoMaterial"] =
1855
+ csp_systems_AlphaVideoMaterialFactory;
1856
+
1826
1857
  function csp_systems_AssetResultFactory(
1827
1858
  nativePointer: NativePointer,
1828
1859
  ): NativeClassWrapper {
@@ -1884,29 +1915,29 @@ function csp_systems_GLTFMaterialFactory(
1884
1915
  ProxyClassFactories["csp_systems_GLTFMaterial"] =
1885
1916
  csp_systems_GLTFMaterialFactory;
1886
1917
 
1887
- function csp_systems_GLTFMaterialResultFactory(
1918
+ function csp_systems_LODChainResultFactory(
1888
1919
  nativePointer: NativePointer,
1889
1920
  ): NativeClassWrapper {
1890
- return new Systems.GLTFMaterialResult(nativePointer);
1921
+ return new Systems.LODChainResult(nativePointer);
1891
1922
  }
1892
- ProxyClassFactories["csp_systems_GLTFMaterialResult"] =
1893
- csp_systems_GLTFMaterialResultFactory;
1923
+ ProxyClassFactories["csp_systems_LODChainResult"] =
1924
+ csp_systems_LODChainResultFactory;
1894
1925
 
1895
- function csp_systems_GLTFMaterialsResultFactory(
1926
+ function csp_systems_MaterialResultFactory(
1896
1927
  nativePointer: NativePointer,
1897
1928
  ): NativeClassWrapper {
1898
- return new Systems.GLTFMaterialsResult(nativePointer);
1929
+ return new Systems.MaterialResult(nativePointer);
1899
1930
  }
1900
- ProxyClassFactories["csp_systems_GLTFMaterialsResult"] =
1901
- csp_systems_GLTFMaterialsResultFactory;
1931
+ ProxyClassFactories["csp_systems_MaterialResult"] =
1932
+ csp_systems_MaterialResultFactory;
1902
1933
 
1903
- function csp_systems_LODChainResultFactory(
1934
+ function csp_systems_MaterialsResultFactory(
1904
1935
  nativePointer: NativePointer,
1905
1936
  ): NativeClassWrapper {
1906
- return new Systems.LODChainResult(nativePointer);
1937
+ return new Systems.MaterialsResult(nativePointer);
1907
1938
  }
1908
- ProxyClassFactories["csp_systems_LODChainResult"] =
1909
- csp_systems_LODChainResultFactory;
1939
+ ProxyClassFactories["csp_systems_MaterialsResult"] =
1940
+ csp_systems_MaterialsResultFactory;
1910
1941
 
1911
1942
  function csp_systems_ProductInfoResultFactory(
1912
1943
  nativePointer: NativePointer,
@@ -2511,18 +2542,6 @@ function csp_common_Array_csp_systems_EAssetTypeFactory(
2511
2542
  ProxyClassFactories["csp_common_Array_csp_systems_EAssetType"] =
2512
2543
  csp_common_Array_csp_systems_EAssetTypeFactory;
2513
2544
 
2514
- function csp_common_Array_csp_systems_GLTFMaterialFactory(
2515
- nativePointer: NativePointer,
2516
- ): NativeClassWrapper {
2517
- return new Common.Array<Systems.GLTFMaterial>(
2518
- nativePointer,
2519
- csp_systems_GLTFMaterialFactory,
2520
- "csp_systems_GLTFMaterial",
2521
- );
2522
- }
2523
- ProxyClassFactories["csp_common_Array_csp_systems_GLTFMaterial"] =
2524
- csp_common_Array_csp_systems_GLTFMaterialFactory;
2525
-
2526
2545
  function csp_common_Array_csp_systems_LODAssetFactory(
2527
2546
  nativePointer: NativePointer,
2528
2547
  ): NativeClassWrapper {
@@ -2535,6 +2554,18 @@ function csp_common_Array_csp_systems_LODAssetFactory(
2535
2554
  ProxyClassFactories["csp_common_Array_csp_systems_LODAsset"] =
2536
2555
  csp_common_Array_csp_systems_LODAssetFactory;
2537
2556
 
2557
+ function csp_common_Array_csp_systems_MaterialFactory(
2558
+ nativePointer: NativePointer,
2559
+ ): NativeClassWrapper {
2560
+ return new Common.Array<Systems.Material>(
2561
+ nativePointer,
2562
+ csp_systems_MaterialFactory,
2563
+ "csp_systems_Material",
2564
+ );
2565
+ }
2566
+ ProxyClassFactories["csp_common_Array_csp_systems_Material"] =
2567
+ csp_common_Array_csp_systems_MaterialFactory;
2568
+
2538
2569
  function csp_common_Array_csp_systems_VariantOptionInfoFactory(
2539
2570
  nativePointer: NativePointer,
2540
2571
  ): NativeClassWrapper {
@@ -3948,9 +3979,21 @@ export namespace Systems {
3948
3979
 
3949
3980
  export namespace Systems {
3950
3981
  /**
3951
- * @description Defines how to alpha value is interpreted
3952
- * The alpha value is taken from the fourth component of the base color for metallic-roughness material model
3953
- */
3982
+ * @description Enum representing the shader type of a material.
3983
+ @details This enum is to be used in conjunction with materials, which are managed via the AssetSystem.
3984
+ */
3985
+ export enum EShaderType {
3986
+ Standard = 0,
3987
+ AlphaVideo = 1,
3988
+ }
3989
+ }
3990
+
3991
+ export namespace Systems {
3992
+ /**
3993
+ * @description Defines how the alpha value of a material is interpreted.
3994
+ @details The alpha value is taken from the fourth component of the base color for metallic-roughness material model.
3995
+ * This enum is to be used in conjunction with materials, which are managed via the AssetSystem.
3996
+ */
3954
3997
  export enum EAlphaMode {
3955
3998
  Opaque,
3956
3999
  Mask,
@@ -3960,10 +4003,28 @@ export namespace Systems {
3960
4003
 
3961
4004
  export namespace Systems {
3962
4005
  /**
3963
- * @description Enum representing the shader type of a material. Currently not in use.
3964
- */
3965
- export enum EShaderType {
3966
- Standard,
4006
+ * @description Defines how the alpha value of a material is interpreted.
4007
+ @details The alpha value is taken from the fourth component of the base color for metallic-roughness material model, unless the shader supports
4008
+ * EColorChannel.
4009
+ * This enum is to be used in conjunction with materials, which are managed via the AssetSystem.
4010
+ */
4011
+ export enum EBlendMode {
4012
+ Normal = 0,
4013
+ Additive = 1,
4014
+ }
4015
+ }
4016
+
4017
+ export namespace Systems {
4018
+ /**
4019
+ * @description Defines where the alpha value is read from.
4020
+ @details The alpha value is usually taken from the fourth component of the base color but this allows is to be read from another channel.
4021
+ * This enum is to be used in conjunction with materials, which are managed via the AssetSystem.
4022
+ */
4023
+ export enum EColorChannel {
4024
+ R = 0,
4025
+ G = 1,
4026
+ B = 2,
4027
+ A = 3,
3967
4028
  }
3968
4029
  }
3969
4030
 
@@ -5223,6 +5284,26 @@ export class CSPFoundation {
5223
5284
  return _nPtr;
5224
5285
  }
5225
5286
 
5287
+ /**
5288
+ * @description Create an EndpointsURIs object containing URIs to the various services needed by CSP.
5289
+ * @param endpointRootURI - URI to the root of the cloud services.
5290
+ * @return EndpointURIs class with deduced endpoint URIs.
5291
+ */
5292
+
5293
+ static createEndpointsFromRoot(endpointRootURI: string): EndpointURIs {
5294
+ var _ret = Module._malloc(8);
5295
+
5296
+ Module.ccall(
5297
+ "csp_CSPFoundation_CreateEndpointsFromRoot_EndpointURIs_StringRC",
5298
+ "void",
5299
+ ["number", "string"],
5300
+ [_ret, endpointRootURI],
5301
+ );
5302
+ var _nPtr = new EndpointURIs(getNativePointer(_ret));
5303
+ Module._free(_ret);
5304
+ return _nPtr;
5305
+ }
5306
+
5226
5307
  /**
5227
5308
  * @description Sets a class containing all relevant Client info currently set for Foundation.
5228
5309
  * Used internally to generate ClientUserAgentString.
@@ -25100,32 +25181,6 @@ export namespace Multiplayer {
25100
25181
  return _result;
25101
25182
  }
25102
25183
 
25103
- /**
25104
- * @description Finds a component by the given id.
25105
- * /// Searchs through all components of all entites so should be used sparingly.
25106
- * /// @param Id The id of the component to find.
25107
- * @return A pointer to the found component which can be nullptr if the component is not found.
25108
- */
25109
-
25110
- findComponentById(id: number): Multiplayer.ComponentBase {
25111
- assert(Number.isInteger(id));
25112
- assert(id >= Limits.UINT16_MIN);
25113
- assert(id <= Limits.UINT16_MAX);
25114
-
25115
- var _ret = Module._malloc(8);
25116
-
25117
- Module.ccall(
25118
- "csp_multiplayer_SpaceEntitySystem_FindComponentById_ComponentBaseP_uint16_t",
25119
- "void",
25120
- ["number", "number", "number"],
25121
- [_ret, this.pointer, id],
25122
- );
25123
- var _nPtr = new Multiplayer.ComponentBase(getNativePointer(_ret));
25124
- Module._free(_ret);
25125
-
25126
- return _nPtr;
25127
- }
25128
-
25129
25184
  /**
25130
25185
  * @description Retrieve the state of the patch rate limiter. If true, patches are limited for each individual entity to a fixed rate.
25131
25186
  * @return True if enabled, false otherwise.
@@ -27763,7 +27818,7 @@ export namespace Systems {
27763
27818
 
27764
27819
  export namespace Systems {
27765
27820
  /**
27766
- @ingroup Asset System
27821
+ @ingroup Asset System.
27767
27822
  * @description Base class for a material.
27768
27823
  */
27769
27824
  export class Material extends NativeClassWrapper implements INativeResource {
@@ -27773,8 +27828,8 @@ export namespace Systems {
27773
27828
  }
27774
27829
 
27775
27830
  /**
27776
- * @description Gets the user-defined name of the material
27777
- * @return Csp::common::string&
27831
+ * @description Gets the user-defined name of the material.
27832
+ * @return Returns the material name.
27778
27833
  */
27779
27834
 
27780
27835
  getName(): string {
@@ -27794,8 +27849,40 @@ export namespace Systems {
27794
27849
  }
27795
27850
 
27796
27851
  /**
27797
- * @description Gets the collection id for the material
27798
- * @return Const csp::common::string&
27852
+ * @description Gets the shader type of the material.
27853
+ * @return Returns the shader type.
27854
+ */
27855
+
27856
+ getShaderType(): Systems.EShaderType {
27857
+ let _result = Module.ccall(
27858
+ "csp_systems_Material_GetShaderTypeC_EShaderTypeC",
27859
+ "number",
27860
+ ["number"],
27861
+ [this.pointer],
27862
+ );
27863
+
27864
+ return _result;
27865
+ }
27866
+
27867
+ /**
27868
+ * @description Gets the version of the material.
27869
+ * @return Returns the version of the material.
27870
+ */
27871
+
27872
+ getVersion(): number {
27873
+ let _result = Module.ccall(
27874
+ "csp_systems_Material_GetVersionC_intC",
27875
+ "number",
27876
+ ["number"],
27877
+ [this.pointer],
27878
+ );
27879
+
27880
+ return _result;
27881
+ }
27882
+
27883
+ /**
27884
+ * @description Gets the collection id for the material.
27885
+ * @return Returns the collection id.
27799
27886
  */
27800
27887
 
27801
27888
  getMaterialCollectionId(): string {
@@ -27815,8 +27902,8 @@ export namespace Systems {
27815
27902
  }
27816
27903
 
27817
27904
  /**
27818
- * @description Gets the id for the material
27819
- * @return Const csp::common::string&
27905
+ * @description Gets the id for the material.
27906
+ * @return Returns the material id.
27820
27907
  */
27821
27908
 
27822
27909
  getMaterialId(): string {
@@ -27836,10 +27923,10 @@ export namespace Systems {
27836
27923
  }
27837
27924
 
27838
27925
  /**
27839
- * @description Constructor which links the material to an asset
27926
+ * @description Constructs a material bound to an AssetCollection and Asset.
27840
27927
  * @param name - The name of the material.
27841
- * @param materialCollectionId - The asset collection where the material info is stored
27842
- * @param materialId - The asset where the material info is stored
27928
+ * @param materialCollectionId - The asset collection which references the associated material asset.
27929
+ * @param materialId - The asset where the material info is stored.
27843
27930
  */
27844
27931
  static create_name_materialCollectionId_materialId(
27845
27932
  name: string,
@@ -27858,9 +27945,28 @@ export namespace Systems {
27858
27945
  return new Material(_nPtr);
27859
27946
  }
27860
27947
 
27861
- static create(): Material {
27948
+ /**
27949
+ * @description Constructs a versioned material bound to an AssetCollection and Asset.
27950
+ * @param name - The name of the material.
27951
+ * @param materialCollectionId - The asset collection which references the associated material asset.
27952
+ * @param materialId - The asset where the material info is stored.
27953
+ * @param type - The material shader type.
27954
+ * @param version - The material version.
27955
+ */
27956
+ static create_name_materialCollectionId_materialId_type_version(
27957
+ name: string,
27958
+ materialCollectionId: string,
27959
+ materialId: string,
27960
+ type: Systems.EShaderType,
27961
+ version: number,
27962
+ ): Material {
27862
27963
  var _ptr = Module._malloc(8);
27863
- Module.ccall("csp_systems_Material_Ctor", "void", ["number"], [_ptr]);
27964
+ Module.ccall(
27965
+ "csp_systems_Material_Ctor_StringRC_StringRC_StringRC_EShaderType_intC",
27966
+ "void",
27967
+ ["number", "string", "string", "string", "number", "number"],
27968
+ [_ptr, name, materialCollectionId, materialId, type, version],
27969
+ );
27864
27970
  var _nPtr = getNativePointer(_ptr);
27865
27971
 
27866
27972
  return new Material(_nPtr);
@@ -27878,6 +27984,14 @@ export namespace Systems {
27878
27984
  this.disposed = true;
27879
27985
  }
27880
27986
  }
27987
+
27988
+ static create(): Material {
27989
+ var _ptr = Module._malloc(8);
27990
+ Module.ccall("csp_systems_Material_Ctor", "void", ["number"], [_ptr]);
27991
+ var _nPtr = getNativePointer(_ptr);
27992
+
27993
+ return new Material(_nPtr);
27994
+ }
27881
27995
  }
27882
27996
  }
27883
27997
 
@@ -33272,6 +33386,135 @@ export namespace Systems {
33272
33386
  }
33273
33387
  }
33274
33388
 
33389
+ export namespace Systems {
33390
+ /**
33391
+ * @description Data structure for a custom service proxy posting, giving service name, operation name, set help and parameters
33392
+ */
33393
+ export class TokenInfoParams
33394
+ extends NativeClassWrapper
33395
+ implements INativeResource
33396
+ {
33397
+ /** @internal */
33398
+ constructor(pointer: NativePointer) {
33399
+ super(pointer);
33400
+ }
33401
+
33402
+ static create(): TokenInfoParams {
33403
+ var _ptr = Module._malloc(8);
33404
+ Module.ccall(
33405
+ "csp_systems_TokenInfoParams_Ctor",
33406
+ "void",
33407
+ ["number"],
33408
+ [_ptr],
33409
+ );
33410
+ var _nPtr = getNativePointer(_ptr);
33411
+
33412
+ return new TokenInfoParams(_nPtr);
33413
+ }
33414
+
33415
+ delete(): void {
33416
+ if (this.ownsPointer && !this.disposed) {
33417
+ Module.ccall(
33418
+ "csp_systems_TokenInfoParams_Dtor",
33419
+ "void",
33420
+ ["number"],
33421
+ [this.pointer],
33422
+ );
33423
+
33424
+ this.disposed = true;
33425
+ }
33426
+ }
33427
+
33428
+ get serviceName(): string {
33429
+ let _result = Module.ccall(
33430
+ "csp_systems_TokenInfoParams__Get_ServiceName",
33431
+ "string",
33432
+ ["number"],
33433
+ [this.pointer],
33434
+ );
33435
+
33436
+ return _result;
33437
+ }
33438
+
33439
+ set serviceName(value: string) {
33440
+ Module.ccall(
33441
+ "csp_systems_TokenInfoParams__Set_ServiceName",
33442
+ "void",
33443
+ ["number", "string"],
33444
+ [this.pointer, value],
33445
+ );
33446
+ }
33447
+
33448
+ get operationName(): string {
33449
+ let _result = Module.ccall(
33450
+ "csp_systems_TokenInfoParams__Get_OperationName",
33451
+ "string",
33452
+ ["number"],
33453
+ [this.pointer],
33454
+ );
33455
+
33456
+ return _result;
33457
+ }
33458
+
33459
+ set operationName(value: string) {
33460
+ Module.ccall(
33461
+ "csp_systems_TokenInfoParams__Set_OperationName",
33462
+ "void",
33463
+ ["number", "string"],
33464
+ [this.pointer, value],
33465
+ );
33466
+ }
33467
+
33468
+ get setHelp(): boolean {
33469
+ let _result = Module.ccall(
33470
+ "csp_systems_TokenInfoParams__Get_SetHelp",
33471
+ "boolean",
33472
+ ["number"],
33473
+ [this.pointer],
33474
+ );
33475
+
33476
+ return _result;
33477
+ }
33478
+
33479
+ set setHelp(value: boolean) {
33480
+ Module.ccall(
33481
+ "csp_systems_TokenInfoParams__Set_SetHelp",
33482
+ "void",
33483
+ ["number", "boolean"],
33484
+ [this.pointer, value],
33485
+ );
33486
+ }
33487
+
33488
+ get parameters(): Common.Map<string, string> {
33489
+ const _ptr = Module._malloc(8);
33490
+ Module.ccall(
33491
+ "csp_systems_TokenInfoParams__Get_Parameters",
33492
+ "void",
33493
+ ["number", "number"],
33494
+ [_ptr, this.pointer],
33495
+ );
33496
+
33497
+ const _nPtr = getNativePointer(_ptr);
33498
+ return new Common.Map<string, string>(
33499
+ _nPtr,
33500
+ StringFactory,
33501
+ "String",
33502
+ StringFactory,
33503
+ "String",
33504
+ );
33505
+ }
33506
+
33507
+ set parameters(value: Common.Map<string, string>) {
33508
+ Module.ccall(
33509
+ "csp_systems_TokenInfoParams__Set_Parameters",
33510
+ "void",
33511
+ ["number", "number"],
33512
+ [this.pointer, value.pointer],
33513
+ );
33514
+ }
33515
+ }
33516
+ }
33517
+
33275
33518
  export namespace Systems {
33276
33519
  /**
33277
33520
  * @description A basic class abstraction for a user profile, including User Id and name, a display name, avatar information
@@ -42999,43 +43242,6 @@ export namespace Multiplayer {
42999
43242
  );
43000
43243
  }
43001
43244
 
43002
- /**
43003
- * @description Gets the Id of the mesh component that the video should be rendered to
43004
- */
43005
-
43006
- getMeshComponentId(): number {
43007
- let _result = Module.ccall(
43008
- "csp_multiplayer_VideoPlayerSpaceComponent_GetMeshComponentIdC_uint16_t",
43009
- "number",
43010
- ["number"],
43011
- [this.pointer],
43012
- );
43013
-
43014
- const _unfixedValue = _result;
43015
- let _fixedValue =
43016
- _unfixedValue < 0 ? _unfixedValue + 2 ** 16 : _unfixedValue;
43017
- _result = _fixedValue;
43018
-
43019
- return _result;
43020
- }
43021
-
43022
- /**
43023
- * @description Sets the Id of the mesh component that the video should be rendered to
43024
- */
43025
-
43026
- setMeshComponentId(id: number): void {
43027
- assert(Number.isInteger(id));
43028
- assert(id >= Limits.UINT16_MIN);
43029
- assert(id <= Limits.UINT16_MAX);
43030
-
43031
- Module.ccall(
43032
- "csp_multiplayer_VideoPlayerSpaceComponent_SetMeshComponentId_void_uint16_t",
43033
- "void",
43034
- ["number", "number"],
43035
- [this.pointer, id],
43036
- );
43037
- }
43038
-
43039
43245
  /**
43040
43246
  * \addtogroup IVisibleComponent
43041
43247
  @{
@@ -44483,6 +44689,412 @@ export namespace Systems {
44483
44689
  }
44484
44690
  }
44485
44691
 
44692
+ export namespace Systems {
44693
+ /**
44694
+ @ingroup Asset System
44695
+ * @description Data class which represents an Alpha Video material.
44696
+ */
44697
+ export class AlphaVideoMaterial
44698
+ extends Systems.Material
44699
+ implements INativeResource
44700
+ {
44701
+ /** @internal */
44702
+ constructor(pointer: NativePointer) {
44703
+ super(pointer);
44704
+ }
44705
+
44706
+ static fromMaterial(
44707
+ baseInstance: Systems.Material,
44708
+ ): Systems.AlphaVideoMaterial {
44709
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
44710
+ return new Systems.AlphaVideoMaterial(
44711
+ new NativePointer(
44712
+ nativeClassWrapper.pointer,
44713
+ nativeClassWrapper.ownsPointer,
44714
+ ),
44715
+ );
44716
+ }
44717
+
44718
+ /**
44719
+ * @description Sets the color texture.
44720
+ @details The first three components (RGB) MUST be encoded with the sRGB transfer function. They specify the color of the material.
44721
+ * If the fourth component (A) is present, it represents the linear alpha coverage of the material.
44722
+ * Otherwise, the alpha coverage is equal to 1.0.
44723
+ * The material.blendMode property defines how the alpha is blended when alphaMode is set to BLEND.
44724
+ * The material.readAlphaFromChannel property defines which color channel to read the alpha values from.
44725
+ * The stored texels MUST NOT be premultiplied.
44726
+ * @param texture - The material color texture.
44727
+ @pre If the fourth component (A) is undefined, the texture MUST be sampled as having 1.0 in all components.
44728
+ */
44729
+
44730
+ setColorTexture(texture: Systems.TextureInfo): void {
44731
+ Module.ccall(
44732
+ "csp_systems_AlphaVideoMaterial_SetColorTexture_void_TextureInfoRC",
44733
+ "void",
44734
+ ["number", "number"],
44735
+ [this.pointer, texture.pointer],
44736
+ );
44737
+ }
44738
+
44739
+ /**
44740
+ * @description Gets the color texture.
44741
+ * @return The material color texture.
44742
+ */
44743
+
44744
+ getColorTexture(): Systems.TextureInfo {
44745
+ var _ret = Module._malloc(8);
44746
+
44747
+ Module.ccall(
44748
+ "csp_systems_AlphaVideoMaterial_GetColorTextureC_TextureInfoRC",
44749
+ "void",
44750
+ ["number", "number"],
44751
+ [_ret, this.pointer],
44752
+ );
44753
+ var _nPtr = new Systems.TextureInfo(getNativePointer(_ret));
44754
+ Module._free(_ret);
44755
+
44756
+ return _nPtr;
44757
+ }
44758
+
44759
+ /**
44760
+ * @description Sets the doubleSided property which specifies whether the material is double sided.
44761
+ @details When this value is false, back-face culling is enabled, i.e., only front-facing triangles are rendered.
44762
+ * When this value is true, back-face culling is disabled and double sided lighting is enabled.
44763
+ * @param doubleSided - The double sided value.
44764
+ */
44765
+
44766
+ setDoubleSided(doubleSided: boolean): void {
44767
+ Module.ccall(
44768
+ "csp_systems_AlphaVideoMaterial_SetDoubleSided_void_bool",
44769
+ "void",
44770
+ ["number", "boolean"],
44771
+ [this.pointer, doubleSided],
44772
+ );
44773
+ }
44774
+
44775
+ /**
44776
+ * @description Gets the double sided value.
44777
+ * @return The double sided value.
44778
+ */
44779
+
44780
+ getDoubleSided(): boolean {
44781
+ let _result = Module.ccall(
44782
+ "csp_systems_AlphaVideoMaterial_GetDoubleSidedC_bool",
44783
+ "boolean",
44784
+ ["number"],
44785
+ [this.pointer],
44786
+ );
44787
+
44788
+ return _result;
44789
+ }
44790
+
44791
+ /**
44792
+ * @description Sets whether the material is emissive, if not material should be lit by the scene lighting.
44793
+ * @param isEmissive - The emissive value.
44794
+ */
44795
+
44796
+ setIsEmissive(isEmissive: boolean): void {
44797
+ Module.ccall(
44798
+ "csp_systems_AlphaVideoMaterial_SetIsEmissive_void_bool",
44799
+ "void",
44800
+ ["number", "boolean"],
44801
+ [this.pointer, isEmissive],
44802
+ );
44803
+ }
44804
+
44805
+ /**
44806
+ * @description Gets whether the material is emissive, if not material should be lit by the scene lighting.
44807
+ * @return Bool
44808
+ */
44809
+
44810
+ getIsEmissive(): boolean {
44811
+ let _result = Module.ccall(
44812
+ "csp_systems_AlphaVideoMaterial_GetIsEmissiveC_bool",
44813
+ "boolean",
44814
+ ["number"],
44815
+ [this.pointer],
44816
+ );
44817
+
44818
+ return _result;
44819
+ }
44820
+
44821
+ /**
44822
+ * @description Sets the color channel to read the alpha values from.
44823
+ * @param colorChannel - The color channel to read the alpha values from.
44824
+ */
44825
+
44826
+ setReadAlphaFromChannel(colorChannel: Systems.EColorChannel): void {
44827
+ Module.ccall(
44828
+ "csp_systems_AlphaVideoMaterial_SetReadAlphaFromChannel_void_EColorChannel",
44829
+ "void",
44830
+ ["number", "number"],
44831
+ [this.pointer, colorChannel],
44832
+ );
44833
+ }
44834
+
44835
+ /**
44836
+ * @description Gets the color channel to read the alpha values from.
44837
+ * @return The color channel to read the alpha values from.
44838
+ */
44839
+
44840
+ getReadAlphaFromChannel(): Systems.EColorChannel {
44841
+ let _result = Module.ccall(
44842
+ "csp_systems_AlphaVideoMaterial_GetReadAlphaFromChannelC_EColorChannel",
44843
+ "number",
44844
+ ["number"],
44845
+ [this.pointer],
44846
+ );
44847
+
44848
+ return _result;
44849
+ }
44850
+
44851
+ /**
44852
+ * @description Sets the mode to use for alpha blending.
44853
+ * @param mode - The mode to use for alpha blending.
44854
+ */
44855
+
44856
+ setBlendMode(mode: Systems.EBlendMode): void {
44857
+ Module.ccall(
44858
+ "csp_systems_AlphaVideoMaterial_SetBlendMode_void_EBlendMode",
44859
+ "void",
44860
+ ["number", "number"],
44861
+ [this.pointer, mode],
44862
+ );
44863
+ }
44864
+
44865
+ /**
44866
+ * @description Gets the alpha blend mode.
44867
+ * @return The alpha blend mode.
44868
+ */
44869
+
44870
+ getBlendMode(): Systems.EBlendMode {
44871
+ let _result = Module.ccall(
44872
+ "csp_systems_AlphaVideoMaterial_GetBlendModeC_EBlendMode",
44873
+ "number",
44874
+ ["number"],
44875
+ [this.pointer],
44876
+ );
44877
+
44878
+ return _result;
44879
+ }
44880
+
44881
+ /**
44882
+ * @description Sets the fresnel factor.
44883
+ * @param factor - The fresnel factor.
44884
+ */
44885
+
44886
+ setFresnelFactor(factor: number): void {
44887
+ assert(factor >= Limits.FLOAT_MIN);
44888
+ assert(factor <= Limits.FLOAT_MAX);
44889
+
44890
+ Module.ccall(
44891
+ "csp_systems_AlphaVideoMaterial_SetFresnelFactor_void_float",
44892
+ "void",
44893
+ ["number", "number"],
44894
+ [this.pointer, factor],
44895
+ );
44896
+ }
44897
+
44898
+ /**
44899
+ * @description Gets the fresnel factor.
44900
+ * @return The fresnel factor.
44901
+ */
44902
+
44903
+ getFresnelFactor(): number {
44904
+ let _result = Module.ccall(
44905
+ "csp_systems_AlphaVideoMaterial_GetFresnelFactorC_float",
44906
+ "number",
44907
+ ["number"],
44908
+ [this.pointer],
44909
+ );
44910
+
44911
+ return _result;
44912
+ }
44913
+
44914
+ /**
44915
+ * @description Set the Material tint.
44916
+ * @param tint - The tint value.
44917
+ */
44918
+
44919
+ setTint(tint: Common.Vector3): void {
44920
+ Module.ccall(
44921
+ "csp_systems_AlphaVideoMaterial_SetTint_void_Vector3RC",
44922
+ "void",
44923
+ ["number", "number"],
44924
+ [this.pointer, tint.pointer],
44925
+ );
44926
+ }
44927
+
44928
+ /**
44929
+ * @description Get the Material tint.
44930
+ * @return The tint value.
44931
+ */
44932
+
44933
+ getTint(): Common.Vector3 {
44934
+ var _ret = Module._malloc(8);
44935
+
44936
+ Module.ccall(
44937
+ "csp_systems_AlphaVideoMaterial_GetTintC_Vector3RC",
44938
+ "void",
44939
+ ["number", "number"],
44940
+ [_ret, this.pointer],
44941
+ );
44942
+ var _nPtr = new Common.Vector3(getNativePointer(_ret));
44943
+ Module._free(_ret);
44944
+
44945
+ return _nPtr;
44946
+ }
44947
+
44948
+ /**
44949
+ * @description Set the alpha factor.
44950
+ * @param factor - The alpha factor.
44951
+ */
44952
+
44953
+ setAlphaFactor(factor: number): void {
44954
+ assert(factor >= Limits.FLOAT_MIN);
44955
+ assert(factor <= Limits.FLOAT_MAX);
44956
+
44957
+ Module.ccall(
44958
+ "csp_systems_AlphaVideoMaterial_SetAlphaFactor_void_float",
44959
+ "void",
44960
+ ["number", "number"],
44961
+ [this.pointer, factor],
44962
+ );
44963
+ }
44964
+
44965
+ /**
44966
+ * @description Get the alpha factor.
44967
+ * @return The alpha factor.
44968
+ */
44969
+
44970
+ getAlphaFactor(): number {
44971
+ let _result = Module.ccall(
44972
+ "csp_systems_AlphaVideoMaterial_GetAlphaFactorC_float",
44973
+ "number",
44974
+ ["number"],
44975
+ [this.pointer],
44976
+ );
44977
+
44978
+ return _result;
44979
+ }
44980
+
44981
+ /**
44982
+ * @description Set the emissive intensity.
44983
+ * @param intensity - The emissive intensity.
44984
+ */
44985
+
44986
+ setEmissiveIntensity(intensity: number): void {
44987
+ assert(intensity >= Limits.FLOAT_MIN);
44988
+ assert(intensity <= Limits.FLOAT_MAX);
44989
+
44990
+ Module.ccall(
44991
+ "csp_systems_AlphaVideoMaterial_SetEmissiveIntensity_void_float",
44992
+ "void",
44993
+ ["number", "number"],
44994
+ [this.pointer, intensity],
44995
+ );
44996
+ }
44997
+
44998
+ /**
44999
+ * @description Get the emissive intensity.
45000
+ * @return The emissive intensity.
45001
+ */
45002
+
45003
+ getEmissiveIntensity(): number {
45004
+ let _result = Module.ccall(
45005
+ "csp_systems_AlphaVideoMaterial_GetEmissiveIntensityC_float",
45006
+ "number",
45007
+ ["number"],
45008
+ [this.pointer],
45009
+ );
45010
+
45011
+ return _result;
45012
+ }
45013
+
45014
+ /**
45015
+ * @description Set the alpha mask.
45016
+ * @param mask - The alpha mask.
45017
+ */
45018
+
45019
+ setAlphaMask(mask: number): void {
45020
+ assert(mask >= Limits.FLOAT_MIN);
45021
+ assert(mask <= Limits.FLOAT_MAX);
45022
+
45023
+ Module.ccall(
45024
+ "csp_systems_AlphaVideoMaterial_SetAlphaMask_void_float",
45025
+ "void",
45026
+ ["number", "number"],
45027
+ [this.pointer, mask],
45028
+ );
45029
+ }
45030
+
45031
+ /**
45032
+ * @description Get the alpha mask.
45033
+ * @return The alpha mask.
45034
+ */
45035
+
45036
+ getAlphaMask(): number {
45037
+ let _result = Module.ccall(
45038
+ "csp_systems_AlphaVideoMaterial_GetAlphaMaskC_float",
45039
+ "number",
45040
+ ["number"],
45041
+ [this.pointer],
45042
+ );
45043
+
45044
+ return _result;
45045
+ }
45046
+
45047
+ /**
45048
+ * @description Constructor which links the material to an asset.
45049
+ * @param name - The name of the material.
45050
+ * @param materialCollectionId - The asset collection which holds the associated material asset.
45051
+ * @param materialId - The asset where the material info is stored.
45052
+ */
45053
+ static create_name_materialCollectionId_materialId(
45054
+ name: string,
45055
+ materialCollectionId: string,
45056
+ materialId: string,
45057
+ ): AlphaVideoMaterial {
45058
+ var _ptr = Module._malloc(8);
45059
+ Module.ccall(
45060
+ "csp_systems_AlphaVideoMaterial_Ctor_StringRC_StringRC_StringRC",
45061
+ "void",
45062
+ ["number", "string", "string", "string"],
45063
+ [_ptr, name, materialCollectionId, materialId],
45064
+ );
45065
+ var _nPtr = getNativePointer(_ptr);
45066
+
45067
+ return new AlphaVideoMaterial(_nPtr);
45068
+ }
45069
+
45070
+ delete(): void {
45071
+ if (this.ownsPointer && !this.disposed) {
45072
+ Module.ccall(
45073
+ "csp_systems_AlphaVideoMaterial_Dtor",
45074
+ "void",
45075
+ ["number"],
45076
+ [this.pointer],
45077
+ );
45078
+
45079
+ this.disposed = true;
45080
+ }
45081
+ }
45082
+
45083
+ static create(): AlphaVideoMaterial {
45084
+ var _ptr = Module._malloc(8);
45085
+ Module.ccall(
45086
+ "csp_systems_AlphaVideoMaterial_Ctor",
45087
+ "void",
45088
+ ["number"],
45089
+ [_ptr],
45090
+ );
45091
+ var _nPtr = getNativePointer(_ptr);
45092
+
45093
+ return new AlphaVideoMaterial(_nPtr);
45094
+ }
45095
+ }
45096
+ }
45097
+
44486
45098
  export namespace Systems {
44487
45099
  /**
44488
45100
  @ingroup Asset System
@@ -46050,6 +46662,7 @@ export namespace Systems {
46050
46662
  /**
46051
46663
  * @description Creates a new material backed by an AssetCollection/Asset.
46052
46664
  * @param name - The name of the new material.
46665
+ * @param shaderType - The type of shader model the material is associated with.
46053
46666
  * @param spaceId - The space id this material is associated with.
46054
46667
  * @param metadata - The metadata to be associated with the created material.
46055
46668
  * @param assetTags - Tags to be associated with the created material.
@@ -46058,20 +46671,21 @@ export namespace Systems {
46058
46671
 
46059
46672
  async createMaterial(
46060
46673
  name: string,
46674
+ shaderType: Systems.EShaderType,
46061
46675
  spaceId: string,
46062
46676
  metadata: Common.Map<string, string>,
46063
46677
  assetTags: Common.Array<string>,
46064
- ): Promise<Systems.GLTFMaterialResult> {
46678
+ ): Promise<Systems.MaterialResult> {
46065
46679
  var _resolve;
46066
46680
 
46067
- var _promise = new Promise<Systems.GLTFMaterialResult>((_r) => {
46681
+ var _promise = new Promise<Systems.MaterialResult>((_r) => {
46068
46682
  _resolve = _r;
46069
46683
  });
46070
46684
 
46071
46685
  var _callbackPtr: number;
46072
46686
  var _callback = (_stateObject__: number, result) => {
46073
46687
  var _resultPtr = getNativePointer(result);
46074
- var _resultInstance = new Systems.GLTFMaterialResult(_resultPtr);
46688
+ var _resultInstance = new Systems.MaterialResult(_resultPtr);
46075
46689
 
46076
46690
  if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46077
46691
  return;
@@ -46085,12 +46699,22 @@ export namespace Systems {
46085
46699
  _callbackPtr = Module.addFunction(_callback, "vii");
46086
46700
 
46087
46701
  Module.ccall(
46088
- "csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_MapRC_ArrayRC_GLTFMaterialResultCallback",
46702
+ "csp_systems_AssetSystem_CreateMaterial_void_StringRC_EShaderTypeC_StringRC_MapR_ArrayRC_MaterialResultCallback",
46089
46703
  "void",
46090
- ["number", "string", "string", "number", "number", "number", "number"],
46704
+ [
46705
+ "number",
46706
+ "string",
46707
+ "number",
46708
+ "string",
46709
+ "number",
46710
+ "number",
46711
+ "number",
46712
+ "number",
46713
+ ],
46091
46714
  [
46092
46715
  this.pointer,
46093
46716
  name,
46717
+ shaderType,
46094
46718
  spaceId,
46095
46719
  metadata.pointer,
46096
46720
  assetTags.pointer,
@@ -46112,7 +46736,7 @@ export namespace Systems {
46112
46736
  */
46113
46737
 
46114
46738
  async updateMaterial(
46115
- material: Systems.GLTFMaterial,
46739
+ material: Systems.Material,
46116
46740
  ): Promise<Systems.NullResult> {
46117
46741
  var _resolve;
46118
46742
 
@@ -46137,7 +46761,7 @@ export namespace Systems {
46137
46761
  _callbackPtr = Module.addFunction(_callback, "vii");
46138
46762
 
46139
46763
  Module.ccall(
46140
- "csp_systems_AssetSystem_UpdateMaterial_void_GLTFMaterialRC_NullResultCallback",
46764
+ "csp_systems_AssetSystem_UpdateMaterial_void_MaterialRC_NullResultCallback",
46141
46765
  "void",
46142
46766
  ["number", "number", "number", "number"],
46143
46767
  [this.pointer, material.pointer, _callbackPtr, 0],
@@ -46154,7 +46778,7 @@ export namespace Systems {
46154
46778
  */
46155
46779
 
46156
46780
  async deleteMaterial(
46157
- material: Systems.GLTFMaterial,
46781
+ material: Systems.Material,
46158
46782
  ): Promise<Systems.NullResult> {
46159
46783
  var _resolve;
46160
46784
 
@@ -46179,7 +46803,7 @@ export namespace Systems {
46179
46803
  _callbackPtr = Module.addFunction(_callback, "vii");
46180
46804
 
46181
46805
  Module.ccall(
46182
- "csp_systems_AssetSystem_DeleteMaterial_void_GLTFMaterialRC_NullResultCallback",
46806
+ "csp_systems_AssetSystem_DeleteMaterial_void_MaterialRC_NullResultCallback",
46183
46807
  "void",
46184
46808
  ["number", "number", "number", "number"],
46185
46809
  [this.pointer, material.pointer, _callbackPtr, 0],
@@ -46194,17 +46818,17 @@ export namespace Systems {
46194
46818
  * @param callback - Callback when asynchronous task finishes.
46195
46819
  */
46196
46820
 
46197
- async getMaterials(spaceId: string): Promise<Systems.GLTFMaterialsResult> {
46821
+ async getMaterials(spaceId: string): Promise<Systems.MaterialsResult> {
46198
46822
  var _resolve;
46199
46823
 
46200
- var _promise = new Promise<Systems.GLTFMaterialsResult>((_r) => {
46824
+ var _promise = new Promise<Systems.MaterialsResult>((_r) => {
46201
46825
  _resolve = _r;
46202
46826
  });
46203
46827
 
46204
46828
  var _callbackPtr: number;
46205
46829
  var _callback = (_stateObject__: number, result) => {
46206
46830
  var _resultPtr = getNativePointer(result);
46207
- var _resultInstance = new Systems.GLTFMaterialsResult(_resultPtr);
46831
+ var _resultInstance = new Systems.MaterialsResult(_resultPtr);
46208
46832
 
46209
46833
  if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46210
46834
  return;
@@ -46218,7 +46842,7 @@ export namespace Systems {
46218
46842
  _callbackPtr = Module.addFunction(_callback, "vii");
46219
46843
 
46220
46844
  Module.ccall(
46221
- "csp_systems_AssetSystem_GetMaterials_void_StringRC_GLTFMaterialsResultCallback",
46845
+ "csp_systems_AssetSystem_GetMaterials_void_StringRC_MaterialsResultCallback",
46222
46846
  "void",
46223
46847
  ["number", "string", "number", "number"],
46224
46848
  [this.pointer, spaceId, _callbackPtr, 0],
@@ -46237,17 +46861,17 @@ export namespace Systems {
46237
46861
  async getMaterial(
46238
46862
  assetCollectionId: string,
46239
46863
  assetId: string,
46240
- ): Promise<Systems.GLTFMaterialResult> {
46864
+ ): Promise<Systems.MaterialResult> {
46241
46865
  var _resolve;
46242
46866
 
46243
- var _promise = new Promise<Systems.GLTFMaterialResult>((_r) => {
46867
+ var _promise = new Promise<Systems.MaterialResult>((_r) => {
46244
46868
  _resolve = _r;
46245
46869
  });
46246
46870
 
46247
46871
  var _callbackPtr: number;
46248
46872
  var _callback = (_stateObject__: number, result) => {
46249
46873
  var _resultPtr = getNativePointer(result);
46250
- var _resultInstance = new Systems.GLTFMaterialResult(_resultPtr);
46874
+ var _resultInstance = new Systems.MaterialResult(_resultPtr);
46251
46875
 
46252
46876
  if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46253
46877
  return;
@@ -46261,7 +46885,7 @@ export namespace Systems {
46261
46885
  _callbackPtr = Module.addFunction(_callback, "vii");
46262
46886
 
46263
46887
  Module.ccall(
46264
- "csp_systems_AssetSystem_GetMaterial_void_StringRC_StringRC_GLTFMaterialResultCallback",
46888
+ "csp_systems_AssetSystem_GetMaterial_void_StringRC_StringRC_MaterialResultCallback",
46265
46889
  "void",
46266
46890
  ["number", "string", "string", "number", "number"],
46267
46891
  [this.pointer, assetCollectionId, assetId, _callbackPtr, 0],
@@ -46373,8 +46997,8 @@ export namespace Systems {
46373
46997
  }
46374
46998
 
46375
46999
  /**
46376
- * Sets how to alpha value is interpreted
46377
- * @param mode - EAlphaMode
47000
+ * @description Sets the alpha mode which determines how the alpha value is interpreted.
47001
+ * @param mode - The alpha mode to set.
46378
47002
  */
46379
47003
 
46380
47004
  setAlphaMode(mode: Systems.EAlphaMode): void {
@@ -46387,8 +47011,8 @@ export namespace Systems {
46387
47011
  }
46388
47012
 
46389
47013
  /**
46390
- * Gets how to alpha value is interpreted
46391
- * @return EAlphaMode
47014
+ * @description Gets the alpha mode which determines how the alpha value is interpreted.
47015
+ * @return The alpha mode.
46392
47016
  */
46393
47017
 
46394
47018
  getAlphaMode(): Systems.EAlphaMode {
@@ -46403,11 +47027,11 @@ export namespace Systems {
46403
47027
  }
46404
47028
 
46405
47029
  /**
46406
- * @description Sets the alpha cutoff value
46407
- * When alphaMode is set to MASK the alphaCutoff property specifies the cutoff threshold.
46408
- * If the alpha value is greater than or equal to the alphaCutoff value then it is rendered as fully opaque,
46409
- * otherwise, it is rendered as fully transparent. alphaCutoff value is ignored for other modes.
46410
- * @param cutoff - Float
47030
+ * @description Sets the alpha cutoff value.
47031
+ @details When alphaMode is set to MASK the alphaCutoff property specifies the cutoff threshold.
47032
+ * If the alpha value is greater than or equal to the alphaCutoff value then it is rendered as fully opaque,
47033
+ * otherwise, it is rendered as fully transparent. The alphaCutoff value is ignored for other modes.
47034
+ * @param cutoff - The alpha cutoff value to set.
46411
47035
  */
46412
47036
 
46413
47037
  setAlphaCutoff(cutoff: number): void {
@@ -46423,8 +47047,8 @@ export namespace Systems {
46423
47047
  }
46424
47048
 
46425
47049
  /**
46426
- * Gets the alpha cutoff value
46427
- * @return Float
47050
+ * @description Gets the alpha cutoff value.
47051
+ * @return The alpha cutoff value.
46428
47052
  */
46429
47053
 
46430
47054
  getAlphaCutoff(): number {
@@ -46439,10 +47063,10 @@ export namespace Systems {
46439
47063
  }
46440
47064
 
46441
47065
  /**
46442
- * @description Sets the doubleSided property which specifies whether the material is double sided.
46443
- * When this value is false, back - face culling is enabled, i.e., only front-facing triangles are rendered.
46444
- * When this value is true, back - face culling is disabled and double sided lighting is enabled.
46445
- * @param doubleSided - Bool
47066
+ * @description Sets the doubleSided property which specifies whether the material is double sided.
47067
+ @details When this value is false, back - face culling is enabled, i.e., only front-facing triangles are rendered.
47068
+ * When this value is true, back - face culling is disabled and double sided lighting is enabled.
47069
+ * @param doubleSided - The double sided value to set.
46446
47070
  */
46447
47071
 
46448
47072
  setDoubleSided(doubleSided: boolean): void {
@@ -46455,8 +47079,8 @@ export namespace Systems {
46455
47079
  }
46456
47080
 
46457
47081
  /**
46458
- * @description Gets the double sided value
46459
- * @return Bool
47082
+ * @description Gets the double sided value.
47083
+ * @return The double sided value.
46460
47084
  */
46461
47085
 
46462
47086
  getDoubleSided(): boolean {
@@ -46471,9 +47095,9 @@ export namespace Systems {
46471
47095
  }
46472
47096
 
46473
47097
  /**
46474
- * @description Sets the factors for the base color of the material.
46475
- * This value defines linear multipliers for the sampled texels of the base color texture.
46476
- * @param factor - Const csp::common::vector4&
47098
+ * @description Sets the factors for the base color of the material.
47099
+ @details This value defines linear multipliers for the sampled texels of the base color texture.
47100
+ * @param factor - The base color factor to set.
46477
47101
  */
46478
47102
 
46479
47103
  setBaseColorFactor(factor: Common.Vector4): void {
@@ -46486,8 +47110,8 @@ export namespace Systems {
46486
47110
  }
46487
47111
 
46488
47112
  /**
46489
- * @description Gets the factor of the base color texture
46490
- * @return Csp::common::vector4&
47113
+ * @description Gets the factor of the base color texture.
47114
+ * @return The base color factor.
46491
47115
  */
46492
47116
 
46493
47117
  getBaseColorFactor(): Common.Vector4 {
@@ -46506,9 +47130,9 @@ export namespace Systems {
46506
47130
  }
46507
47131
 
46508
47132
  /**
46509
- * @description Sets the factor for the metalness of the material.
46510
- * This value defines a linear multiplier for the sampled metalness values of the metallic-roughness texture.
46511
- * @param factor - Float
47133
+ * @description Sets the factor for the metalness of the material.
47134
+ @details This value defines a linear multiplier for the sampled metalness values of the metallic-roughness texture.
47135
+ * @param factor - The metallic factor to set.
46512
47136
  */
46513
47137
 
46514
47138
  setMetallicFactor(factor: number): void {
@@ -46524,8 +47148,8 @@ export namespace Systems {
46524
47148
  }
46525
47149
 
46526
47150
  /**
46527
- * @description Gets the factor of the metallic texture
46528
- * @return Float
47151
+ * @description Gets the factor of the metallic texture.
47152
+ * @return The metallic factor.
46529
47153
  */
46530
47154
 
46531
47155
  getMetallicFactor(): number {
@@ -46540,9 +47164,9 @@ export namespace Systems {
46540
47164
  }
46541
47165
 
46542
47166
  /**
46543
- * @description Sets the factor for the roughness of the material.
46544
- * This value defines a linear multiplier for the sampled roughness values of the metallic-roughness texture.
46545
- * @param factor - Float
47167
+ * @description Sets the factor for the roughness of the material.
47168
+ @details This value defines a linear multiplier for the sampled roughness values of the metallic-roughness texture.
47169
+ * @param factor - The roughness factor to set.
46546
47170
  */
46547
47171
 
46548
47172
  setRoughnessFactor(factor: number): void {
@@ -46558,8 +47182,8 @@ export namespace Systems {
46558
47182
  }
46559
47183
 
46560
47184
  /**
46561
- * @description Gets the factor of the roughness texture
46562
- * @return Float
47185
+ * @description Gets the factor of the roughness texture.
47186
+ * @return The roughness factor.
46563
47187
  */
46564
47188
 
46565
47189
  getRoughnessFactor(): number {
@@ -46574,9 +47198,9 @@ export namespace Systems {
46574
47198
  }
46575
47199
 
46576
47200
  /**
46577
- * @description Sets factors for the emissive color of the material.
46578
- * This value defines linear multipliers for the sampled texels of the emissive texture.
46579
- * @param factor - Const csp::common::vector3&
47201
+ * @description Sets factors for the emissive color of the material.
47202
+ @details This value defines linear multipliers for the sampled texels of the emissive texture.
47203
+ * @param factor - The emissive factor to set.
46580
47204
  */
46581
47205
 
46582
47206
  setEmissiveFactor(factor: Common.Vector3): void {
@@ -46589,8 +47213,8 @@ export namespace Systems {
46589
47213
  }
46590
47214
 
46591
47215
  /**
46592
- * @description Gets the factor of the emissive color texture
46593
- * @return Csp::common::vector3&
47216
+ * @description Gets the factor of the emissive color texture.
47217
+ * @return The emissive factor.
46594
47218
  */
46595
47219
 
46596
47220
  getEmissiveFactor(): Common.Vector3 {
@@ -46609,13 +47233,13 @@ export namespace Systems {
46609
47233
  }
46610
47234
 
46611
47235
  /**
46612
- * @description Sets the base color texture. The first three components (RGB) MUST be encoded with the sRGB transfer function.
46613
- * They specify the base color of the material.
46614
- * If the fourth component (A) is present, it represents the linear alpha coverage of the material.
46615
- * Otherwise, the alpha coverage is equal to 1.0. The material.alphaMode property specifies how alpha is interpreted.
46616
- * The stored texels MUST NOT be premultiplied.
46617
- * When undefined, the texture MUST be sampled as having 1.0 in all components.
46618
- * @param texture - Const textureinfo&
47236
+ * @description Sets the base color texture.
47237
+ @details The first three components (RGB) MUST be encoded with the sRGB transfer function. They specify the base color of the material.
47238
+ * If the fourth component (A) is present, it represents the linear alpha coverage of the material.
47239
+ * Otherwise, the alpha coverage is equal to 1.0. The material.alphaMode property specifies how alpha is interpreted.
47240
+ * The stored texels MUST NOT be premultiplied.
47241
+ * When undefined, the texture MUST be sampled as having 1.0 in all components.
47242
+ * @param texture - The base color texture to set.
46619
47243
  */
46620
47244
 
46621
47245
  setBaseColorTexture(texture: Systems.TextureInfo): void {
@@ -46628,8 +47252,8 @@ export namespace Systems {
46628
47252
  }
46629
47253
 
46630
47254
  /**
46631
- * @description Gets the base color texture
46632
- * @return Const textureinfo&
47255
+ * @description Gets the base color texture.
47256
+ * @return The base color texture.
46633
47257
  */
46634
47258
 
46635
47259
  getBaseColorTexture(): Systems.TextureInfo {
@@ -46648,13 +47272,13 @@ export namespace Systems {
46648
47272
  }
46649
47273
 
46650
47274
  /**
46651
- * @description Sets the metallic-roughness texture.
46652
- * The metalness values are sampled from the B channel.
46653
- * The roughness values are sampled from the G channel.
46654
- * These values MUST be encoded with a linear transfer function.
46655
- * If other channels are present (R or A), they MUST be ignored for metallic-roughness calculations.
46656
- * When undefined, the texture MUST be sampled as having 1.0 in G and B components.
46657
- * @param texture - Const textureinfo&
47275
+ * @description Sets the metallic-roughness texture.
47276
+ @details The metalness values are sampled from the B channel.
47277
+ * The roughness values are sampled from the G channel.
47278
+ * These values MUST be encoded with a linear transfer function.
47279
+ * If other channels are present (R or A), they MUST be ignored for metallic-roughness calculations.
47280
+ * When undefined, the texture MUST be sampled as having 1.0 in G and B components.
47281
+ * @param texture - The metallic-roughness texture to set.
46658
47282
  */
46659
47283
 
46660
47284
  setMetallicRoughnessTexture(texture: Systems.TextureInfo): void {
@@ -46667,8 +47291,8 @@ export namespace Systems {
46667
47291
  }
46668
47292
 
46669
47293
  /**
46670
- * @description Gets the metallic-roughness texture
46671
- * @return Const textureinfo&
47294
+ * @description Gets the metallic-roughness texture.
47295
+ * @return The metallic-roughness texture.
46672
47296
  */
46673
47297
 
46674
47298
  getMetallicRoughnessTexture(): Systems.TextureInfo {
@@ -46687,12 +47311,12 @@ export namespace Systems {
46687
47311
  }
46688
47312
 
46689
47313
  /**
46690
- * @description Sets the tangent space normal texture.
46691
- * The texture encodes RGB components with linear transfer function.
46692
- * Each texel represents the XYZ components of a normal vector in tangent space.
46693
- * The normal vectors use the convention +X is right and +Y is up. +Z points toward the viewer.
46694
- * If a fourth component (A) is present, it MUST be ignored. When undefined, the material does not have a tangent space normal texture.
46695
- * @param texture - Const textureinfo&
47314
+ * @description Sets the tangent space normal texture.
47315
+ @details The texture encodes RGB components with linear transfer function.
47316
+ * Each texel represents the XYZ components of a normal vector in tangent space.
47317
+ * The normal vectors use the convention +X is right and +Y is up. +Z points toward the viewer.
47318
+ * If a fourth component (A) is present, it MUST be ignored. When undefined, the material does not have a tangent space normal texture.
47319
+ * @param texture - The normal texture to set.
46696
47320
  */
46697
47321
 
46698
47322
  setNormalTexture(texture: Systems.TextureInfo): void {
@@ -46706,7 +47330,7 @@ export namespace Systems {
46706
47330
 
46707
47331
  /**
46708
47332
  * @description Gets the tangent space normal texture.
46709
- * @return Const textureinfo&
47333
+ * @return The normal texture.
46710
47334
  */
46711
47335
 
46712
47336
  getNormalTexture(): Systems.TextureInfo {
@@ -46725,12 +47349,12 @@ export namespace Systems {
46725
47349
  }
46726
47350
 
46727
47351
  /**
46728
- * @description Sets the occlusion texture.
46729
- * The occlusion values are linearly sampled from the R channel.
46730
- * Higher values indicate areas that receive full indirect lighting and lower values indicate no indirect lighting.
46731
- * If other channels are present (GBA), they MUST be ignored for occlusion calculations.
46732
- * When undefined, the material does not have an occlusion texture.
46733
- * @param texture - Const textureinfo&
47352
+ * @description Sets the occlusion texture.
47353
+ @details The occlusion values are linearly sampled from the R channel.
47354
+ * Higher values indicate areas that receive full indirect lighting and lower values indicate no indirect lighting.
47355
+ * If other channels are present (GBA), they MUST be ignored for occlusion calculations.
47356
+ * When undefined, the material does not have an occlusion texture.
47357
+ * @param texture - The occlusion texture to set.
46734
47358
  */
46735
47359
 
46736
47360
  setOcclusionTexture(texture: Systems.TextureInfo): void {
@@ -46743,8 +47367,8 @@ export namespace Systems {
46743
47367
  }
46744
47368
 
46745
47369
  /**
46746
- * @description Gets the occlusion texture
46747
- * @return Const textureinfo&
47370
+ * @description Gets the occlusion texture.
47371
+ * @return The occlusion texture.
46748
47372
  */
46749
47373
 
46750
47374
  getOcclusionTexture(): Systems.TextureInfo {
@@ -46763,12 +47387,12 @@ export namespace Systems {
46763
47387
  }
46764
47388
 
46765
47389
  /**
46766
- * @description Sets the emissive texture.
46767
- * It controls the color and intensity of the light being emitted by the material.
46768
- * This texture contains RGB components encoded with the sRGB transfer function.
46769
- * If a fourth component (A) is present, it MUST be ignored.
46770
- * When undefined, the texture MUST be sampled as having 1.0 in RGB components.
46771
- * @param texture - Const textureinfo&
47390
+ * @description Sets the emissive texture.
47391
+ @details It controls the color and intensity of the light being emitted by the material.
47392
+ * This texture contains RGB components encoded with the sRGB transfer function.
47393
+ * If a fourth component (A) is present, it MUST be ignored.
47394
+ * When undefined, the texture MUST be sampled as having 1.0 in RGB components.
47395
+ * @param texture - The emissive texture to set.
46772
47396
  */
46773
47397
 
46774
47398
  setEmissiveTexture(texture: Systems.TextureInfo): void {
@@ -46781,8 +47405,8 @@ export namespace Systems {
46781
47405
  }
46782
47406
 
46783
47407
  /**
46784
- * @description Gets the emissive texture
46785
- * @return Const textureinfo&
47408
+ * @description Gets the emissive texture.
47409
+ * @return The emissive texture.
46786
47410
  */
46787
47411
 
46788
47412
  getEmissiveTexture(): Systems.TextureInfo {
@@ -46801,36 +47425,28 @@ export namespace Systems {
46801
47425
  }
46802
47426
 
46803
47427
  /**
46804
- * @description Constructor which links the material to an asset
47428
+ * @description Constructor which links the material to an asset.
46805
47429
  * @param name - The name of the material.
46806
- * @param assetCollectionId - The asset collection where the material info is stored
46807
- * @param assetId - The asset where the material info is stored
47430
+ * @param materialCollectionId - The asset collection which holds the associated material asset.
47431
+ * @param materialId - The asset where the material info is stored.
46808
47432
  */
46809
- static create_name_assetCollectionId_assetId(
47433
+ static create_name_materialCollectionId_materialId(
46810
47434
  name: string,
46811
- assetCollectionId: string,
46812
- assetId: string,
47435
+ materialCollectionId: string,
47436
+ materialId: string,
46813
47437
  ): GLTFMaterial {
46814
47438
  var _ptr = Module._malloc(8);
46815
47439
  Module.ccall(
46816
47440
  "csp_systems_GLTFMaterial_Ctor_StringRC_StringRC_StringRC",
46817
47441
  "void",
46818
47442
  ["number", "string", "string", "string"],
46819
- [_ptr, name, assetCollectionId, assetId],
47443
+ [_ptr, name, materialCollectionId, materialId],
46820
47444
  );
46821
47445
  var _nPtr = getNativePointer(_ptr);
46822
47446
 
46823
47447
  return new GLTFMaterial(_nPtr);
46824
47448
  }
46825
47449
 
46826
- static create(): GLTFMaterial {
46827
- var _ptr = Module._malloc(8);
46828
- Module.ccall("csp_systems_GLTFMaterial_Ctor", "void", ["number"], [_ptr]);
46829
- var _nPtr = getNativePointer(_ptr);
46830
-
46831
- return new GLTFMaterial(_nPtr);
46832
- }
46833
-
46834
47450
  delete(): void {
46835
47451
  if (this.ownsPointer && !this.disposed) {
46836
47452
  Module.ccall(
@@ -46843,15 +47459,23 @@ export namespace Systems {
46843
47459
  this.disposed = true;
46844
47460
  }
46845
47461
  }
47462
+
47463
+ static create(): GLTFMaterial {
47464
+ var _ptr = Module._malloc(8);
47465
+ Module.ccall("csp_systems_GLTFMaterial_Ctor", "void", ["number"], [_ptr]);
47466
+ var _nPtr = getNativePointer(_ptr);
47467
+
47468
+ return new GLTFMaterial(_nPtr);
47469
+ }
46846
47470
  }
46847
47471
  }
46848
47472
 
46849
47473
  export namespace Systems {
46850
47474
  /**
46851
47475
  @ingroup Asset System
46852
- * @description Data class used to contain information when attempting to download material data.
47476
+ * @description Data class used to contain information when attempting to download LOD chain data.
46853
47477
  */
46854
- export class GLTFMaterialResult
47478
+ export class LODChainResult
46855
47479
  extends Systems.ResultBase
46856
47480
  implements INativeResource
46857
47481
  {
@@ -46862,9 +47486,9 @@ export namespace Systems {
46862
47486
 
46863
47487
  static fromResultBase(
46864
47488
  baseInstance: Systems.ResultBase,
46865
- ): Systems.GLTFMaterialResult {
47489
+ ): Systems.LODChainResult {
46866
47490
  const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
46867
- return new Systems.GLTFMaterialResult(
47491
+ return new Systems.LODChainResult(
46868
47492
  new NativePointer(
46869
47493
  nativeClassWrapper.pointer,
46870
47494
  nativeClassWrapper.ownsPointer,
@@ -46873,19 +47497,19 @@ export namespace Systems {
46873
47497
  }
46874
47498
 
46875
47499
  /**
46876
- * @description Retreives the GLTFMaterial from the result.
47500
+ * @description Retreives the LODChain from the result.
46877
47501
  */
46878
47502
 
46879
- getGLTFMaterial(): Systems.GLTFMaterial {
47503
+ getLODChain(): Systems.LODChain {
46880
47504
  var _ret = Module._malloc(8);
46881
47505
 
46882
47506
  Module.ccall(
46883
- "csp_systems_GLTFMaterialResult_GetGLTFMaterialC_GLTFMaterialRC",
47507
+ "csp_systems_LODChainResult_GetLODChainC_LODChainRC",
46884
47508
  "void",
46885
47509
  ["number", "number"],
46886
47510
  [_ret, this.pointer],
46887
47511
  );
46888
- var _nPtr = new Systems.GLTFMaterial(getNativePointer(_ret));
47512
+ var _nPtr = new Systems.LODChain(getNativePointer(_ret));
46889
47513
  Module._free(_ret);
46890
47514
 
46891
47515
  return _nPtr;
@@ -46894,7 +47518,7 @@ export namespace Systems {
46894
47518
  delete(): void {
46895
47519
  if (this.ownsPointer && !this.disposed) {
46896
47520
  Module.ccall(
46897
- "csp_systems_GLTFMaterialResult_Dtor",
47521
+ "csp_systems_LODChainResult_Dtor",
46898
47522
  "void",
46899
47523
  ["number"],
46900
47524
  [this.pointer],
@@ -46909,9 +47533,9 @@ export namespace Systems {
46909
47533
  export namespace Systems {
46910
47534
  /**
46911
47535
  @ingroup Asset System
46912
- * @description Data class used to contain information when attempting to download a collection of material data.
47536
+ * @description Result data class that contains downloaded material data.
46913
47537
  */
46914
- export class GLTFMaterialsResult
47538
+ export class MaterialResult
46915
47539
  extends Systems.ResultBase
46916
47540
  implements INativeResource
46917
47541
  {
@@ -46922,9 +47546,9 @@ export namespace Systems {
46922
47546
 
46923
47547
  static fromResultBase(
46924
47548
  baseInstance: Systems.ResultBase,
46925
- ): Systems.GLTFMaterialsResult {
47549
+ ): Systems.MaterialResult {
46926
47550
  const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
46927
- return new Systems.GLTFMaterialsResult(
47551
+ return new Systems.MaterialResult(
46928
47552
  new NativePointer(
46929
47553
  nativeClassWrapper.pointer,
46930
47554
  nativeClassWrapper.ownsPointer,
@@ -46933,23 +47557,20 @@ export namespace Systems {
46933
47557
  }
46934
47558
 
46935
47559
  /**
46936
- * @description Retreives the GLTFMaterial from the result.
47560
+ * @description Retrieves the Material from the result.
47561
+ * @return Returns a pointer to the Material object. The caller should take ownership of the pointer.
46937
47562
  */
46938
47563
 
46939
- getGLTFMaterials(): Common.Array<Systems.GLTFMaterial> {
47564
+ getMaterial(): Systems.Material {
46940
47565
  var _ret = Module._malloc(8);
46941
47566
 
46942
47567
  Module.ccall(
46943
- "csp_systems_GLTFMaterialsResult_GetGLTFMaterialsC_ArrayRC",
47568
+ "csp_systems_MaterialResult_GetMaterialC_MaterialPC",
46944
47569
  "void",
46945
47570
  ["number", "number"],
46946
47571
  [_ret, this.pointer],
46947
47572
  );
46948
- var _nPtr = new Common.Array<Systems.GLTFMaterial>(
46949
- getNativePointer(_ret),
46950
- csp_systems_GLTFMaterialFactory,
46951
- "csp_systems_GLTFMaterial",
46952
- );
47573
+ var _nPtr = new Systems.Material(getNativePointer(_ret));
46953
47574
  Module._free(_ret);
46954
47575
 
46955
47576
  return _nPtr;
@@ -46958,7 +47579,7 @@ export namespace Systems {
46958
47579
  delete(): void {
46959
47580
  if (this.ownsPointer && !this.disposed) {
46960
47581
  Module.ccall(
46961
- "csp_systems_GLTFMaterialsResult_Dtor",
47582
+ "csp_systems_MaterialResult_Dtor",
46962
47583
  "void",
46963
47584
  ["number"],
46964
47585
  [this.pointer],
@@ -46973,9 +47594,9 @@ export namespace Systems {
46973
47594
  export namespace Systems {
46974
47595
  /**
46975
47596
  @ingroup Asset System
46976
- * @description Data class used to contain information when attempting to download LOD chain data.
47597
+ * @description Result data class that contains a collection of downloaded material data.
46977
47598
  */
46978
- export class LODChainResult
47599
+ export class MaterialsResult
46979
47600
  extends Systems.ResultBase
46980
47601
  implements INativeResource
46981
47602
  {
@@ -46986,9 +47607,9 @@ export namespace Systems {
46986
47607
 
46987
47608
  static fromResultBase(
46988
47609
  baseInstance: Systems.ResultBase,
46989
- ): Systems.LODChainResult {
47610
+ ): Systems.MaterialsResult {
46990
47611
  const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
46991
- return new Systems.LODChainResult(
47612
+ return new Systems.MaterialsResult(
46992
47613
  new NativePointer(
46993
47614
  nativeClassWrapper.pointer,
46994
47615
  nativeClassWrapper.ownsPointer,
@@ -46997,19 +47618,25 @@ export namespace Systems {
46997
47618
  }
46998
47619
 
46999
47620
  /**
47000
- * @description Retreives the LODChain from the result.
47621
+ * @description Retreives an Array of Materials from the result.
47622
+ * @return Returns a const pointer to an Array of Material class pointers. The caller should take ownership of the
47623
+ * pointer.
47001
47624
  */
47002
47625
 
47003
- getLODChain(): Systems.LODChain {
47626
+ getMaterials(): Common.Array<Systems.Material> {
47004
47627
  var _ret = Module._malloc(8);
47005
47628
 
47006
47629
  Module.ccall(
47007
- "csp_systems_LODChainResult_GetLODChainC_LODChainRC",
47630
+ "csp_systems_MaterialsResult_GetMaterialsC_ArrayPC",
47008
47631
  "void",
47009
47632
  ["number", "number"],
47010
47633
  [_ret, this.pointer],
47011
47634
  );
47012
- var _nPtr = new Systems.LODChain(getNativePointer(_ret));
47635
+ var _nPtr = new Common.Array<Systems.Material>(
47636
+ getNativePointer(_ret),
47637
+ csp_systems_MaterialFactory,
47638
+ "csp_systems_Material",
47639
+ );
47013
47640
  Module._free(_ret);
47014
47641
 
47015
47642
  return _nPtr;
@@ -47018,7 +47645,7 @@ export namespace Systems {
47018
47645
  delete(): void {
47019
47646
  if (this.ownsPointer && !this.disposed) {
47020
47647
  Module.ccall(
47021
- "csp_systems_LODChainResult_Dtor",
47648
+ "csp_systems_MaterialsResult_Dtor",
47022
47649
  "void",
47023
47650
  ["number"],
47024
47651
  [this.pointer],
@@ -56946,6 +57573,47 @@ export namespace Systems {
56946
57573
  return _promise;
56947
57574
  }
56948
57575
 
57576
+ /**
57577
+ * @description Post Service Proxy to perform specified operation of specified service
57578
+ * @param params - Params to specify service, operation, set help and parameters
57579
+ * @param callback - Callback to call when a response is received
57580
+ */
57581
+
57582
+ async postServiceProxy(
57583
+ params: Systems.TokenInfoParams,
57584
+ ): Promise<Systems.StringResult> {
57585
+ var _resolve;
57586
+
57587
+ var _promise = new Promise<Systems.StringResult>((_r) => {
57588
+ _resolve = _r;
57589
+ });
57590
+
57591
+ var _callbackPtr: number;
57592
+ var _callback = (_stateObject__: number, result) => {
57593
+ var _resultPtr = getNativePointer(result);
57594
+ var _resultInstance = new Systems.StringResult(_resultPtr);
57595
+
57596
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
57597
+ return;
57598
+ }
57599
+
57600
+ _resolve(_resultInstance);
57601
+
57602
+ Module.removeFunction(_callbackPtr);
57603
+ };
57604
+
57605
+ _callbackPtr = Module.addFunction(_callback, "vii");
57606
+
57607
+ Module.ccall(
57608
+ "csp_systems_UserSystem_PostServiceProxy_void_TokenInfoParamsRC_StringResultCallback",
57609
+ "void",
57610
+ ["number", "number", "number", "number"],
57611
+ [this.pointer, params.pointer, _callbackPtr, 0],
57612
+ );
57613
+
57614
+ return _promise;
57615
+ }
57616
+
56949
57617
  /**
56950
57618
  * @description Re-send user verification email
56951
57619
  * @param inEmail - User's email address
@@ -57315,36 +57983,36 @@ export namespace Common {
57315
57983
  return _inst;
57316
57984
  }
57317
57985
 
57318
- static ofcsp_systems_GLTFMaterial(): Array<Systems.GLTFMaterial> {
57986
+ static ofcsp_systems_LODAsset(): Array<Systems.LODAsset> {
57319
57987
  var _ret = Module._malloc(8);
57320
57988
  Module.ccall(
57321
- "csp_common_Array_Ctor_csp_systems_GLTFMaterial",
57989
+ "csp_common_Array_Ctor_csp_systems_LODAsset",
57322
57990
  "void",
57323
57991
  ["number"],
57324
57992
  [_ret],
57325
57993
  );
57326
- var _inst = new Array<Systems.GLTFMaterial>(
57994
+ var _inst = new Array<Systems.LODAsset>(
57327
57995
  getNativePointer(_ret),
57328
- csp_systems_GLTFMaterialFactory,
57329
- "csp_systems_GLTFMaterial",
57996
+ csp_systems_LODAssetFactory,
57997
+ "csp_systems_LODAsset",
57330
57998
  );
57331
57999
  Module._free(_ret);
57332
58000
 
57333
58001
  return _inst;
57334
58002
  }
57335
58003
 
57336
- static ofcsp_systems_LODAsset(): Array<Systems.LODAsset> {
58004
+ static ofcsp_systems_Material(): Array<Systems.Material> {
57337
58005
  var _ret = Module._malloc(8);
57338
58006
  Module.ccall(
57339
- "csp_common_Array_Ctor_csp_systems_LODAsset",
58007
+ "csp_common_Array_Ctor_csp_systems_Material",
57340
58008
  "void",
57341
58009
  ["number"],
57342
58010
  [_ret],
57343
58011
  );
57344
- var _inst = new Array<Systems.LODAsset>(
58012
+ var _inst = new Array<Systems.Material>(
57345
58013
  getNativePointer(_ret),
57346
- csp_systems_LODAssetFactory,
57347
- "csp_systems_LODAsset",
58014
+ csp_systems_MaterialFactory,
58015
+ "csp_systems_Material",
57348
58016
  );
57349
58017
  Module._free(_ret);
57350
58018
 
@@ -58059,40 +58727,40 @@ export namespace Common {
58059
58727
  return _inst;
58060
58728
  }
58061
58729
 
58062
- static ofcsp_systems_GLTFMaterial_number(
58730
+ static ofcsp_systems_LODAsset_number(
58063
58731
  size: number,
58064
- ): Array<Systems.GLTFMaterial> {
58732
+ ): Array<Systems.LODAsset> {
58065
58733
  var _ret = Module._malloc(8);
58066
58734
  Module.ccall(
58067
- "csp_common_Array_Conv_size_tC_csp_systems_GLTFMaterial",
58735
+ "csp_common_Array_Conv_size_tC_csp_systems_LODAsset",
58068
58736
  "void",
58069
58737
  ["number", "number"],
58070
58738
  [_ret, size],
58071
58739
  );
58072
- var _inst = new Array<Systems.GLTFMaterial>(
58740
+ var _inst = new Array<Systems.LODAsset>(
58073
58741
  getNativePointer(_ret),
58074
- csp_systems_GLTFMaterialFactory,
58075
- "csp_systems_GLTFMaterial",
58742
+ csp_systems_LODAssetFactory,
58743
+ "csp_systems_LODAsset",
58076
58744
  );
58077
58745
  Module._free(_ret);
58078
58746
 
58079
58747
  return _inst;
58080
58748
  }
58081
58749
 
58082
- static ofcsp_systems_LODAsset_number(
58750
+ static ofcsp_systems_Material_number(
58083
58751
  size: number,
58084
- ): Array<Systems.LODAsset> {
58752
+ ): Array<Systems.Material> {
58085
58753
  var _ret = Module._malloc(8);
58086
58754
  Module.ccall(
58087
- "csp_common_Array_Conv_size_tC_csp_systems_LODAsset",
58755
+ "csp_common_Array_Conv_size_tC_csp_systems_Material",
58088
58756
  "void",
58089
58757
  ["number", "number"],
58090
58758
  [_ret, size],
58091
58759
  );
58092
- var _inst = new Array<Systems.LODAsset>(
58760
+ var _inst = new Array<Systems.Material>(
58093
58761
  getNativePointer(_ret),
58094
- csp_systems_LODAssetFactory,
58095
- "csp_systems_LODAsset",
58762
+ csp_systems_MaterialFactory,
58763
+ "csp_systems_Material",
58096
58764
  );
58097
58765
  Module._free(_ret);
58098
58766