connected-spaces-platform.web 5.14.1 → 5.16.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.
- package/Debug/ConnectedSpacesPlatform_WASM.js +39 -31
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +24 -52
- package/connectedspacesplatform.js +95 -112
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +154 -164
- package/package.json +1 -1
|
@@ -21806,7 +21806,7 @@ export namespace Multiplayer {
|
|
|
21806
21806
|
|
|
21807
21807
|
getComponentType(): Multiplayer.ComponentType {
|
|
21808
21808
|
let _result = Module.ccall(
|
|
21809
|
-
"
|
|
21809
|
+
"csp_multiplayer_ComponentBase_GetComponentTypeC_ComponentType",
|
|
21810
21810
|
"number",
|
|
21811
21811
|
["number"],
|
|
21812
21812
|
[this.pointer],
|
|
@@ -21826,7 +21826,7 @@ export namespace Multiplayer {
|
|
|
21826
21826
|
var _ret = Module._malloc(8);
|
|
21827
21827
|
|
|
21828
21828
|
Module.ccall(
|
|
21829
|
-
"
|
|
21829
|
+
"csp_multiplayer_ComponentBase_GetPropertiesC_MapPC",
|
|
21830
21830
|
"void",
|
|
21831
21831
|
["number", "number"],
|
|
21832
21832
|
[_ret, this.pointer],
|
|
@@ -23967,7 +23967,7 @@ export namespace Multiplayer {
|
|
|
23967
23967
|
|
|
23968
23968
|
getThirdPartyPlatformType(): Systems.EThirdPartyPlatform {
|
|
23969
23969
|
let _result = Module.ccall(
|
|
23970
|
-
"
|
|
23970
|
+
"csp_multiplayer_SpaceEntity_GetThirdPartyPlatformTypeC_EThirdPartyPlatform",
|
|
23971
23971
|
"number",
|
|
23972
23972
|
["number"],
|
|
23973
23973
|
[this.pointer],
|
|
@@ -25296,7 +25296,7 @@ export namespace Multiplayer {
|
|
|
25296
25296
|
|
|
25297
25297
|
getEntityPatchRateLimitEnabled(): boolean {
|
|
25298
25298
|
let _result = Module.ccall(
|
|
25299
|
-
"
|
|
25299
|
+
"csp_multiplayer_SpaceEntitySystem_GetEntityPatchRateLimitEnabledC_bool",
|
|
25300
25300
|
"boolean",
|
|
25301
25301
|
["number"],
|
|
25302
25302
|
[this.pointer],
|
|
@@ -25825,12 +25825,6 @@ export namespace Multiplayer {
|
|
|
25825
25825
|
[this.pointer],
|
|
25826
25826
|
);
|
|
25827
25827
|
|
|
25828
|
-
const _unfixedValue = _result;
|
|
25829
|
-
let _fixedValue =
|
|
25830
|
-
_unfixedValue < 0 ? _unfixedValue + 2 ** 16 : _unfixedValue;
|
|
25831
|
-
|
|
25832
|
-
_result = _fixedValue;
|
|
25833
|
-
|
|
25834
25828
|
return _result;
|
|
25835
25829
|
}
|
|
25836
25830
|
|
|
@@ -25925,7 +25919,7 @@ export namespace Multiplayer {
|
|
|
25925
25919
|
): AnnotationData {
|
|
25926
25920
|
var _ptr = Module._malloc(8);
|
|
25927
25921
|
Module.ccall(
|
|
25928
|
-
"
|
|
25922
|
+
"csp_multiplayer_AnnotationData_Ctor_StringRC_StringRC_double_Vector3RC_Vector4RC",
|
|
25929
25923
|
"void",
|
|
25930
25924
|
["number", "string", "string", "number", "number", "number"],
|
|
25931
25925
|
[
|
|
@@ -25957,193 +25951,122 @@ export namespace Multiplayer {
|
|
|
25957
25951
|
return new AnnotationData(_nPtr);
|
|
25958
25952
|
}
|
|
25959
25953
|
|
|
25960
|
-
|
|
25961
|
-
|
|
25962
|
-
|
|
25963
|
-
|
|
25954
|
+
delete(): void {
|
|
25955
|
+
if (this.ownsPointer && !this.disposed) {
|
|
25956
|
+
Module.ccall(
|
|
25957
|
+
"csp_multiplayer_AnnotationData_Dtor",
|
|
25958
|
+
"void",
|
|
25959
|
+
["number"],
|
|
25960
|
+
[this.pointer],
|
|
25961
|
+
);
|
|
25962
|
+
|
|
25963
|
+
this.disposed = true;
|
|
25964
|
+
}
|
|
25965
|
+
}
|
|
25964
25966
|
|
|
25965
|
-
|
|
25967
|
+
get annotationId(): string {
|
|
25966
25968
|
let _result = Module.ccall(
|
|
25967
|
-
"
|
|
25968
|
-
"
|
|
25969
|
+
"csp_multiplayer_AnnotationData__Get_AnnotationId",
|
|
25970
|
+
"string",
|
|
25969
25971
|
["number"],
|
|
25970
25972
|
[this.pointer],
|
|
25971
25973
|
);
|
|
25972
25974
|
|
|
25973
|
-
const _resultString = Module.UTF8ToString(_result);
|
|
25974
|
-
free(_result);
|
|
25975
|
-
|
|
25976
|
-
_result = _resultString;
|
|
25977
|
-
|
|
25978
25975
|
return _result;
|
|
25979
25976
|
}
|
|
25980
25977
|
|
|
25981
|
-
|
|
25982
|
-
|
|
25983
|
-
|
|
25984
|
-
|
|
25978
|
+
set annotationId(value: string) {
|
|
25979
|
+
Module.ccall(
|
|
25980
|
+
"csp_multiplayer_AnnotationData__Set_AnnotationId",
|
|
25981
|
+
"void",
|
|
25982
|
+
["number", "string"],
|
|
25983
|
+
[this.pointer, value],
|
|
25984
|
+
);
|
|
25985
|
+
}
|
|
25985
25986
|
|
|
25986
|
-
|
|
25987
|
+
get annotationThumbnailId(): string {
|
|
25987
25988
|
let _result = Module.ccall(
|
|
25988
|
-
"
|
|
25989
|
-
"
|
|
25989
|
+
"csp_multiplayer_AnnotationData__Get_AnnotationThumbnailId",
|
|
25990
|
+
"string",
|
|
25990
25991
|
["number"],
|
|
25991
25992
|
[this.pointer],
|
|
25992
25993
|
);
|
|
25993
25994
|
|
|
25994
|
-
const _resultString = Module.UTF8ToString(_result);
|
|
25995
|
-
free(_result);
|
|
25996
|
-
|
|
25997
|
-
_result = _resultString;
|
|
25998
|
-
|
|
25999
25995
|
return _result;
|
|
26000
25996
|
}
|
|
26001
25997
|
|
|
26002
|
-
|
|
26003
|
-
|
|
26004
|
-
|
|
26005
|
-
|
|
25998
|
+
set annotationThumbnailId(value: string) {
|
|
25999
|
+
Module.ccall(
|
|
26000
|
+
"csp_multiplayer_AnnotationData__Set_AnnotationThumbnailId",
|
|
26001
|
+
"void",
|
|
26002
|
+
["number", "string"],
|
|
26003
|
+
[this.pointer, value],
|
|
26004
|
+
);
|
|
26005
|
+
}
|
|
26006
26006
|
|
|
26007
|
-
|
|
26007
|
+
get verticalFov(): number {
|
|
26008
26008
|
let _result = Module.ccall(
|
|
26009
|
-
"
|
|
26009
|
+
"csp_multiplayer_AnnotationData__Get_VerticalFov",
|
|
26010
26010
|
"number",
|
|
26011
26011
|
["number"],
|
|
26012
26012
|
[this.pointer],
|
|
26013
26013
|
);
|
|
26014
26014
|
|
|
26015
|
-
const _unfixedValue = _result;
|
|
26016
|
-
let _fixedValue =
|
|
26017
|
-
_unfixedValue < 0 ? _unfixedValue + 2 ** 16 : _unfixedValue;
|
|
26018
|
-
_result = _fixedValue;
|
|
26019
|
-
|
|
26020
26015
|
return _result;
|
|
26021
26016
|
}
|
|
26022
26017
|
|
|
26023
|
-
|
|
26024
|
-
* @description Get the AuthorCameraPosition
|
|
26025
|
-
* @return A vector3 representing the authorcameraposition
|
|
26026
|
-
*/
|
|
26027
|
-
|
|
26028
|
-
getAuthorCameraPosition(): Common.Vector3 {
|
|
26029
|
-
var _ret = Module._malloc(8);
|
|
26030
|
-
|
|
26018
|
+
set verticalFov(value: number) {
|
|
26031
26019
|
Module.ccall(
|
|
26032
|
-
"
|
|
26020
|
+
"csp_multiplayer_AnnotationData__Set_VerticalFov",
|
|
26033
26021
|
"void",
|
|
26034
26022
|
["number", "number"],
|
|
26035
|
-
[
|
|
26023
|
+
[this.pointer, value],
|
|
26036
26024
|
);
|
|
26037
|
-
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
26038
|
-
Module._free(_ret);
|
|
26039
|
-
return _nPtr;
|
|
26040
26025
|
}
|
|
26041
26026
|
|
|
26042
|
-
|
|
26043
|
-
|
|
26044
|
-
* @return A vector4 representing the authorcamerarotation
|
|
26045
|
-
*/
|
|
26046
|
-
|
|
26047
|
-
getAuthorCameraRotation(): Common.Vector4 {
|
|
26048
|
-
var _ret = Module._malloc(8);
|
|
26049
|
-
|
|
26027
|
+
get authorCameraPosition(): Common.Vector3 {
|
|
26028
|
+
const _ptr = Module._malloc(8);
|
|
26050
26029
|
Module.ccall(
|
|
26051
|
-
"
|
|
26030
|
+
"csp_multiplayer_AnnotationData__Get_AuthorCameraPosition",
|
|
26052
26031
|
"void",
|
|
26053
26032
|
["number", "number"],
|
|
26054
|
-
[
|
|
26055
|
-
);
|
|
26056
|
-
var _nPtr = new Common.Vector4(getNativePointer(_ret));
|
|
26057
|
-
Module._free(_ret);
|
|
26058
|
-
return _nPtr;
|
|
26059
|
-
}
|
|
26060
|
-
|
|
26061
|
-
/**
|
|
26062
|
-
* @description Set the annotation id
|
|
26063
|
-
* @param id - Const csp::common::string& id
|
|
26064
|
-
*/
|
|
26065
|
-
|
|
26066
|
-
setAnnotationId(id: string): void {
|
|
26067
|
-
Module.ccall(
|
|
26068
|
-
"csp_multiplayer_AnnotationData_SetAnnotationId_void_StringRC",
|
|
26069
|
-
"void",
|
|
26070
|
-
["number", "string"],
|
|
26071
|
-
[this.pointer, id],
|
|
26033
|
+
[_ptr, this.pointer],
|
|
26072
26034
|
);
|
|
26073
|
-
}
|
|
26074
|
-
|
|
26075
|
-
/**
|
|
26076
|
-
* @description Set the annotation collection id
|
|
26077
|
-
* @param id - Const csp::common::string& id
|
|
26078
|
-
*/
|
|
26079
26035
|
|
|
26080
|
-
|
|
26081
|
-
|
|
26082
|
-
"csp_multiplayer_AnnotationData_SetAnnotationThumbnailId_void_StringRC",
|
|
26083
|
-
"void",
|
|
26084
|
-
["number", "string"],
|
|
26085
|
-
[this.pointer, id],
|
|
26086
|
-
);
|
|
26036
|
+
const _nPtr = getNativePointer(_ptr);
|
|
26037
|
+
return new Common.Vector3(_nPtr);
|
|
26087
26038
|
}
|
|
26088
26039
|
|
|
26089
|
-
|
|
26090
|
-
* @description Set the VerticalFov
|
|
26091
|
-
* @param inVerticalFo - InVerticalFov
|
|
26092
|
-
*/
|
|
26093
|
-
|
|
26094
|
-
setVerticalFov(verticalFov: number): void {
|
|
26095
|
-
assert(Number.isInteger(verticalFov));
|
|
26096
|
-
assert(verticalFov >= Limits.UINT16_MIN);
|
|
26097
|
-
assert(verticalFov <= Limits.UINT16_MAX);
|
|
26098
|
-
|
|
26040
|
+
set authorCameraPosition(value: Common.Vector3) {
|
|
26099
26041
|
Module.ccall(
|
|
26100
|
-
"
|
|
26042
|
+
"csp_multiplayer_AnnotationData__Set_AuthorCameraPosition",
|
|
26101
26043
|
"void",
|
|
26102
26044
|
["number", "number"],
|
|
26103
|
-
[this.pointer,
|
|
26045
|
+
[this.pointer, value.pointer],
|
|
26104
26046
|
);
|
|
26105
26047
|
}
|
|
26106
26048
|
|
|
26107
|
-
|
|
26108
|
-
|
|
26109
|
-
* @param inAuthorCameraPositio - InAuthorCameraPosition
|
|
26110
|
-
*/
|
|
26111
|
-
|
|
26112
|
-
setAuthorCameraPosition(authorCameraPosition: Common.Vector3): void {
|
|
26049
|
+
get authorCameraRotation(): Common.Vector4 {
|
|
26050
|
+
const _ptr = Module._malloc(8);
|
|
26113
26051
|
Module.ccall(
|
|
26114
|
-
"
|
|
26052
|
+
"csp_multiplayer_AnnotationData__Get_AuthorCameraRotation",
|
|
26115
26053
|
"void",
|
|
26116
26054
|
["number", "number"],
|
|
26117
|
-
[
|
|
26055
|
+
[_ptr, this.pointer],
|
|
26118
26056
|
);
|
|
26119
|
-
}
|
|
26120
26057
|
|
|
26121
|
-
|
|
26122
|
-
|
|
26123
|
-
|
|
26124
|
-
*/
|
|
26058
|
+
const _nPtr = getNativePointer(_ptr);
|
|
26059
|
+
return new Common.Vector4(_nPtr);
|
|
26060
|
+
}
|
|
26125
26061
|
|
|
26126
|
-
|
|
26062
|
+
set authorCameraRotation(value: Common.Vector4) {
|
|
26127
26063
|
Module.ccall(
|
|
26128
|
-
"
|
|
26064
|
+
"csp_multiplayer_AnnotationData__Set_AuthorCameraRotation",
|
|
26129
26065
|
"void",
|
|
26130
26066
|
["number", "number"],
|
|
26131
|
-
[this.pointer,
|
|
26067
|
+
[this.pointer, value.pointer],
|
|
26132
26068
|
);
|
|
26133
26069
|
}
|
|
26134
|
-
|
|
26135
|
-
delete(): void {
|
|
26136
|
-
if (this.ownsPointer && !this.disposed) {
|
|
26137
|
-
Module.ccall(
|
|
26138
|
-
"csp_multiplayer_AnnotationData_Dtor",
|
|
26139
|
-
"void",
|
|
26140
|
-
["number"],
|
|
26141
|
-
[this.pointer],
|
|
26142
|
-
);
|
|
26143
|
-
|
|
26144
|
-
this.disposed = true;
|
|
26145
|
-
}
|
|
26146
|
-
}
|
|
26147
26070
|
}
|
|
26148
26071
|
}
|
|
26149
26072
|
|
|
@@ -26963,7 +26886,7 @@ export namespace Systems {
|
|
|
26963
26886
|
|
|
26964
26887
|
getResultCode(): Systems.EResultCode {
|
|
26965
26888
|
let _result = Module.ccall(
|
|
26966
|
-
"
|
|
26889
|
+
"csp_systems_ResultBase_GetResultCodeC_EResultCode",
|
|
26967
26890
|
"number",
|
|
26968
26891
|
["number"],
|
|
26969
26892
|
[this.pointer],
|
|
@@ -26979,7 +26902,7 @@ export namespace Systems {
|
|
|
26979
26902
|
|
|
26980
26903
|
getHttpResultCode(): number {
|
|
26981
26904
|
let _result = Module.ccall(
|
|
26982
|
-
"
|
|
26905
|
+
"csp_systems_ResultBase_GetHttpResultCodeC_uint16_t",
|
|
26983
26906
|
"number",
|
|
26984
26907
|
["number"],
|
|
26985
26908
|
[this.pointer],
|
|
@@ -27176,7 +27099,7 @@ export namespace Systems {
|
|
|
27176
27099
|
|
|
27177
27100
|
getInt(key: string): bigint {
|
|
27178
27101
|
let _result = Module.ccall(
|
|
27179
|
-
"
|
|
27102
|
+
"csp_systems_AnalyticsEvent_GetIntC_int64_t_String",
|
|
27180
27103
|
"bigint",
|
|
27181
27104
|
["number", "string"],
|
|
27182
27105
|
[this.pointer, key],
|
|
@@ -27203,7 +27126,7 @@ export namespace Systems {
|
|
|
27203
27126
|
|
|
27204
27127
|
getFloat(key: string): number {
|
|
27205
27128
|
let _result = Module.ccall(
|
|
27206
|
-
"
|
|
27129
|
+
"csp_systems_AnalyticsEvent_GetFloatC_float_String",
|
|
27207
27130
|
"number",
|
|
27208
27131
|
["number", "string"],
|
|
27209
27132
|
[this.pointer, key],
|
|
@@ -28445,7 +28368,7 @@ export namespace Systems {
|
|
|
28445
28368
|
|
|
28446
28369
|
getShaderType(): Systems.EShaderType {
|
|
28447
28370
|
let _result = Module.ccall(
|
|
28448
|
-
"
|
|
28371
|
+
"csp_systems_Material_GetShaderTypeC_EShaderType",
|
|
28449
28372
|
"number",
|
|
28450
28373
|
["number"],
|
|
28451
28374
|
[this.pointer],
|
|
@@ -28461,7 +28384,7 @@ export namespace Systems {
|
|
|
28461
28384
|
|
|
28462
28385
|
getVersion(): number {
|
|
28463
28386
|
let _result = Module.ccall(
|
|
28464
|
-
"
|
|
28387
|
+
"csp_systems_Material_GetVersionC_int",
|
|
28465
28388
|
"number",
|
|
28466
28389
|
["number"],
|
|
28467
28390
|
[this.pointer],
|
|
@@ -35550,7 +35473,7 @@ export namespace Multiplayer {
|
|
|
35550
35473
|
|
|
35551
35474
|
getAvatarMeshIndex(): bigint {
|
|
35552
35475
|
let _result = Module.ccall(
|
|
35553
|
-
"
|
|
35476
|
+
"csp_multiplayer_AvatarSpaceComponent_GetAvatarMeshIndexC_int64_t",
|
|
35554
35477
|
"bigint",
|
|
35555
35478
|
["number"],
|
|
35556
35479
|
[this.pointer],
|
|
@@ -35661,7 +35584,7 @@ export namespace Multiplayer {
|
|
|
35661
35584
|
|
|
35662
35585
|
getIsHandIKEnabled(): boolean {
|
|
35663
35586
|
let _result = Module.ccall(
|
|
35664
|
-
"
|
|
35587
|
+
"csp_multiplayer_AvatarSpaceComponent_GetIsHandIKEnabledC_bool",
|
|
35665
35588
|
"boolean",
|
|
35666
35589
|
["number"],
|
|
35667
35590
|
[this.pointer],
|
|
@@ -35830,7 +35753,7 @@ export namespace Multiplayer {
|
|
|
35830
35753
|
|
|
35831
35754
|
getWalkRunBlendPercentage(): number {
|
|
35832
35755
|
let _result = Module.ccall(
|
|
35833
|
-
"
|
|
35756
|
+
"csp_multiplayer_AvatarSpaceComponent_GetWalkRunBlendPercentageC_float",
|
|
35834
35757
|
"number",
|
|
35835
35758
|
["number"],
|
|
35836
35759
|
[this.pointer],
|
|
@@ -35869,7 +35792,7 @@ export namespace Multiplayer {
|
|
|
35869
35792
|
|
|
35870
35793
|
getTorsoTwistAlpha(): number {
|
|
35871
35794
|
let _result = Module.ccall(
|
|
35872
|
-
"
|
|
35795
|
+
"csp_multiplayer_AvatarSpaceComponent_GetTorsoTwistAlphaC_float",
|
|
35873
35796
|
"number",
|
|
35874
35797
|
["number"],
|
|
35875
35798
|
[this.pointer],
|
|
@@ -38181,26 +38104,39 @@ export namespace Multiplayer {
|
|
|
38181
38104
|
* A CSP error will be sent to the LogSystem if this condition is not met, with a EResultCode::Failed response.
|
|
38182
38105
|
*/
|
|
38183
38106
|
|
|
38184
|
-
getAnnotationThumbnailsForConversation(
|
|
38185
|
-
|
|
38186
|
-
|
|
38187
|
-
|
|
38188
|
-
|
|
38107
|
+
async getAnnotationThumbnailsForConversation(): Promise<Multiplayer.AnnotationThumbnailCollectionResult> {
|
|
38108
|
+
var _resolve;
|
|
38109
|
+
|
|
38110
|
+
var _promise =
|
|
38111
|
+
new Promise<Multiplayer.AnnotationThumbnailCollectionResult>((_r) => {
|
|
38112
|
+
_resolve = _r;
|
|
38113
|
+
});
|
|
38114
|
+
|
|
38115
|
+
var _callbackPtr: number;
|
|
38189
38116
|
var _callback = (_stateObject__: number, result) => {
|
|
38190
|
-
var
|
|
38191
|
-
|
|
38192
|
-
|
|
38193
|
-
|
|
38117
|
+
var _resultPtr = getNativePointer(result);
|
|
38118
|
+
var _resultInstance =
|
|
38119
|
+
new Multiplayer.AnnotationThumbnailCollectionResult(_resultPtr);
|
|
38120
|
+
|
|
38121
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
38122
|
+
return;
|
|
38123
|
+
}
|
|
38124
|
+
|
|
38125
|
+
_resolve(_resultInstance);
|
|
38126
|
+
|
|
38127
|
+
Module.removeFunction(_callbackPtr);
|
|
38194
38128
|
};
|
|
38195
38129
|
|
|
38196
|
-
|
|
38130
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
38197
38131
|
|
|
38198
38132
|
Module.ccall(
|
|
38199
38133
|
"csp_multiplayer_ConversationSpaceComponent_GetAnnotationThumbnailsForConversation_void_AnnotationThumbnailCollectionResultCallback",
|
|
38200
38134
|
"void",
|
|
38201
|
-
["number", "number"],
|
|
38202
|
-
[this.pointer,
|
|
38135
|
+
["number", "number", "number"],
|
|
38136
|
+
[this.pointer, _callbackPtr, 0],
|
|
38203
38137
|
);
|
|
38138
|
+
|
|
38139
|
+
return _promise;
|
|
38204
38140
|
}
|
|
38205
38141
|
|
|
38206
38142
|
/**
|
|
@@ -45885,6 +45821,19 @@ export namespace Systems {
|
|
|
45885
45821
|
return _nPtr;
|
|
45886
45822
|
}
|
|
45887
45823
|
|
|
45824
|
+
static create(): AssetCollectionResult {
|
|
45825
|
+
var _ptr = Module._malloc(8);
|
|
45826
|
+
Module.ccall(
|
|
45827
|
+
"csp_systems_AssetCollectionResult_Ctor",
|
|
45828
|
+
"void",
|
|
45829
|
+
["number"],
|
|
45830
|
+
[_ptr],
|
|
45831
|
+
);
|
|
45832
|
+
var _nPtr = getNativePointer(_ptr);
|
|
45833
|
+
|
|
45834
|
+
return new AssetCollectionResult(_nPtr);
|
|
45835
|
+
}
|
|
45836
|
+
|
|
45888
45837
|
delete(): void {
|
|
45889
45838
|
if (this.ownsPointer && !this.disposed) {
|
|
45890
45839
|
Module.ccall(
|
|
@@ -47866,6 +47815,39 @@ export namespace Systems {
|
|
|
47866
47815
|
return _nPtr;
|
|
47867
47816
|
}
|
|
47868
47817
|
|
|
47818
|
+
/**
|
|
47819
|
+
* @description Set the emissive strength.
|
|
47820
|
+
* @param strength - The emissive strength.
|
|
47821
|
+
*/
|
|
47822
|
+
|
|
47823
|
+
setEmissiveStrength(strength: number): void {
|
|
47824
|
+
assert(strength >= Limits.FLOAT_MIN);
|
|
47825
|
+
assert(strength <= Limits.FLOAT_MAX);
|
|
47826
|
+
|
|
47827
|
+
Module.ccall(
|
|
47828
|
+
"csp_systems_GLTFMaterial_SetEmissiveStrength_void_float",
|
|
47829
|
+
"void",
|
|
47830
|
+
["number", "number"],
|
|
47831
|
+
[this.pointer, strength],
|
|
47832
|
+
);
|
|
47833
|
+
}
|
|
47834
|
+
|
|
47835
|
+
/**
|
|
47836
|
+
* @description Get the emissive strength.
|
|
47837
|
+
* @return The emissive strength.
|
|
47838
|
+
*/
|
|
47839
|
+
|
|
47840
|
+
getEmissiveStrength(): number {
|
|
47841
|
+
let _result = Module.ccall(
|
|
47842
|
+
"csp_systems_GLTFMaterial_GetEmissiveStrengthC_float",
|
|
47843
|
+
"number",
|
|
47844
|
+
["number"],
|
|
47845
|
+
[this.pointer],
|
|
47846
|
+
);
|
|
47847
|
+
|
|
47848
|
+
return _result;
|
|
47849
|
+
}
|
|
47850
|
+
|
|
47869
47851
|
/**
|
|
47870
47852
|
* @description Sets the base color texture.
|
|
47871
47853
|
@details The first three components (RGB) MUST be encoded with the sRGB transfer function. They specify the base color of the material.
|
|
@@ -53211,6 +53193,14 @@ export namespace Systems {
|
|
|
53211
53193
|
return _result;
|
|
53212
53194
|
}
|
|
53213
53195
|
|
|
53196
|
+
static create(): SpaceResult {
|
|
53197
|
+
var _ptr = Module._malloc(8);
|
|
53198
|
+
Module.ccall("csp_systems_SpaceResult_Ctor", "void", ["number"], [_ptr]);
|
|
53199
|
+
var _nPtr = getNativePointer(_ptr);
|
|
53200
|
+
|
|
53201
|
+
return new SpaceResult(_nPtr);
|
|
53202
|
+
}
|
|
53203
|
+
|
|
53214
53204
|
delete(): void {
|
|
53215
53205
|
if (this.ownsPointer && !this.disposed) {
|
|
53216
53206
|
Module.ccall(
|
|
@@ -53744,7 +53734,7 @@ export namespace Systems {
|
|
|
53744
53734
|
|
|
53745
53735
|
hasSpaceGeoLocation(): boolean {
|
|
53746
53736
|
let _result = Module.ccall(
|
|
53747
|
-
"
|
|
53737
|
+
"csp_systems_SpaceGeoLocationResult_HasSpaceGeoLocationC_bool",
|
|
53748
53738
|
"boolean",
|
|
53749
53739
|
["number"],
|
|
53750
53740
|
[this.pointer],
|
|
@@ -54159,7 +54149,7 @@ export namespace Systems {
|
|
|
54159
54149
|
}
|
|
54160
54150
|
|
|
54161
54151
|
/**
|
|
54162
|
-
* @description Deletes a given space and the
|
|
54152
|
+
* @description Deletes a given space and the associated objects that belong to it. Including UserService group, Metadata, and Thumbnail.
|
|
54163
54153
|
* @param space - Space to delete
|
|
54164
54154
|
* @param callback - Callback when asynchronous task finishes
|
|
54165
54155
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connected-spaces-platform.web",
|
|
3
3
|
"displayName": "connected-spaces-platform.web",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.16.0+592",
|
|
5
5
|
"description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"dependencies": {
|