@dcl/playground-assets 7.20.4-22561917759.commit-d944d0d → 7.20.4-22578241217.commit-fd0f1f3
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/etc/playground-assets.api.md +563 -184
- package/package.json +4 -4
- package/dist/alpha.d.ts +0 -9870
- package/dist/beta.d.ts +0 -9837
- package/dist/index.bundled.d.ts +0 -9837
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -47
- package/dist/index.js.map +0 -8
- package/dist/playground/sdk/apis.d.ts +0 -1666
- package/dist/playground/sdk/dcl-sdk.package.json +0 -39
- package/dist/playground/snippets/billboard.ts +0 -111
- package/dist/playground/snippets/cube-spawner.ts +0 -38
- package/dist/playground/snippets/info.json +0 -1
- package/dist/playground/snippets/material.ts +0 -50
- package/dist/playground/snippets/mesh.ts +0 -63
- package/dist/playground/snippets/pointer-events.ts +0 -59
- package/dist/playground/snippets/raycast-hit-many.ts +0 -64
- package/dist/playground/snippets/raycast-hit.ts +0 -65
- package/dist/playground/snippets/ui-backgrounds.tsx +0 -170
- package/dist/playground/snippets/ui-dropdown.tsx +0 -28
- package/dist/playground/snippets/ui.tsx +0 -132
- package/dist/playground-assets.d.ts +0 -9870
- package/dist/tsdoc-metadata.json +0 -11
- package/etc/playground-assets.api.json +0 -92589
|
@@ -70,31 +70,6 @@ export const assetLoadLoadingStateSystem: AssetLoadLoadingStateSystem;
|
|
|
70
70
|
// @public (undocumented)
|
|
71
71
|
export type AssetLoadLoadingStateSystemCallback = (event: DeepReadonlyObject<PBAssetLoadLoadingState>) => void;
|
|
72
72
|
|
|
73
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysis" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
74
|
-
//
|
|
75
|
-
// @public (undocumented)
|
|
76
|
-
export const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
|
|
77
|
-
|
|
78
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysisComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
79
|
-
//
|
|
80
|
-
// @public (undocumented)
|
|
81
|
-
export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
|
|
82
|
-
createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
83
|
-
amplitudeGain?: number, bandsGain?: number): void;
|
|
84
|
-
createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
85
|
-
amplitudeGain?: number, bandsGain?: number): void;
|
|
86
|
-
readIntoView(entity: Entity, out: AudioAnalysisView): void;
|
|
87
|
-
tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysisView" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
91
|
-
//
|
|
92
|
-
// @public
|
|
93
|
-
export type AudioAnalysisView = {
|
|
94
|
-
amplitude: number;
|
|
95
|
-
bands: number[];
|
|
96
|
-
};
|
|
97
|
-
|
|
98
73
|
// @public (undocumented)
|
|
99
74
|
export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
100
75
|
|
|
@@ -181,12 +156,29 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
|
181
156
|
// @public (undocumented)
|
|
182
157
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
183
158
|
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
export const enum AvatarControlType {
|
|
161
|
+
CCT_NONE = 0,
|
|
162
|
+
CCT_RELATIVE = 1,
|
|
163
|
+
CCT_TANK = 2
|
|
164
|
+
}
|
|
165
|
+
|
|
184
166
|
// @public (undocumented)
|
|
185
167
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
186
168
|
|
|
187
169
|
// @public (undocumented)
|
|
188
170
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
189
171
|
|
|
172
|
+
// @public (undocumented)
|
|
173
|
+
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
174
|
+
|
|
175
|
+
// Warning: (ae-missing-release-tag) "AvatarEquippedDataType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
176
|
+
//
|
|
177
|
+
// @public (undocumented)
|
|
178
|
+
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
179
|
+
forceRender?: string[] | undefined;
|
|
180
|
+
};
|
|
181
|
+
|
|
190
182
|
// @public (undocumented)
|
|
191
183
|
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
192
184
|
|
|
@@ -199,9 +191,47 @@ export const enum AvatarModifierType {
|
|
|
199
191
|
AMT_HIDE_AVATARS = 0
|
|
200
192
|
}
|
|
201
193
|
|
|
194
|
+
// @public (undocumented)
|
|
195
|
+
export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
|
|
196
|
+
|
|
197
|
+
// @public (undocumented)
|
|
198
|
+
export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
|
|
199
|
+
|
|
200
|
+
// @public (undocumented)
|
|
201
|
+
export interface AvatarMovementSettings {
|
|
202
|
+
allowWeightedMovement?: boolean | undefined;
|
|
203
|
+
// (undocumented)
|
|
204
|
+
controlMode?: AvatarControlType | undefined;
|
|
205
|
+
friction?: number | undefined;
|
|
206
|
+
gravity?: number | undefined;
|
|
207
|
+
jumpHeight?: number | undefined;
|
|
208
|
+
maxFallSpeed?: number | undefined;
|
|
209
|
+
runSpeed?: number | undefined;
|
|
210
|
+
turnSpeed?: number | undefined;
|
|
211
|
+
walkSpeed?: number | undefined;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// @public (undocumented)
|
|
215
|
+
export namespace AvatarMovementSettings {
|
|
216
|
+
// (undocumented)
|
|
217
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
218
|
+
// (undocumented)
|
|
219
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
220
|
+
}
|
|
221
|
+
|
|
202
222
|
// @public (undocumented)
|
|
203
223
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
204
224
|
|
|
225
|
+
// @public (undocumented)
|
|
226
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
227
|
+
|
|
228
|
+
// Warning: (ae-missing-release-tag) "AvatarShapeType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
229
|
+
//
|
|
230
|
+
// @public (undocumented)
|
|
231
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
232
|
+
forceRender?: string[] | undefined;
|
|
233
|
+
};
|
|
234
|
+
|
|
205
235
|
// @public (undocumented)
|
|
206
236
|
export interface AvatarTexture {
|
|
207
237
|
filterMode?: TextureFilterMode | undefined;
|
|
@@ -404,9 +434,15 @@ export interface ByteBuffer {
|
|
|
404
434
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
405
435
|
}
|
|
406
436
|
|
|
407
|
-
// @public
|
|
437
|
+
// @public @deprecated
|
|
408
438
|
export type Callback = () => void;
|
|
409
439
|
|
|
440
|
+
// @public (undocumented)
|
|
441
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
442
|
+
|
|
443
|
+
// @public (undocumented)
|
|
444
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
445
|
+
|
|
410
446
|
// @public (undocumented)
|
|
411
447
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
412
448
|
|
|
@@ -455,6 +491,29 @@ export const enum CameraType {
|
|
|
455
491
|
// @public (undocumented)
|
|
456
492
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
457
493
|
|
|
494
|
+
// @public (undocumented)
|
|
495
|
+
export interface CinematicSettings {
|
|
496
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
497
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
498
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
499
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
500
|
+
allowManualRotation?: boolean | undefined;
|
|
501
|
+
cameraEntity: number;
|
|
502
|
+
pitchRange?: number | undefined;
|
|
503
|
+
rollRange?: number | undefined;
|
|
504
|
+
yawRange?: number | undefined;
|
|
505
|
+
zoomMax?: number | undefined;
|
|
506
|
+
zoomMin?: number | undefined;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
// @public (undocumented)
|
|
510
|
+
export namespace CinematicSettings {
|
|
511
|
+
// (undocumented)
|
|
512
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
513
|
+
// (undocumented)
|
|
514
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
515
|
+
}
|
|
516
|
+
|
|
458
517
|
// @public (undocumented)
|
|
459
518
|
export const enum ColliderLayer {
|
|
460
519
|
// (undocumented)
|
|
@@ -672,7 +731,6 @@ export const componentDefinitionByName: {
|
|
|
672
731
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
673
732
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
674
733
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
675
|
-
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
676
734
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
677
735
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
678
736
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -682,14 +740,21 @@ export const componentDefinitionByName: {
|
|
|
682
740
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
683
741
|
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
684
742
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
743
|
+
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
744
|
+
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
685
745
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
686
746
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
747
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
748
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
687
749
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
688
750
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
689
751
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
752
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
690
753
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
691
754
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
755
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
692
756
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
757
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
693
758
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
694
759
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
695
760
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -707,17 +772,20 @@ export const componentDefinitionByName: {
|
|
|
707
772
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
708
773
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
709
774
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
775
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
710
776
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
711
777
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
712
778
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
713
779
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
714
780
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
715
781
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
782
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
716
783
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
717
784
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
718
785
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
719
786
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
720
787
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
788
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
721
789
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
722
790
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
723
791
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1155,10 +1223,18 @@ export type EntityComponents = {
|
|
|
1155
1223
|
uiBackground: PBUiBackground;
|
|
1156
1224
|
uiInput: PBUiInput;
|
|
1157
1225
|
uiDropdown: PBUiDropdown;
|
|
1158
|
-
onMouseDown:
|
|
1159
|
-
onMouseUp:
|
|
1160
|
-
onMouseEnter:
|
|
1161
|
-
onMouseLeave:
|
|
1226
|
+
onMouseDown: EventSystemCallback;
|
|
1227
|
+
onMouseUp: EventSystemCallback;
|
|
1228
|
+
onMouseEnter: EventSystemCallback;
|
|
1229
|
+
onMouseLeave: EventSystemCallback;
|
|
1230
|
+
onMouseDrag: EventSystemCallback;
|
|
1231
|
+
onMouseDragLocked: EventSystemCallback;
|
|
1232
|
+
onMouseDragEnd: EventSystemCallback;
|
|
1233
|
+
onInputDown: MultiCallback;
|
|
1234
|
+
onInputUp: MultiCallback;
|
|
1235
|
+
onInputDrag: MultiCallback;
|
|
1236
|
+
onInputDragLocked: MultiCallback;
|
|
1237
|
+
onInputDragEnd: MultiCallback;
|
|
1162
1238
|
};
|
|
1163
1239
|
|
|
1164
1240
|
// @public (undocumented)
|
|
@@ -1211,6 +1287,11 @@ export type EventSystemOptions = {
|
|
|
1211
1287
|
maxPlayerDistance?: number;
|
|
1212
1288
|
};
|
|
1213
1289
|
|
|
1290
|
+
// @public (undocumented)
|
|
1291
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1292
|
+
cb: EventSystemCallback;
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1214
1295
|
// @public
|
|
1215
1296
|
export type ExcludeUndefined<T> = {
|
|
1216
1297
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1281,6 +1362,9 @@ export const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystem
|
|
|
1281
1362
|
// @public
|
|
1282
1363
|
export function getEntitiesWithParent(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema'>, parent: Entity): Entity[];
|
|
1283
1364
|
|
|
1365
|
+
// @public
|
|
1366
|
+
export function getGlobal<T>(key: string): T | undefined;
|
|
1367
|
+
|
|
1284
1368
|
// @public
|
|
1285
1369
|
export function getWorldPosition(engine: WorldTransformEngine, entity: Entity): Vector3Type;
|
|
1286
1370
|
|
|
@@ -1299,6 +1383,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1299
1383
|
direction?: PBVector3;
|
|
1300
1384
|
};
|
|
1301
1385
|
|
|
1386
|
+
// @public (undocumented)
|
|
1387
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1388
|
+
|
|
1302
1389
|
// Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1303
1390
|
//
|
|
1304
1391
|
// @public (undocumented)
|
|
@@ -1317,9 +1404,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1317
1404
|
// @public (undocumented)
|
|
1318
1405
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1319
1406
|
|
|
1407
|
+
// @public (undocumented)
|
|
1408
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1409
|
+
|
|
1320
1410
|
// @public (undocumented)
|
|
1321
1411
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1322
1412
|
|
|
1413
|
+
// @public (undocumented)
|
|
1414
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1415
|
+
|
|
1416
|
+
// @public (undocumented)
|
|
1417
|
+
export const enum GltfNodeStateValue {
|
|
1418
|
+
// (undocumented)
|
|
1419
|
+
GNSV_FAILED = 1,
|
|
1420
|
+
// (undocumented)
|
|
1421
|
+
GNSV_PENDING = 0,
|
|
1422
|
+
// (undocumented)
|
|
1423
|
+
GNSV_READY = 2
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1323
1426
|
// @public (undocumented)
|
|
1324
1427
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1325
1428
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1444,6 +1547,7 @@ export type IInputSystem = {
|
|
|
1444
1547
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1445
1548
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1446
1549
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1550
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1447
1551
|
};
|
|
1448
1552
|
|
|
1449
1553
|
// @public
|
|
@@ -1529,8 +1633,6 @@ export const enum InputAction {
|
|
|
1529
1633
|
// (undocumented)
|
|
1530
1634
|
IA_LEFT = 7,
|
|
1531
1635
|
// (undocumented)
|
|
1532
|
-
IA_MODIFIER = 14,
|
|
1533
|
-
// (undocumented)
|
|
1534
1636
|
IA_POINTER = 0,
|
|
1535
1637
|
// (undocumented)
|
|
1536
1638
|
IA_PRIMARY = 1,
|
|
@@ -1574,14 +1676,6 @@ export type InstanceCompositeOptions = {
|
|
|
1574
1676
|
alreadyRequestedSrc?: Set<string>;
|
|
1575
1677
|
};
|
|
1576
1678
|
|
|
1577
|
-
// @public (undocumented)
|
|
1578
|
-
export const enum InteractionType {
|
|
1579
|
-
// (undocumented)
|
|
1580
|
-
CURSOR = 0,
|
|
1581
|
-
// (undocumented)
|
|
1582
|
-
PROXIMITY = 1
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
1679
|
// @public (undocumented)
|
|
1586
1680
|
export interface ISchema<T = any> {
|
|
1587
1681
|
// (undocumented)
|
|
@@ -1703,10 +1797,18 @@ export interface LightSourceHelper {
|
|
|
1703
1797
|
|
|
1704
1798
|
// @public
|
|
1705
1799
|
export type Listeners = {
|
|
1706
|
-
onMouseDown?:
|
|
1707
|
-
onMouseUp?:
|
|
1708
|
-
onMouseEnter?:
|
|
1709
|
-
onMouseLeave?:
|
|
1800
|
+
onMouseDown?: EventSystemCallback;
|
|
1801
|
+
onMouseUp?: EventSystemCallback;
|
|
1802
|
+
onMouseEnter?: EventSystemCallback;
|
|
1803
|
+
onMouseLeave?: EventSystemCallback;
|
|
1804
|
+
onMouseDrag?: EventSystemCallback;
|
|
1805
|
+
onMouseDragLocked?: EventSystemCallback;
|
|
1806
|
+
onMouseDragEnd?: EventSystemCallback;
|
|
1807
|
+
onInputDown?: MultiCallback;
|
|
1808
|
+
onInputUp?: MultiCallback;
|
|
1809
|
+
onInputDrag?: MultiCallback;
|
|
1810
|
+
onInputDragLocked?: MultiCallback;
|
|
1811
|
+
onInputDragEnd?: MultiCallback;
|
|
1710
1812
|
};
|
|
1711
1813
|
|
|
1712
1814
|
// @public (undocumented)
|
|
@@ -1950,6 +2052,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
1950
2052
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
1951
2053
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1952
2054
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2055
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1953
2056
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1954
2057
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1955
2058
|
}
|
|
@@ -1963,6 +2066,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
1963
2066
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
1964
2067
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
1965
2068
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2069
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
1966
2070
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
1967
2071
|
setSphere(entity: Entity): void;
|
|
1968
2072
|
}
|
|
@@ -2010,79 +2114,19 @@ export namespace MoveContinuous {
|
|
|
2010
2114
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2011
2115
|
}
|
|
2012
2116
|
|
|
2013
|
-
//
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
scaleEnd: PBVector3 | undefined;
|
|
2025
|
-
// (undocumented)
|
|
2026
|
-
scaleStart: PBVector3 | undefined;
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
// @public (undocumented)
|
|
2030
|
-
export namespace MoveRotateScale {
|
|
2031
|
-
// (undocumented)
|
|
2032
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
|
|
2033
|
-
// (undocumented)
|
|
2034
|
-
export function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
// @public (undocumented)
|
|
2038
|
-
export interface MoveRotateScaleContinuous {
|
|
2039
|
-
// (undocumented)
|
|
2040
|
-
positionDirection: PBVector3 | undefined;
|
|
2041
|
-
// (undocumented)
|
|
2042
|
-
rotationDirection: PBQuaternion | undefined;
|
|
2043
|
-
// (undocumented)
|
|
2044
|
-
scaleDirection: PBVector3 | undefined;
|
|
2045
|
-
// (undocumented)
|
|
2046
|
-
speed: number;
|
|
2047
|
-
}
|
|
2048
|
-
|
|
2049
|
-
// @public (undocumented)
|
|
2050
|
-
export namespace MoveRotateScaleContinuous {
|
|
2051
|
-
// (undocumented)
|
|
2052
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScaleContinuous;
|
|
2053
|
-
// (undocumented)
|
|
2054
|
-
export function encode(message: MoveRotateScaleContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
// @public
|
|
2058
|
-
export interface MoveRotateScaleContinuousModeParams {
|
|
2059
|
-
position?: {
|
|
2060
|
-
direction: PBVector3;
|
|
2061
|
-
};
|
|
2062
|
-
rotation?: {
|
|
2063
|
-
direction: PBQuaternion;
|
|
2064
|
-
};
|
|
2065
|
-
scale?: {
|
|
2066
|
-
direction: PBVector3;
|
|
2067
|
-
};
|
|
2068
|
-
speed: number;
|
|
2069
|
-
}
|
|
2070
|
-
|
|
2117
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2118
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2119
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2120
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2121
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2122
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2123
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2124
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2125
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2126
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2127
|
+
//
|
|
2071
2128
|
// @public
|
|
2072
|
-
export
|
|
2073
|
-
position?: {
|
|
2074
|
-
start: PBVector3;
|
|
2075
|
-
end: PBVector3;
|
|
2076
|
-
};
|
|
2077
|
-
rotation?: {
|
|
2078
|
-
start: PBQuaternion;
|
|
2079
|
-
end: PBQuaternion;
|
|
2080
|
-
};
|
|
2081
|
-
scale?: {
|
|
2082
|
-
start: PBVector3;
|
|
2083
|
-
end: PBVector3;
|
|
2084
|
-
};
|
|
2085
|
-
}
|
|
2129
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
2086
2130
|
|
|
2087
2131
|
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2088
2132
|
//
|
|
@@ -2290,6 +2334,19 @@ export const onVideoEvent: Observable<{
|
|
|
2290
2334
|
totalVideoLength: number;
|
|
2291
2335
|
}>;
|
|
2292
2336
|
|
|
2337
|
+
// @public (undocumented)
|
|
2338
|
+
export interface Orthographic {
|
|
2339
|
+
verticalRange?: number | undefined;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
// @public (undocumented)
|
|
2343
|
+
export namespace Orthographic {
|
|
2344
|
+
// (undocumented)
|
|
2345
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2346
|
+
// (undocumented)
|
|
2347
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2293
2350
|
// @public
|
|
2294
2351
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2295
2352
|
|
|
@@ -2353,46 +2410,6 @@ export namespace PBAssetLoadLoadingState {
|
|
|
2353
2410
|
export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2354
2411
|
}
|
|
2355
2412
|
|
|
2356
|
-
// @public (undocumented)
|
|
2357
|
-
export interface PBAudioAnalysis {
|
|
2358
|
-
amplitude: number;
|
|
2359
|
-
amplitudeGain?: number | undefined;
|
|
2360
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2361
|
-
band0: number;
|
|
2362
|
-
// (undocumented)
|
|
2363
|
-
band1: number;
|
|
2364
|
-
// (undocumented)
|
|
2365
|
-
band2: number;
|
|
2366
|
-
// (undocumented)
|
|
2367
|
-
band3: number;
|
|
2368
|
-
// (undocumented)
|
|
2369
|
-
band4: number;
|
|
2370
|
-
// (undocumented)
|
|
2371
|
-
band5: number;
|
|
2372
|
-
// (undocumented)
|
|
2373
|
-
band6: number;
|
|
2374
|
-
// (undocumented)
|
|
2375
|
-
band7: number;
|
|
2376
|
-
bandsGain?: number | undefined;
|
|
2377
|
-
mode: PBAudioAnalysisMode;
|
|
2378
|
-
}
|
|
2379
|
-
|
|
2380
|
-
// @public (undocumented)
|
|
2381
|
-
export namespace PBAudioAnalysis {
|
|
2382
|
-
// (undocumented)
|
|
2383
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
2384
|
-
// (undocumented)
|
|
2385
|
-
export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
2386
|
-
}
|
|
2387
|
-
|
|
2388
|
-
// @public (undocumented)
|
|
2389
|
-
export const enum PBAudioAnalysisMode {
|
|
2390
|
-
// (undocumented)
|
|
2391
|
-
MODE_LOGARITHMIC = 1,
|
|
2392
|
-
// (undocumented)
|
|
2393
|
-
MODE_RAW = 0
|
|
2394
|
-
}
|
|
2395
|
-
|
|
2396
2413
|
// @public (undocumented)
|
|
2397
2414
|
export interface PBAudioEvent {
|
|
2398
2415
|
// (undocumented)
|
|
@@ -2502,6 +2519,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2502
2519
|
export interface PBAvatarEquippedData {
|
|
2503
2520
|
// (undocumented)
|
|
2504
2521
|
emoteUrns: string[];
|
|
2522
|
+
forceRender: string[];
|
|
2505
2523
|
// (undocumented)
|
|
2506
2524
|
wearableUrns: string[];
|
|
2507
2525
|
}
|
|
@@ -2537,6 +2555,9 @@ export interface PBAvatarModifierArea {
|
|
|
2537
2555
|
area: PBVector3 | undefined;
|
|
2538
2556
|
excludeIds: string[];
|
|
2539
2557
|
modifiers: AvatarModifierType[];
|
|
2558
|
+
// (undocumented)
|
|
2559
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2560
|
+
useColliderRange?: boolean | undefined;
|
|
2540
2561
|
}
|
|
2541
2562
|
|
|
2542
2563
|
// @public (undocumented)
|
|
@@ -2547,6 +2568,40 @@ export namespace PBAvatarModifierArea {
|
|
|
2547
2568
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2548
2569
|
}
|
|
2549
2570
|
|
|
2571
|
+
// @public (undocumented)
|
|
2572
|
+
export interface PBAvatarMovement {
|
|
2573
|
+
// (undocumented)
|
|
2574
|
+
groundDirection?: PBVector3 | undefined;
|
|
2575
|
+
orientation: number;
|
|
2576
|
+
// (undocumented)
|
|
2577
|
+
velocity: PBVector3 | undefined;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
// @public (undocumented)
|
|
2581
|
+
export namespace PBAvatarMovement {
|
|
2582
|
+
// (undocumented)
|
|
2583
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
2584
|
+
// (undocumented)
|
|
2585
|
+
export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
// @public (undocumented)
|
|
2589
|
+
export interface PBAvatarMovementInfo {
|
|
2590
|
+
actualVelocity: PBVector3 | undefined;
|
|
2591
|
+
externalVelocity: PBVector3 | undefined;
|
|
2592
|
+
previousStepTime: number;
|
|
2593
|
+
requestedVelocity: PBVector3 | undefined;
|
|
2594
|
+
stepTime: number;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
// @public (undocumented)
|
|
2598
|
+
export namespace PBAvatarMovementInfo {
|
|
2599
|
+
// (undocumented)
|
|
2600
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
2601
|
+
// (undocumented)
|
|
2602
|
+
export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2550
2605
|
// @public (undocumented)
|
|
2551
2606
|
export interface PBAvatarShape {
|
|
2552
2607
|
bodyShape?: string | undefined;
|
|
@@ -2554,6 +2609,7 @@ export interface PBAvatarShape {
|
|
|
2554
2609
|
expressionTriggerId?: string | undefined;
|
|
2555
2610
|
expressionTriggerTimestamp?: number | undefined;
|
|
2556
2611
|
eyeColor?: PBColor3 | undefined;
|
|
2612
|
+
forceRender: string[];
|
|
2557
2613
|
hairColor?: PBColor3 | undefined;
|
|
2558
2614
|
id: string;
|
|
2559
2615
|
name?: string | undefined;
|
|
@@ -2584,6 +2640,42 @@ export namespace PBBillboard {
|
|
|
2584
2640
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2585
2641
|
}
|
|
2586
2642
|
|
|
2643
|
+
// @public (undocumented)
|
|
2644
|
+
export interface PBCameraLayer {
|
|
2645
|
+
// (undocumented)
|
|
2646
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2647
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2648
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2649
|
+
directionalLight?: boolean | undefined;
|
|
2650
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2651
|
+
layer: number;
|
|
2652
|
+
showAvatars?: boolean | undefined;
|
|
2653
|
+
showFog?: boolean | undefined;
|
|
2654
|
+
showSkybox?: boolean | undefined;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
// @public (undocumented)
|
|
2658
|
+
export namespace PBCameraLayer {
|
|
2659
|
+
// (undocumented)
|
|
2660
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2661
|
+
// (undocumented)
|
|
2662
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
// @public (undocumented)
|
|
2666
|
+
export interface PBCameraLayers {
|
|
2667
|
+
// (undocumented)
|
|
2668
|
+
layers: number[];
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
// @public (undocumented)
|
|
2672
|
+
export namespace PBCameraLayers {
|
|
2673
|
+
// (undocumented)
|
|
2674
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2675
|
+
// (undocumented)
|
|
2676
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2587
2679
|
// @public (undocumented)
|
|
2588
2680
|
export interface PBCameraMode {
|
|
2589
2681
|
mode: CameraType;
|
|
@@ -2600,7 +2692,10 @@ export namespace PBCameraMode {
|
|
|
2600
2692
|
// @public (undocumented)
|
|
2601
2693
|
export interface PBCameraModeArea {
|
|
2602
2694
|
area: PBVector3 | undefined;
|
|
2695
|
+
// (undocumented)
|
|
2696
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2603
2697
|
mode: CameraType;
|
|
2698
|
+
useColliderRange?: boolean | undefined;
|
|
2604
2699
|
}
|
|
2605
2700
|
|
|
2606
2701
|
// @public (undocumented)
|
|
@@ -2664,6 +2759,21 @@ export namespace PBEngineInfo {
|
|
|
2664
2759
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2665
2760
|
}
|
|
2666
2761
|
|
|
2762
|
+
// @public (undocumented)
|
|
2763
|
+
export interface PBGlobalLight {
|
|
2764
|
+
ambientBrightness?: number | undefined;
|
|
2765
|
+
ambientColor?: PBColor3 | undefined;
|
|
2766
|
+
direction?: PBVector3 | undefined;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
// @public (undocumented)
|
|
2770
|
+
export namespace PBGlobalLight {
|
|
2771
|
+
// (undocumented)
|
|
2772
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
2773
|
+
// (undocumented)
|
|
2774
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2667
2777
|
// @public (undocumented)
|
|
2668
2778
|
export interface PBGltfContainer {
|
|
2669
2779
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2681,8 +2791,13 @@ export namespace PBGltfContainer {
|
|
|
2681
2791
|
|
|
2682
2792
|
// @public (undocumented)
|
|
2683
2793
|
export interface PBGltfContainerLoadingState {
|
|
2794
|
+
animationNames: string[];
|
|
2684
2795
|
// (undocumented)
|
|
2685
2796
|
currentState: LoadingState;
|
|
2797
|
+
materialNames: string[];
|
|
2798
|
+
meshNames: string[];
|
|
2799
|
+
nodePaths: string[];
|
|
2800
|
+
skinNames: string[];
|
|
2686
2801
|
}
|
|
2687
2802
|
|
|
2688
2803
|
// @public (undocumented)
|
|
@@ -2693,6 +2808,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2693
2808
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2694
2809
|
}
|
|
2695
2810
|
|
|
2811
|
+
// @public (undocumented)
|
|
2812
|
+
export interface PBGltfNode {
|
|
2813
|
+
path: string;
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
// @public (undocumented)
|
|
2817
|
+
export namespace PBGltfNode {
|
|
2818
|
+
// (undocumented)
|
|
2819
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
2820
|
+
// (undocumented)
|
|
2821
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2696
2824
|
// @public (undocumented)
|
|
2697
2825
|
export interface PBGltfNodeModifiers {
|
|
2698
2826
|
// (undocumented)
|
|
@@ -2722,6 +2850,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2722
2850
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2723
2851
|
}
|
|
2724
2852
|
|
|
2853
|
+
// @public (undocumented)
|
|
2854
|
+
export interface PBGltfNodeState {
|
|
2855
|
+
// (undocumented)
|
|
2856
|
+
error?: string | undefined;
|
|
2857
|
+
// (undocumented)
|
|
2858
|
+
state: GltfNodeStateValue;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
// @public (undocumented)
|
|
2862
|
+
export namespace PBGltfNodeState {
|
|
2863
|
+
// (undocumented)
|
|
2864
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
2865
|
+
// (undocumented)
|
|
2866
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2725
2869
|
// @public (undocumented)
|
|
2726
2870
|
export interface PBInputModifier {
|
|
2727
2871
|
// (undocumented)
|
|
@@ -2830,6 +2974,7 @@ export namespace PBMainCamera {
|
|
|
2830
2974
|
|
|
2831
2975
|
// @public (undocumented)
|
|
2832
2976
|
export interface PBMaterial {
|
|
2977
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2833
2978
|
// (undocumented)
|
|
2834
2979
|
material?: {
|
|
2835
2980
|
$case: "unlit";
|
|
@@ -2848,6 +2993,22 @@ export namespace PBMaterial {
|
|
|
2848
2993
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2849
2994
|
}
|
|
2850
2995
|
|
|
2996
|
+
// @public (undocumented)
|
|
2997
|
+
export interface PBMaterial_GltfMaterial {
|
|
2998
|
+
// (undocumented)
|
|
2999
|
+
gltfSrc: string;
|
|
3000
|
+
// (undocumented)
|
|
3001
|
+
name: string;
|
|
3002
|
+
}
|
|
3003
|
+
|
|
3004
|
+
// @public (undocumented)
|
|
3005
|
+
export namespace PBMaterial_GltfMaterial {
|
|
3006
|
+
// (undocumented)
|
|
3007
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
3008
|
+
// (undocumented)
|
|
3009
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
2851
3012
|
// @public (undocumented)
|
|
2852
3013
|
export interface PBMaterial_PbrMaterial {
|
|
2853
3014
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2909,6 +3070,9 @@ export interface PBMeshCollider {
|
|
|
2909
3070
|
} | {
|
|
2910
3071
|
$case: "plane";
|
|
2911
3072
|
plane: PBMeshCollider_PlaneMesh;
|
|
3073
|
+
} | {
|
|
3074
|
+
$case: "gltf";
|
|
3075
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2912
3076
|
} | undefined;
|
|
2913
3077
|
}
|
|
2914
3078
|
|
|
@@ -2946,6 +3110,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
2946
3110
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2947
3111
|
}
|
|
2948
3112
|
|
|
3113
|
+
// @public (undocumented)
|
|
3114
|
+
export interface PBMeshCollider_GltfMesh {
|
|
3115
|
+
gltfSrc: string;
|
|
3116
|
+
name: string;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
// @public (undocumented)
|
|
3120
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
3121
|
+
// (undocumented)
|
|
3122
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
3123
|
+
// (undocumented)
|
|
3124
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3125
|
+
}
|
|
3126
|
+
|
|
2949
3127
|
// @public (undocumented)
|
|
2950
3128
|
export interface PBMeshCollider_PlaneMesh {
|
|
2951
3129
|
}
|
|
@@ -2985,6 +3163,9 @@ export interface PBMeshRenderer {
|
|
|
2985
3163
|
} | {
|
|
2986
3164
|
$case: "plane";
|
|
2987
3165
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3166
|
+
} | {
|
|
3167
|
+
$case: "gltf";
|
|
3168
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
2988
3169
|
} | undefined;
|
|
2989
3170
|
}
|
|
2990
3171
|
|
|
@@ -3023,6 +3204,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3023
3204
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3024
3205
|
}
|
|
3025
3206
|
|
|
3207
|
+
// @public (undocumented)
|
|
3208
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
3209
|
+
gltfSrc: string;
|
|
3210
|
+
name: string;
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
// @public (undocumented)
|
|
3214
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
3215
|
+
// (undocumented)
|
|
3216
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3217
|
+
// (undocumented)
|
|
3218
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3026
3221
|
// @public (undocumented)
|
|
3027
3222
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3028
3223
|
uvs: number[];
|
|
@@ -3095,7 +3290,6 @@ export namespace PBPointerEvents {
|
|
|
3095
3290
|
export interface PBPointerEvents_Entry {
|
|
3096
3291
|
eventInfo: PBPointerEvents_Info | undefined;
|
|
3097
3292
|
eventType: PointerEventType;
|
|
3098
|
-
interactionType?: InteractionType | undefined;
|
|
3099
3293
|
}
|
|
3100
3294
|
|
|
3101
3295
|
// @public (undocumented)
|
|
@@ -3112,7 +3306,6 @@ export interface PBPointerEvents_Info {
|
|
|
3112
3306
|
hoverText?: string | undefined;
|
|
3113
3307
|
maxDistance?: number | undefined;
|
|
3114
3308
|
maxPlayerDistance?: number | undefined;
|
|
3115
|
-
priority?: number | undefined;
|
|
3116
3309
|
showFeedback?: boolean | undefined;
|
|
3117
3310
|
showHighlight?: boolean | undefined;
|
|
3118
3311
|
}
|
|
@@ -3230,9 +3423,11 @@ export interface PBRaycast {
|
|
|
3230
3423
|
$case: "targetEntity";
|
|
3231
3424
|
targetEntity: number;
|
|
3232
3425
|
} | undefined;
|
|
3426
|
+
includeWorld?: boolean | undefined;
|
|
3233
3427
|
maxDistance: number;
|
|
3234
3428
|
originOffset?: PBVector3 | undefined;
|
|
3235
3429
|
queryType: RaycastQueryType;
|
|
3430
|
+
shape?: RaycastShape | undefined;
|
|
3236
3431
|
timestamp?: number | undefined;
|
|
3237
3432
|
}
|
|
3238
3433
|
|
|
@@ -3327,6 +3522,32 @@ export namespace PBTextShape {
|
|
|
3327
3522
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3328
3523
|
}
|
|
3329
3524
|
|
|
3525
|
+
// @public (undocumented)
|
|
3526
|
+
export interface PBTextureCamera {
|
|
3527
|
+
clearColor?: PBColor4 | undefined;
|
|
3528
|
+
farPlane?: number | undefined;
|
|
3529
|
+
height?: number | undefined;
|
|
3530
|
+
layer?: number | undefined;
|
|
3531
|
+
// (undocumented)
|
|
3532
|
+
mode?: {
|
|
3533
|
+
$case: "perspective";
|
|
3534
|
+
perspective: Perspective;
|
|
3535
|
+
} | {
|
|
3536
|
+
$case: "orthographic";
|
|
3537
|
+
orthographic: Orthographic;
|
|
3538
|
+
} | undefined;
|
|
3539
|
+
volume?: number | undefined;
|
|
3540
|
+
width?: number | undefined;
|
|
3541
|
+
}
|
|
3542
|
+
|
|
3543
|
+
// @public (undocumented)
|
|
3544
|
+
export namespace PBTextureCamera {
|
|
3545
|
+
// (undocumented)
|
|
3546
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
3547
|
+
// (undocumented)
|
|
3548
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
3549
|
+
}
|
|
3550
|
+
|
|
3330
3551
|
// @public (undocumented)
|
|
3331
3552
|
export interface PBTriggerArea {
|
|
3332
3553
|
collisionMask?: number | undefined;
|
|
@@ -3405,12 +3626,6 @@ export interface PBTween {
|
|
|
3405
3626
|
} | {
|
|
3406
3627
|
$case: "textureMoveContinuous";
|
|
3407
3628
|
textureMoveContinuous: TextureMoveContinuous;
|
|
3408
|
-
} | {
|
|
3409
|
-
$case: "moveRotateScale";
|
|
3410
|
-
moveRotateScale: MoveRotateScale;
|
|
3411
|
-
} | {
|
|
3412
|
-
$case: "moveRotateScaleContinuous";
|
|
3413
|
-
moveRotateScaleContinuous: MoveRotateScaleContinuous;
|
|
3414
3629
|
} | undefined;
|
|
3415
3630
|
playing?: boolean | undefined;
|
|
3416
3631
|
}
|
|
@@ -3473,6 +3688,23 @@ export namespace PBUiBackground {
|
|
|
3473
3688
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3474
3689
|
}
|
|
3475
3690
|
|
|
3691
|
+
// @public (undocumented)
|
|
3692
|
+
export interface PBUiCanvas {
|
|
3693
|
+
color?: PBColor4 | undefined;
|
|
3694
|
+
// (undocumented)
|
|
3695
|
+
height: number;
|
|
3696
|
+
// (undocumented)
|
|
3697
|
+
width: number;
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
// @public (undocumented)
|
|
3701
|
+
export namespace PBUiCanvas {
|
|
3702
|
+
// (undocumented)
|
|
3703
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
3704
|
+
// (undocumented)
|
|
3705
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3476
3708
|
// @public (undocumented)
|
|
3477
3709
|
export interface PBUiCanvasInformation {
|
|
3478
3710
|
devicePixelRatio: number;
|
|
@@ -3566,11 +3798,27 @@ export namespace PBUiInputResult {
|
|
|
3566
3798
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3567
3799
|
}
|
|
3568
3800
|
|
|
3801
|
+
// @public (undocumented)
|
|
3802
|
+
export interface PBUiScrollResult {
|
|
3803
|
+
// (undocumented)
|
|
3804
|
+
value: PBVector2 | undefined;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
// @public (undocumented)
|
|
3808
|
+
export namespace PBUiScrollResult {
|
|
3809
|
+
// (undocumented)
|
|
3810
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
3811
|
+
// (undocumented)
|
|
3812
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3569
3815
|
// @public (undocumented)
|
|
3570
3816
|
export interface PBUiText {
|
|
3571
3817
|
color?: PBColor4 | undefined;
|
|
3572
3818
|
font?: Font | undefined;
|
|
3573
3819
|
fontSize?: number | undefined;
|
|
3820
|
+
outlineColor?: PBColor4 | undefined;
|
|
3821
|
+
outlineWidth?: number | undefined;
|
|
3574
3822
|
textAlign?: TextAlignMode | undefined;
|
|
3575
3823
|
textWrap?: TextWrap | undefined;
|
|
3576
3824
|
value: string;
|
|
@@ -3621,6 +3869,7 @@ export interface PBUiTransform {
|
|
|
3621
3869
|
borderTopWidth?: number | undefined;
|
|
3622
3870
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3623
3871
|
display: YGDisplay;
|
|
3872
|
+
elementId?: string | undefined;
|
|
3624
3873
|
// (undocumented)
|
|
3625
3874
|
flexBasis: number;
|
|
3626
3875
|
flexBasisUnit: YGUnit;
|
|
@@ -3689,6 +3938,8 @@ export interface PBUiTransform {
|
|
|
3689
3938
|
positionType: YGPositionType;
|
|
3690
3939
|
// (undocumented)
|
|
3691
3940
|
rightOf: number;
|
|
3941
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3942
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3692
3943
|
// (undocumented)
|
|
3693
3944
|
width: number;
|
|
3694
3945
|
widthUnit: YGUnit;
|
|
@@ -3782,7 +4033,6 @@ export namespace PBVideoPlayer {
|
|
|
3782
4033
|
export interface PBVirtualCamera {
|
|
3783
4034
|
// (undocumented)
|
|
3784
4035
|
defaultTransition?: CameraTransition | undefined;
|
|
3785
|
-
fov?: number | undefined;
|
|
3786
4036
|
// (undocumented)
|
|
3787
4037
|
lookAtEntity?: number | undefined;
|
|
3788
4038
|
}
|
|
@@ -3809,6 +4059,19 @@ export namespace PBVisibilityComponent {
|
|
|
3809
4059
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
3810
4060
|
}
|
|
3811
4061
|
|
|
4062
|
+
// @public (undocumented)
|
|
4063
|
+
export interface Perspective {
|
|
4064
|
+
fieldOfView?: number | undefined;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
// @public (undocumented)
|
|
4068
|
+
export namespace Perspective {
|
|
4069
|
+
// (undocumented)
|
|
4070
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4071
|
+
// (undocumented)
|
|
4072
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4073
|
+
}
|
|
4074
|
+
|
|
3812
4075
|
// @public
|
|
3813
4076
|
export namespace Plane {
|
|
3814
4077
|
// (undocumented)
|
|
@@ -3854,12 +4117,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
3854
4117
|
|
|
3855
4118
|
// @public (undocumented)
|
|
3856
4119
|
export interface PointerEventsSystem {
|
|
4120
|
+
onPointerDown(pointerData: {
|
|
4121
|
+
entity: Entity;
|
|
4122
|
+
optsList: EventSystemOptionsCallback[];
|
|
4123
|
+
}): void;
|
|
3857
4124
|
onPointerDown(pointerData: {
|
|
3858
4125
|
entity: Entity;
|
|
3859
4126
|
opts?: Partial<EventSystemOptions>;
|
|
3860
4127
|
}, cb: EventSystemCallback): void;
|
|
3861
4128
|
// @deprecated (undocumented)
|
|
3862
4129
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4130
|
+
onPointerDrag(pointerData: {
|
|
4131
|
+
entity: Entity;
|
|
4132
|
+
optsList: EventSystemOptionsCallback[];
|
|
4133
|
+
}): void;
|
|
4134
|
+
onPointerDrag(pointerData: {
|
|
4135
|
+
entity: Entity;
|
|
4136
|
+
opts?: Partial<EventSystemOptions>;
|
|
4137
|
+
}, cb: EventSystemCallback): void;
|
|
4138
|
+
onPointerDragEnd(pointerData: {
|
|
4139
|
+
entity: Entity;
|
|
4140
|
+
optsList: EventSystemOptionsCallback[];
|
|
4141
|
+
}): void;
|
|
4142
|
+
onPointerDragEnd(pointerData: {
|
|
4143
|
+
entity: Entity;
|
|
4144
|
+
opts?: Partial<EventSystemOptions>;
|
|
4145
|
+
}, cb: EventSystemCallback): void;
|
|
4146
|
+
onPointerDragLocked(pointerData: {
|
|
4147
|
+
entity: Entity;
|
|
4148
|
+
optsList: EventSystemOptionsCallback[];
|
|
4149
|
+
}): void;
|
|
4150
|
+
onPointerDragLocked(pointerData: {
|
|
4151
|
+
entity: Entity;
|
|
4152
|
+
opts?: Partial<EventSystemOptions>;
|
|
4153
|
+
}, cb: EventSystemCallback): void;
|
|
3863
4154
|
onPointerHoverEnter(pointerData: {
|
|
3864
4155
|
entity: Entity;
|
|
3865
4156
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3868,6 +4159,10 @@ export interface PointerEventsSystem {
|
|
|
3868
4159
|
entity: Entity;
|
|
3869
4160
|
opts?: Partial<EventSystemOptions>;
|
|
3870
4161
|
}, cb: EventSystemCallback): void;
|
|
4162
|
+
onPointerUp(pointerData: {
|
|
4163
|
+
entity: Entity;
|
|
4164
|
+
optsList: EventSystemOptionsCallback[];
|
|
4165
|
+
}): void;
|
|
3871
4166
|
onPointerUp(pointerData: {
|
|
3872
4167
|
entity: Entity;
|
|
3873
4168
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3875,6 +4170,9 @@ export interface PointerEventsSystem {
|
|
|
3875
4170
|
// @deprecated (undocumented)
|
|
3876
4171
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3877
4172
|
removeOnPointerDown(entity: Entity): void;
|
|
4173
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4174
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4175
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
3878
4176
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3879
4177
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3880
4178
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -3888,13 +4186,15 @@ export const enum PointerEventType {
|
|
|
3888
4186
|
// (undocumented)
|
|
3889
4187
|
PET_DOWN = 1,
|
|
3890
4188
|
// (undocumented)
|
|
3891
|
-
|
|
4189
|
+
PET_DRAG = 5,
|
|
3892
4190
|
// (undocumented)
|
|
3893
|
-
|
|
4191
|
+
PET_DRAG_END = 6,
|
|
4192
|
+
// (undocumented)
|
|
4193
|
+
PET_DRAG_LOCKED = 4,
|
|
3894
4194
|
// (undocumented)
|
|
3895
|
-
|
|
4195
|
+
PET_HOVER_ENTER = 2,
|
|
3896
4196
|
// (undocumented)
|
|
3897
|
-
|
|
4197
|
+
PET_HOVER_LEAVE = 3,
|
|
3898
4198
|
// (undocumented)
|
|
3899
4199
|
PET_UP = 0
|
|
3900
4200
|
}
|
|
@@ -3916,7 +4216,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
3916
4216
|
// @public (undocumented)
|
|
3917
4217
|
export const enum PointerType {
|
|
3918
4218
|
POT_MOUSE = 1,
|
|
3919
|
-
POT_NONE = 0
|
|
4219
|
+
POT_NONE = 0,
|
|
4220
|
+
// (undocumented)
|
|
4221
|
+
POT_PAD = 2,
|
|
4222
|
+
// (undocumented)
|
|
4223
|
+
POT_TOUCH = 3,
|
|
4224
|
+
// (undocumented)
|
|
4225
|
+
POT_WAND = 4
|
|
3920
4226
|
}
|
|
3921
4227
|
|
|
3922
4228
|
// @public
|
|
@@ -4107,6 +4413,12 @@ export const enum RaycastQueryType {
|
|
|
4107
4413
|
// @public (undocumented)
|
|
4108
4414
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4109
4415
|
|
|
4416
|
+
// @public (undocumented)
|
|
4417
|
+
export const enum RaycastShape {
|
|
4418
|
+
RS_AVATAR = 1,
|
|
4419
|
+
RS_RAY = 0
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4110
4422
|
// @public (undocumented)
|
|
4111
4423
|
export interface RaycastSystem {
|
|
4112
4424
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4161,6 +4473,8 @@ export interface ReactBasedUiSystem {
|
|
|
4161
4473
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4162
4474
|
destroy(): void;
|
|
4163
4475
|
removeUiRenderer(entity: Entity): void;
|
|
4476
|
+
// @deprecated
|
|
4477
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4164
4478
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4165
4479
|
}
|
|
4166
4480
|
|
|
@@ -4196,7 +4510,7 @@ export namespace ReactEcs {
|
|
|
4196
4510
|
useEffect: EffectHook;
|
|
4197
4511
|
const // (undocumented)
|
|
4198
4512
|
useState: StateHook;
|
|
4199
|
-
|
|
4513
|
+
{};
|
|
4200
4514
|
}
|
|
4201
4515
|
|
|
4202
4516
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
|
@@ -4460,15 +4774,42 @@ export namespace Schemas {
|
|
|
4460
4774
|
}) => void;
|
|
4461
4775
|
}
|
|
4462
4776
|
|
|
4463
|
-
// @public
|
|
4464
|
-
export interface
|
|
4465
|
-
|
|
4777
|
+
// @public (undocumented)
|
|
4778
|
+
export interface ScrollPositionValue {
|
|
4779
|
+
// (undocumented)
|
|
4780
|
+
value?: {
|
|
4781
|
+
$case: "position";
|
|
4782
|
+
position: PBVector2;
|
|
4783
|
+
} | {
|
|
4784
|
+
$case: "reference";
|
|
4785
|
+
reference: string;
|
|
4786
|
+
} | undefined;
|
|
4787
|
+
}
|
|
4788
|
+
|
|
4789
|
+
// @public (undocumented)
|
|
4790
|
+
export namespace ScrollPositionValue {
|
|
4791
|
+
// (undocumented)
|
|
4792
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
4793
|
+
// (undocumented)
|
|
4794
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
4466
4795
|
}
|
|
4467
4796
|
|
|
4468
4797
|
// @public
|
|
4469
|
-
export
|
|
4470
|
-
|
|
4471
|
-
|
|
4798
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4799
|
+
|
|
4800
|
+
// @public
|
|
4801
|
+
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4802
|
+
|
|
4803
|
+
// @public (undocumented)
|
|
4804
|
+
export const enum ShowScrollBar {
|
|
4805
|
+
// (undocumented)
|
|
4806
|
+
SSB_BOTH = 0,
|
|
4807
|
+
// (undocumented)
|
|
4808
|
+
SSB_HIDDEN = 3,
|
|
4809
|
+
// (undocumented)
|
|
4810
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
4811
|
+
// (undocumented)
|
|
4812
|
+
SSB_ONLY_VERTICAL = 1
|
|
4472
4813
|
}
|
|
4473
4814
|
|
|
4474
4815
|
// @public (undocumented)
|
|
@@ -4584,6 +4925,9 @@ export namespace Texture {
|
|
|
4584
4925
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4585
4926
|
}
|
|
4586
4927
|
|
|
4928
|
+
// @public (undocumented)
|
|
4929
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4930
|
+
|
|
4587
4931
|
// @public (undocumented)
|
|
4588
4932
|
export const enum TextureFilterMode {
|
|
4589
4933
|
// (undocumented)
|
|
@@ -4663,6 +5007,9 @@ export interface TextureUnion {
|
|
|
4663
5007
|
} | {
|
|
4664
5008
|
$case: "videoTexture";
|
|
4665
5009
|
videoTexture: VideoTexture;
|
|
5010
|
+
} | {
|
|
5011
|
+
$case: "uiTexture";
|
|
5012
|
+
uiTexture: UiCanvasTexture;
|
|
4666
5013
|
} | undefined;
|
|
4667
5014
|
}
|
|
4668
5015
|
|
|
@@ -4842,8 +5189,6 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
4842
5189
|
Mode: TweenHelper;
|
|
4843
5190
|
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
4844
5191
|
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
|
4845
|
-
setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
|
|
4846
|
-
setMoveRotateScaleContinuous(entity: Entity, params: SetMoveRotateScaleContinuousParams): void;
|
|
4847
5192
|
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
4848
5193
|
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
|
4849
5194
|
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -4858,10 +5203,6 @@ export interface TweenHelper {
|
|
|
4858
5203
|
// (undocumented)
|
|
4859
5204
|
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
|
4860
5205
|
// (undocumented)
|
|
4861
|
-
MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
|
|
4862
|
-
// (undocumented)
|
|
4863
|
-
MoveRotateScaleContinuous: (params: MoveRotateScaleContinuousModeParams) => PBTween['mode'];
|
|
4864
|
-
// (undocumented)
|
|
4865
5206
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
|
4866
5207
|
// (undocumented)
|
|
4867
5208
|
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
|
@@ -4929,6 +5270,7 @@ export interface UiBackgroundProps {
|
|
|
4929
5270
|
textureMode?: TextureMode;
|
|
4930
5271
|
textureSlices?: BorderRect | undefined;
|
|
4931
5272
|
uvs?: number[];
|
|
5273
|
+
videoTexture?: UiVideoTexture;
|
|
4932
5274
|
}
|
|
4933
5275
|
|
|
4934
5276
|
// @public
|
|
@@ -4937,9 +5279,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4937
5279
|
variant?: 'primary' | 'secondary';
|
|
4938
5280
|
}
|
|
4939
5281
|
|
|
5282
|
+
// @public (undocumented)
|
|
5283
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5284
|
+
|
|
4940
5285
|
// @public (undocumented)
|
|
4941
5286
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
4942
5287
|
|
|
5288
|
+
// @public (undocumented)
|
|
5289
|
+
export interface UiCanvasTexture {
|
|
5290
|
+
filterMode?: TextureFilterMode | undefined;
|
|
5291
|
+
// (undocumented)
|
|
5292
|
+
uiCanvasEntity: number;
|
|
5293
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
5294
|
+
}
|
|
5295
|
+
|
|
5296
|
+
// @public (undocumented)
|
|
5297
|
+
export namespace UiCanvasTexture {
|
|
5298
|
+
// (undocumented)
|
|
5299
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
5300
|
+
// (undocumented)
|
|
5301
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
5302
|
+
}
|
|
5303
|
+
|
|
4943
5304
|
// @public (undocumented)
|
|
4944
5305
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
4945
5306
|
|
|
@@ -4994,6 +5355,8 @@ export interface UiLabelProps {
|
|
|
4994
5355
|
color?: PBColor4 | undefined;
|
|
4995
5356
|
font?: UiFontType | undefined;
|
|
4996
5357
|
fontSize?: ScaleUnit | undefined;
|
|
5358
|
+
outlineColor?: PBColor4 | undefined;
|
|
5359
|
+
outlineWidth?: number | undefined;
|
|
4997
5360
|
textAlign?: TextAlignType | undefined;
|
|
4998
5361
|
textWrap?: UiTextWrapType | undefined;
|
|
4999
5362
|
value: string;
|
|
@@ -5008,6 +5371,9 @@ export type UiRendererOptions = {
|
|
|
5008
5371
|
virtualHeight: number;
|
|
5009
5372
|
};
|
|
5010
5373
|
|
|
5374
|
+
// @public (undocumented)
|
|
5375
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5376
|
+
|
|
5011
5377
|
// @public (undocumented)
|
|
5012
5378
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
5013
5379
|
|
|
@@ -5036,6 +5402,7 @@ export interface UiTransformProps {
|
|
|
5036
5402
|
// (undocumented)
|
|
5037
5403
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
5038
5404
|
display?: DisplayType;
|
|
5405
|
+
elementId?: string;
|
|
5039
5406
|
flex?: number;
|
|
5040
5407
|
flexBasis?: number;
|
|
5041
5408
|
flexDirection?: FlexDirectionType;
|
|
@@ -5055,10 +5422,22 @@ export interface UiTransformProps {
|
|
|
5055
5422
|
pointerFilter?: PointerFilterType;
|
|
5056
5423
|
position?: Partial<Position> | PositionShorthand;
|
|
5057
5424
|
positionType?: PositionType;
|
|
5425
|
+
scrollPosition?: PBVector2 | string;
|
|
5426
|
+
scrollVisible?: ScrollVisibleType;
|
|
5058
5427
|
width?: PositionUnit | 'auto';
|
|
5059
5428
|
zIndex?: number;
|
|
5060
5429
|
}
|
|
5061
5430
|
|
|
5431
|
+
// @public
|
|
5432
|
+
export interface UiVideoTexture {
|
|
5433
|
+
// (undocumented)
|
|
5434
|
+
filterMode?: TextureFilterType;
|
|
5435
|
+
// (undocumented)
|
|
5436
|
+
videoPlayerEntity: Entity;
|
|
5437
|
+
// (undocumented)
|
|
5438
|
+
wrapMode?: TextureWrapType;
|
|
5439
|
+
}
|
|
5440
|
+
|
|
5062
5441
|
// @public (undocumented)
|
|
5063
5442
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5064
5443
|
|