@dcl/playground-assets 7.20.0 → 7.20.1-21915113771.commit-e132905
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/dist/alpha.d.ts +827 -18
- package/dist/beta.d.ts +827 -18
- package/dist/index.bundled.d.ts +827 -18
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +17 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +827 -18
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +13739 -5729
- package/etc/playground-assets.api.md +541 -10
- package/package.json +4 -4
|
@@ -156,12 +156,32 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
|
156
156
|
// @public (undocumented)
|
|
157
157
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
158
158
|
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
export const enum AvatarControlType {
|
|
161
|
+
CCT_NONE = 0,
|
|
162
|
+
CCT_RELATIVE = 1,
|
|
163
|
+
CCT_TANK = 2
|
|
164
|
+
}
|
|
165
|
+
|
|
159
166
|
// @public (undocumented)
|
|
160
167
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
161
168
|
|
|
162
169
|
// @public (undocumented)
|
|
163
170
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
164
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
|
+
|
|
182
|
+
// @public (undocumented)
|
|
183
|
+
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
184
|
+
|
|
165
185
|
// @public (undocumented)
|
|
166
186
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
167
187
|
|
|
@@ -171,9 +191,41 @@ export const enum AvatarModifierType {
|
|
|
171
191
|
AMT_HIDE_AVATARS = 0
|
|
172
192
|
}
|
|
173
193
|
|
|
194
|
+
// @public (undocumented)
|
|
195
|
+
export interface AvatarMovementSettings {
|
|
196
|
+
allowWeightedMovement?: boolean | undefined;
|
|
197
|
+
// (undocumented)
|
|
198
|
+
controlMode?: AvatarControlType | undefined;
|
|
199
|
+
friction?: number | undefined;
|
|
200
|
+
gravity?: number | undefined;
|
|
201
|
+
jumpHeight?: number | undefined;
|
|
202
|
+
maxFallSpeed?: number | undefined;
|
|
203
|
+
runSpeed?: number | undefined;
|
|
204
|
+
turnSpeed?: number | undefined;
|
|
205
|
+
walkSpeed?: number | undefined;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// @public (undocumented)
|
|
209
|
+
export namespace AvatarMovementSettings {
|
|
210
|
+
// (undocumented)
|
|
211
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
212
|
+
// (undocumented)
|
|
213
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
214
|
+
}
|
|
215
|
+
|
|
174
216
|
// @public (undocumented)
|
|
175
217
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
176
218
|
|
|
219
|
+
// @public (undocumented)
|
|
220
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
221
|
+
|
|
222
|
+
// 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)
|
|
223
|
+
//
|
|
224
|
+
// @public (undocumented)
|
|
225
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
226
|
+
forceRender?: string[] | undefined;
|
|
227
|
+
};
|
|
228
|
+
|
|
177
229
|
// @public (undocumented)
|
|
178
230
|
export interface AvatarTexture {
|
|
179
231
|
filterMode?: TextureFilterMode | undefined;
|
|
@@ -376,9 +428,15 @@ export interface ByteBuffer {
|
|
|
376
428
|
writeUtf8String(value: string, writeLength?: boolean): void;
|
|
377
429
|
}
|
|
378
430
|
|
|
379
|
-
// @public
|
|
431
|
+
// @public @deprecated
|
|
380
432
|
export type Callback = () => void;
|
|
381
433
|
|
|
434
|
+
// @public (undocumented)
|
|
435
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
436
|
+
|
|
437
|
+
// @public (undocumented)
|
|
438
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
439
|
+
|
|
382
440
|
// @public (undocumented)
|
|
383
441
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
384
442
|
|
|
@@ -427,6 +485,29 @@ export const enum CameraType {
|
|
|
427
485
|
// @public (undocumented)
|
|
428
486
|
export type Children = ReactEcs.JSX.ReactNode;
|
|
429
487
|
|
|
488
|
+
// @public (undocumented)
|
|
489
|
+
export interface CinematicSettings {
|
|
490
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
491
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
492
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
493
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
494
|
+
allowManualRotation?: boolean | undefined;
|
|
495
|
+
cameraEntity: number;
|
|
496
|
+
pitchRange?: number | undefined;
|
|
497
|
+
rollRange?: number | undefined;
|
|
498
|
+
yawRange?: number | undefined;
|
|
499
|
+
zoomMax?: number | undefined;
|
|
500
|
+
zoomMin?: number | undefined;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
// @public (undocumented)
|
|
504
|
+
export namespace CinematicSettings {
|
|
505
|
+
// (undocumented)
|
|
506
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
507
|
+
// (undocumented)
|
|
508
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
509
|
+
}
|
|
510
|
+
|
|
430
511
|
// @public (undocumented)
|
|
431
512
|
export const enum ColliderLayer {
|
|
432
513
|
// (undocumented)
|
|
@@ -651,15 +732,21 @@ export const componentDefinitionByName: {
|
|
|
651
732
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
652
733
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
653
734
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
735
|
+
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
654
736
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
655
737
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
656
738
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
739
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
740
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
657
741
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
658
742
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
659
743
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
744
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
660
745
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
661
746
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
747
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
662
748
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
749
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
663
750
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
664
751
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
665
752
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -677,17 +764,20 @@ export const componentDefinitionByName: {
|
|
|
677
764
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
678
765
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
679
766
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
767
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
680
768
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
681
769
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
682
770
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
683
771
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
684
772
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
685
773
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
774
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
686
775
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
687
776
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
688
777
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
689
778
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
690
779
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
780
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
691
781
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
692
782
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
693
783
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1125,10 +1215,18 @@ export type EntityComponents = {
|
|
|
1125
1215
|
uiBackground: PBUiBackground;
|
|
1126
1216
|
uiInput: PBUiInput;
|
|
1127
1217
|
uiDropdown: PBUiDropdown;
|
|
1128
|
-
onMouseDown:
|
|
1129
|
-
onMouseUp:
|
|
1130
|
-
onMouseEnter:
|
|
1131
|
-
onMouseLeave:
|
|
1218
|
+
onMouseDown: EventSystemCallback;
|
|
1219
|
+
onMouseUp: EventSystemCallback;
|
|
1220
|
+
onMouseEnter: EventSystemCallback;
|
|
1221
|
+
onMouseLeave: EventSystemCallback;
|
|
1222
|
+
onMouseDrag: EventSystemCallback;
|
|
1223
|
+
onMouseDragLocked: EventSystemCallback;
|
|
1224
|
+
onMouseDragEnd: EventSystemCallback;
|
|
1225
|
+
onInputDown: MultiCallback;
|
|
1226
|
+
onInputUp: MultiCallback;
|
|
1227
|
+
onInputDrag: MultiCallback;
|
|
1228
|
+
onInputDragLocked: MultiCallback;
|
|
1229
|
+
onInputDragEnd: MultiCallback;
|
|
1132
1230
|
};
|
|
1133
1231
|
|
|
1134
1232
|
// @public (undocumented)
|
|
@@ -1181,6 +1279,11 @@ export type EventSystemOptions = {
|
|
|
1181
1279
|
maxPlayerDistance?: number;
|
|
1182
1280
|
};
|
|
1183
1281
|
|
|
1282
|
+
// @public (undocumented)
|
|
1283
|
+
export type EventSystemOptionsCallback = EventSystemOptions & {
|
|
1284
|
+
cb: EventSystemCallback;
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1184
1287
|
// @public
|
|
1185
1288
|
export type ExcludeUndefined<T> = {
|
|
1186
1289
|
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
@@ -1251,6 +1354,9 @@ export const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystem
|
|
|
1251
1354
|
// @public
|
|
1252
1355
|
export function getEntitiesWithParent(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema'>, parent: Entity): Entity[];
|
|
1253
1356
|
|
|
1357
|
+
// @public
|
|
1358
|
+
export function getGlobal<T>(key: string): T | undefined;
|
|
1359
|
+
|
|
1254
1360
|
// @public
|
|
1255
1361
|
export function getWorldPosition(engine: WorldTransformEngine, entity: Entity): Vector3Type;
|
|
1256
1362
|
|
|
@@ -1269,6 +1375,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1269
1375
|
direction?: PBVector3;
|
|
1270
1376
|
};
|
|
1271
1377
|
|
|
1378
|
+
// @public (undocumented)
|
|
1379
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1380
|
+
|
|
1272
1381
|
// 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)
|
|
1273
1382
|
//
|
|
1274
1383
|
// @public (undocumented)
|
|
@@ -1287,9 +1396,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1287
1396
|
// @public (undocumented)
|
|
1288
1397
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1289
1398
|
|
|
1399
|
+
// @public (undocumented)
|
|
1400
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1401
|
+
|
|
1290
1402
|
// @public (undocumented)
|
|
1291
1403
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1292
1404
|
|
|
1405
|
+
// @public (undocumented)
|
|
1406
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1407
|
+
|
|
1408
|
+
// @public (undocumented)
|
|
1409
|
+
export const enum GltfNodeStateValue {
|
|
1410
|
+
// (undocumented)
|
|
1411
|
+
GNSV_FAILED = 1,
|
|
1412
|
+
// (undocumented)
|
|
1413
|
+
GNSV_PENDING = 0,
|
|
1414
|
+
// (undocumented)
|
|
1415
|
+
GNSV_READY = 2
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1293
1418
|
// @public (undocumented)
|
|
1294
1419
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1295
1420
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1414,6 +1539,7 @@ export type IInputSystem = {
|
|
|
1414
1539
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
1415
1540
|
isPressed: (inputAction: InputAction) => boolean;
|
|
1416
1541
|
getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult | null;
|
|
1542
|
+
getInputCommands: () => Generator<PBPointerEventsResult>;
|
|
1417
1543
|
};
|
|
1418
1544
|
|
|
1419
1545
|
// @public
|
|
@@ -1663,10 +1789,18 @@ export interface LightSourceHelper {
|
|
|
1663
1789
|
|
|
1664
1790
|
// @public
|
|
1665
1791
|
export type Listeners = {
|
|
1666
|
-
onMouseDown?:
|
|
1667
|
-
onMouseUp?:
|
|
1668
|
-
onMouseEnter?:
|
|
1669
|
-
onMouseLeave?:
|
|
1792
|
+
onMouseDown?: EventSystemCallback;
|
|
1793
|
+
onMouseUp?: EventSystemCallback;
|
|
1794
|
+
onMouseEnter?: EventSystemCallback;
|
|
1795
|
+
onMouseLeave?: EventSystemCallback;
|
|
1796
|
+
onMouseDrag?: EventSystemCallback;
|
|
1797
|
+
onMouseDragLocked?: EventSystemCallback;
|
|
1798
|
+
onMouseDragEnd?: EventSystemCallback;
|
|
1799
|
+
onInputDown?: MultiCallback;
|
|
1800
|
+
onInputUp?: MultiCallback;
|
|
1801
|
+
onInputDrag?: MultiCallback;
|
|
1802
|
+
onInputDragLocked?: MultiCallback;
|
|
1803
|
+
onInputDragEnd?: MultiCallback;
|
|
1670
1804
|
};
|
|
1671
1805
|
|
|
1672
1806
|
// @public (undocumented)
|
|
@@ -1910,6 +2044,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
1910
2044
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
1911
2045
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1912
2046
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2047
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1913
2048
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1914
2049
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
1915
2050
|
}
|
|
@@ -1923,6 +2058,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
1923
2058
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
1924
2059
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
1925
2060
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2061
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
1926
2062
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
1927
2063
|
setSphere(entity: Entity): void;
|
|
1928
2064
|
}
|
|
@@ -1970,6 +2106,20 @@ export namespace MoveContinuous {
|
|
|
1970
2106
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
1971
2107
|
}
|
|
1972
2108
|
|
|
2109
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2110
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2111
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2112
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2113
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2114
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2115
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2116
|
+
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
2117
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2118
|
+
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
2119
|
+
//
|
|
2120
|
+
// @public
|
|
2121
|
+
export type MultiCallback = Partial<Record<InputAction, EventSystemCallback>>;
|
|
2122
|
+
|
|
1973
2123
|
// 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)
|
|
1974
2124
|
//
|
|
1975
2125
|
// @public (undocumented)
|
|
@@ -2176,6 +2326,19 @@ export const onVideoEvent: Observable<{
|
|
|
2176
2326
|
totalVideoLength: number;
|
|
2177
2327
|
}>;
|
|
2178
2328
|
|
|
2329
|
+
// @public (undocumented)
|
|
2330
|
+
export interface Orthographic {
|
|
2331
|
+
verticalRange?: number | undefined;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
// @public (undocumented)
|
|
2335
|
+
export namespace Orthographic {
|
|
2336
|
+
// (undocumented)
|
|
2337
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2338
|
+
// (undocumented)
|
|
2339
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2179
2342
|
// @public
|
|
2180
2343
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2181
2344
|
|
|
@@ -2348,6 +2511,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2348
2511
|
export interface PBAvatarEquippedData {
|
|
2349
2512
|
// (undocumented)
|
|
2350
2513
|
emoteUrns: string[];
|
|
2514
|
+
forceRender: string[];
|
|
2351
2515
|
// (undocumented)
|
|
2352
2516
|
wearableUrns: string[];
|
|
2353
2517
|
}
|
|
@@ -2360,11 +2524,32 @@ export namespace PBAvatarEquippedData {
|
|
|
2360
2524
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2361
2525
|
}
|
|
2362
2526
|
|
|
2527
|
+
// @public (undocumented)
|
|
2528
|
+
export interface PBAvatarLocomotionSettings {
|
|
2529
|
+
hardLandingCooldown?: number | undefined;
|
|
2530
|
+
jogSpeed?: number | undefined;
|
|
2531
|
+
jumpHeight?: number | undefined;
|
|
2532
|
+
runJumpHeight?: number | undefined;
|
|
2533
|
+
runSpeed?: number | undefined;
|
|
2534
|
+
walkSpeed?: number | undefined;
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
// @public (undocumented)
|
|
2538
|
+
export namespace PBAvatarLocomotionSettings {
|
|
2539
|
+
// (undocumented)
|
|
2540
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2541
|
+
// (undocumented)
|
|
2542
|
+
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2363
2545
|
// @public (undocumented)
|
|
2364
2546
|
export interface PBAvatarModifierArea {
|
|
2365
2547
|
area: PBVector3 | undefined;
|
|
2366
2548
|
excludeIds: string[];
|
|
2367
2549
|
modifiers: AvatarModifierType[];
|
|
2550
|
+
// (undocumented)
|
|
2551
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
2552
|
+
useColliderRange?: boolean | undefined;
|
|
2368
2553
|
}
|
|
2369
2554
|
|
|
2370
2555
|
// @public (undocumented)
|
|
@@ -2382,6 +2567,7 @@ export interface PBAvatarShape {
|
|
|
2382
2567
|
expressionTriggerId?: string | undefined;
|
|
2383
2568
|
expressionTriggerTimestamp?: number | undefined;
|
|
2384
2569
|
eyeColor?: PBColor3 | undefined;
|
|
2570
|
+
forceRender: string[];
|
|
2385
2571
|
hairColor?: PBColor3 | undefined;
|
|
2386
2572
|
id: string;
|
|
2387
2573
|
name?: string | undefined;
|
|
@@ -2412,6 +2598,42 @@ export namespace PBBillboard {
|
|
|
2412
2598
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2413
2599
|
}
|
|
2414
2600
|
|
|
2601
|
+
// @public (undocumented)
|
|
2602
|
+
export interface PBCameraLayer {
|
|
2603
|
+
// (undocumented)
|
|
2604
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2605
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2606
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2607
|
+
directionalLight?: boolean | undefined;
|
|
2608
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2609
|
+
layer: number;
|
|
2610
|
+
showAvatars?: boolean | undefined;
|
|
2611
|
+
showFog?: boolean | undefined;
|
|
2612
|
+
showSkybox?: boolean | undefined;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
// @public (undocumented)
|
|
2616
|
+
export namespace PBCameraLayer {
|
|
2617
|
+
// (undocumented)
|
|
2618
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2619
|
+
// (undocumented)
|
|
2620
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
// @public (undocumented)
|
|
2624
|
+
export interface PBCameraLayers {
|
|
2625
|
+
// (undocumented)
|
|
2626
|
+
layers: number[];
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
// @public (undocumented)
|
|
2630
|
+
export namespace PBCameraLayers {
|
|
2631
|
+
// (undocumented)
|
|
2632
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2633
|
+
// (undocumented)
|
|
2634
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2415
2637
|
// @public (undocumented)
|
|
2416
2638
|
export interface PBCameraMode {
|
|
2417
2639
|
mode: CameraType;
|
|
@@ -2428,7 +2650,10 @@ export namespace PBCameraMode {
|
|
|
2428
2650
|
// @public (undocumented)
|
|
2429
2651
|
export interface PBCameraModeArea {
|
|
2430
2652
|
area: PBVector3 | undefined;
|
|
2653
|
+
// (undocumented)
|
|
2654
|
+
cinematicSettings?: CinematicSettings | undefined;
|
|
2431
2655
|
mode: CameraType;
|
|
2656
|
+
useColliderRange?: boolean | undefined;
|
|
2432
2657
|
}
|
|
2433
2658
|
|
|
2434
2659
|
// @public (undocumented)
|
|
@@ -2492,6 +2717,21 @@ export namespace PBEngineInfo {
|
|
|
2492
2717
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2493
2718
|
}
|
|
2494
2719
|
|
|
2720
|
+
// @public (undocumented)
|
|
2721
|
+
export interface PBGlobalLight {
|
|
2722
|
+
ambientBrightness?: number | undefined;
|
|
2723
|
+
ambientColor?: PBColor3 | undefined;
|
|
2724
|
+
direction?: PBVector3 | undefined;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
// @public (undocumented)
|
|
2728
|
+
export namespace PBGlobalLight {
|
|
2729
|
+
// (undocumented)
|
|
2730
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
2731
|
+
// (undocumented)
|
|
2732
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2495
2735
|
// @public (undocumented)
|
|
2496
2736
|
export interface PBGltfContainer {
|
|
2497
2737
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2509,8 +2749,13 @@ export namespace PBGltfContainer {
|
|
|
2509
2749
|
|
|
2510
2750
|
// @public (undocumented)
|
|
2511
2751
|
export interface PBGltfContainerLoadingState {
|
|
2752
|
+
animationNames: string[];
|
|
2512
2753
|
// (undocumented)
|
|
2513
2754
|
currentState: LoadingState;
|
|
2755
|
+
materialNames: string[];
|
|
2756
|
+
meshNames: string[];
|
|
2757
|
+
nodePaths: string[];
|
|
2758
|
+
skinNames: string[];
|
|
2514
2759
|
}
|
|
2515
2760
|
|
|
2516
2761
|
// @public (undocumented)
|
|
@@ -2521,6 +2766,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2521
2766
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2522
2767
|
}
|
|
2523
2768
|
|
|
2769
|
+
// @public (undocumented)
|
|
2770
|
+
export interface PBGltfNode {
|
|
2771
|
+
path: string;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
// @public (undocumented)
|
|
2775
|
+
export namespace PBGltfNode {
|
|
2776
|
+
// (undocumented)
|
|
2777
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
2778
|
+
// (undocumented)
|
|
2779
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2524
2782
|
// @public (undocumented)
|
|
2525
2783
|
export interface PBGltfNodeModifiers {
|
|
2526
2784
|
// (undocumented)
|
|
@@ -2550,6 +2808,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2550
2808
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2551
2809
|
}
|
|
2552
2810
|
|
|
2811
|
+
// @public (undocumented)
|
|
2812
|
+
export interface PBGltfNodeState {
|
|
2813
|
+
// (undocumented)
|
|
2814
|
+
error?: string | undefined;
|
|
2815
|
+
// (undocumented)
|
|
2816
|
+
state: GltfNodeStateValue;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
// @public (undocumented)
|
|
2820
|
+
export namespace PBGltfNodeState {
|
|
2821
|
+
// (undocumented)
|
|
2822
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
2823
|
+
// (undocumented)
|
|
2824
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2553
2827
|
// @public (undocumented)
|
|
2554
2828
|
export interface PBInputModifier {
|
|
2555
2829
|
// (undocumented)
|
|
@@ -2658,6 +2932,7 @@ export namespace PBMainCamera {
|
|
|
2658
2932
|
|
|
2659
2933
|
// @public (undocumented)
|
|
2660
2934
|
export interface PBMaterial {
|
|
2935
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
2661
2936
|
// (undocumented)
|
|
2662
2937
|
material?: {
|
|
2663
2938
|
$case: "unlit";
|
|
@@ -2676,6 +2951,22 @@ export namespace PBMaterial {
|
|
|
2676
2951
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2677
2952
|
}
|
|
2678
2953
|
|
|
2954
|
+
// @public (undocumented)
|
|
2955
|
+
export interface PBMaterial_GltfMaterial {
|
|
2956
|
+
// (undocumented)
|
|
2957
|
+
gltfSrc: string;
|
|
2958
|
+
// (undocumented)
|
|
2959
|
+
name: string;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
// @public (undocumented)
|
|
2963
|
+
export namespace PBMaterial_GltfMaterial {
|
|
2964
|
+
// (undocumented)
|
|
2965
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
2966
|
+
// (undocumented)
|
|
2967
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2679
2970
|
// @public (undocumented)
|
|
2680
2971
|
export interface PBMaterial_PbrMaterial {
|
|
2681
2972
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -2737,6 +3028,9 @@ export interface PBMeshCollider {
|
|
|
2737
3028
|
} | {
|
|
2738
3029
|
$case: "plane";
|
|
2739
3030
|
plane: PBMeshCollider_PlaneMesh;
|
|
3031
|
+
} | {
|
|
3032
|
+
$case: "gltf";
|
|
3033
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
2740
3034
|
} | undefined;
|
|
2741
3035
|
}
|
|
2742
3036
|
|
|
@@ -2774,6 +3068,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
2774
3068
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2775
3069
|
}
|
|
2776
3070
|
|
|
3071
|
+
// @public (undocumented)
|
|
3072
|
+
export interface PBMeshCollider_GltfMesh {
|
|
3073
|
+
gltfSrc: string;
|
|
3074
|
+
name: string;
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
// @public (undocumented)
|
|
3078
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
3079
|
+
// (undocumented)
|
|
3080
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
3081
|
+
// (undocumented)
|
|
3082
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3083
|
+
}
|
|
3084
|
+
|
|
2777
3085
|
// @public (undocumented)
|
|
2778
3086
|
export interface PBMeshCollider_PlaneMesh {
|
|
2779
3087
|
}
|
|
@@ -2813,6 +3121,9 @@ export interface PBMeshRenderer {
|
|
|
2813
3121
|
} | {
|
|
2814
3122
|
$case: "plane";
|
|
2815
3123
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3124
|
+
} | {
|
|
3125
|
+
$case: "gltf";
|
|
3126
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
2816
3127
|
} | undefined;
|
|
2817
3128
|
}
|
|
2818
3129
|
|
|
@@ -2851,6 +3162,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
2851
3162
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
2852
3163
|
}
|
|
2853
3164
|
|
|
3165
|
+
// @public (undocumented)
|
|
3166
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
3167
|
+
gltfSrc: string;
|
|
3168
|
+
name: string;
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
// @public (undocumented)
|
|
3172
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
3173
|
+
// (undocumented)
|
|
3174
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3175
|
+
// (undocumented)
|
|
3176
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3177
|
+
}
|
|
3178
|
+
|
|
2854
3179
|
// @public (undocumented)
|
|
2855
3180
|
export interface PBMeshRenderer_PlaneMesh {
|
|
2856
3181
|
uvs: number[];
|
|
@@ -3153,6 +3478,32 @@ export namespace PBTextShape {
|
|
|
3153
3478
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3154
3479
|
}
|
|
3155
3480
|
|
|
3481
|
+
// @public (undocumented)
|
|
3482
|
+
export interface PBTextureCamera {
|
|
3483
|
+
clearColor?: PBColor4 | undefined;
|
|
3484
|
+
farPlane?: number | undefined;
|
|
3485
|
+
height?: number | undefined;
|
|
3486
|
+
layer?: number | undefined;
|
|
3487
|
+
// (undocumented)
|
|
3488
|
+
mode?: {
|
|
3489
|
+
$case: "perspective";
|
|
3490
|
+
perspective: Perspective;
|
|
3491
|
+
} | {
|
|
3492
|
+
$case: "orthographic";
|
|
3493
|
+
orthographic: Orthographic;
|
|
3494
|
+
} | undefined;
|
|
3495
|
+
volume?: number | undefined;
|
|
3496
|
+
width?: number | undefined;
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
// @public (undocumented)
|
|
3500
|
+
export namespace PBTextureCamera {
|
|
3501
|
+
// (undocumented)
|
|
3502
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
3503
|
+
// (undocumented)
|
|
3504
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
3505
|
+
}
|
|
3506
|
+
|
|
3156
3507
|
// @public (undocumented)
|
|
3157
3508
|
export interface PBTriggerArea {
|
|
3158
3509
|
collisionMask?: number | undefined;
|
|
@@ -3293,6 +3644,23 @@ export namespace PBUiBackground {
|
|
|
3293
3644
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3294
3645
|
}
|
|
3295
3646
|
|
|
3647
|
+
// @public (undocumented)
|
|
3648
|
+
export interface PBUiCanvas {
|
|
3649
|
+
color?: PBColor4 | undefined;
|
|
3650
|
+
// (undocumented)
|
|
3651
|
+
height: number;
|
|
3652
|
+
// (undocumented)
|
|
3653
|
+
width: number;
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3656
|
+
// @public (undocumented)
|
|
3657
|
+
export namespace PBUiCanvas {
|
|
3658
|
+
// (undocumented)
|
|
3659
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
3660
|
+
// (undocumented)
|
|
3661
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3296
3664
|
// @public (undocumented)
|
|
3297
3665
|
export interface PBUiCanvasInformation {
|
|
3298
3666
|
devicePixelRatio: number;
|
|
@@ -3386,11 +3754,27 @@ export namespace PBUiInputResult {
|
|
|
3386
3754
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
3387
3755
|
}
|
|
3388
3756
|
|
|
3757
|
+
// @public (undocumented)
|
|
3758
|
+
export interface PBUiScrollResult {
|
|
3759
|
+
// (undocumented)
|
|
3760
|
+
value: PBVector2 | undefined;
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
// @public (undocumented)
|
|
3764
|
+
export namespace PBUiScrollResult {
|
|
3765
|
+
// (undocumented)
|
|
3766
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
3767
|
+
// (undocumented)
|
|
3768
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3389
3771
|
// @public (undocumented)
|
|
3390
3772
|
export interface PBUiText {
|
|
3391
3773
|
color?: PBColor4 | undefined;
|
|
3392
3774
|
font?: Font | undefined;
|
|
3393
3775
|
fontSize?: number | undefined;
|
|
3776
|
+
outlineColor?: PBColor4 | undefined;
|
|
3777
|
+
outlineWidth?: number | undefined;
|
|
3394
3778
|
textAlign?: TextAlignMode | undefined;
|
|
3395
3779
|
textWrap?: TextWrap | undefined;
|
|
3396
3780
|
value: string;
|
|
@@ -3441,6 +3825,7 @@ export interface PBUiTransform {
|
|
|
3441
3825
|
borderTopWidth?: number | undefined;
|
|
3442
3826
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
3443
3827
|
display: YGDisplay;
|
|
3828
|
+
elementId?: string | undefined;
|
|
3444
3829
|
// (undocumented)
|
|
3445
3830
|
flexBasis: number;
|
|
3446
3831
|
flexBasisUnit: YGUnit;
|
|
@@ -3509,6 +3894,8 @@ export interface PBUiTransform {
|
|
|
3509
3894
|
positionType: YGPositionType;
|
|
3510
3895
|
// (undocumented)
|
|
3511
3896
|
rightOf: number;
|
|
3897
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
3898
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
3512
3899
|
// (undocumented)
|
|
3513
3900
|
width: number;
|
|
3514
3901
|
widthUnit: YGUnit;
|
|
@@ -3628,6 +4015,19 @@ export namespace PBVisibilityComponent {
|
|
|
3628
4015
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
3629
4016
|
}
|
|
3630
4017
|
|
|
4018
|
+
// @public (undocumented)
|
|
4019
|
+
export interface Perspective {
|
|
4020
|
+
fieldOfView?: number | undefined;
|
|
4021
|
+
}
|
|
4022
|
+
|
|
4023
|
+
// @public (undocumented)
|
|
4024
|
+
export namespace Perspective {
|
|
4025
|
+
// (undocumented)
|
|
4026
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4027
|
+
// (undocumented)
|
|
4028
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4029
|
+
}
|
|
4030
|
+
|
|
3631
4031
|
// @public
|
|
3632
4032
|
export namespace Plane {
|
|
3633
4033
|
// (undocumented)
|
|
@@ -3673,12 +4073,40 @@ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerE
|
|
|
3673
4073
|
|
|
3674
4074
|
// @public (undocumented)
|
|
3675
4075
|
export interface PointerEventsSystem {
|
|
4076
|
+
onPointerDown(pointerData: {
|
|
4077
|
+
entity: Entity;
|
|
4078
|
+
optsList: EventSystemOptionsCallback[];
|
|
4079
|
+
}): void;
|
|
3676
4080
|
onPointerDown(pointerData: {
|
|
3677
4081
|
entity: Entity;
|
|
3678
4082
|
opts?: Partial<EventSystemOptions>;
|
|
3679
4083
|
}, cb: EventSystemCallback): void;
|
|
3680
4084
|
// @deprecated (undocumented)
|
|
3681
4085
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4086
|
+
onPointerDrag(pointerData: {
|
|
4087
|
+
entity: Entity;
|
|
4088
|
+
optsList: EventSystemOptionsCallback[];
|
|
4089
|
+
}): void;
|
|
4090
|
+
onPointerDrag(pointerData: {
|
|
4091
|
+
entity: Entity;
|
|
4092
|
+
opts?: Partial<EventSystemOptions>;
|
|
4093
|
+
}, cb: EventSystemCallback): void;
|
|
4094
|
+
onPointerDragEnd(pointerData: {
|
|
4095
|
+
entity: Entity;
|
|
4096
|
+
optsList: EventSystemOptionsCallback[];
|
|
4097
|
+
}): void;
|
|
4098
|
+
onPointerDragEnd(pointerData: {
|
|
4099
|
+
entity: Entity;
|
|
4100
|
+
opts?: Partial<EventSystemOptions>;
|
|
4101
|
+
}, cb: EventSystemCallback): void;
|
|
4102
|
+
onPointerDragLocked(pointerData: {
|
|
4103
|
+
entity: Entity;
|
|
4104
|
+
optsList: EventSystemOptionsCallback[];
|
|
4105
|
+
}): void;
|
|
4106
|
+
onPointerDragLocked(pointerData: {
|
|
4107
|
+
entity: Entity;
|
|
4108
|
+
opts?: Partial<EventSystemOptions>;
|
|
4109
|
+
}, cb: EventSystemCallback): void;
|
|
3682
4110
|
onPointerHoverEnter(pointerData: {
|
|
3683
4111
|
entity: Entity;
|
|
3684
4112
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3687,6 +4115,10 @@ export interface PointerEventsSystem {
|
|
|
3687
4115
|
entity: Entity;
|
|
3688
4116
|
opts?: Partial<EventSystemOptions>;
|
|
3689
4117
|
}, cb: EventSystemCallback): void;
|
|
4118
|
+
onPointerUp(pointerData: {
|
|
4119
|
+
entity: Entity;
|
|
4120
|
+
optsList: EventSystemOptionsCallback[];
|
|
4121
|
+
}): void;
|
|
3690
4122
|
onPointerUp(pointerData: {
|
|
3691
4123
|
entity: Entity;
|
|
3692
4124
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -3694,6 +4126,9 @@ export interface PointerEventsSystem {
|
|
|
3694
4126
|
// @deprecated (undocumented)
|
|
3695
4127
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3696
4128
|
removeOnPointerDown(entity: Entity): void;
|
|
4129
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4130
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4131
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
3697
4132
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3698
4133
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3699
4134
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -3707,6 +4142,12 @@ export const enum PointerEventType {
|
|
|
3707
4142
|
// (undocumented)
|
|
3708
4143
|
PET_DOWN = 1,
|
|
3709
4144
|
// (undocumented)
|
|
4145
|
+
PET_DRAG = 5,
|
|
4146
|
+
// (undocumented)
|
|
4147
|
+
PET_DRAG_END = 6,
|
|
4148
|
+
// (undocumented)
|
|
4149
|
+
PET_DRAG_LOCKED = 4,
|
|
4150
|
+
// (undocumented)
|
|
3710
4151
|
PET_HOVER_ENTER = 2,
|
|
3711
4152
|
// (undocumented)
|
|
3712
4153
|
PET_HOVER_LEAVE = 3,
|
|
@@ -3731,7 +4172,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
3731
4172
|
// @public (undocumented)
|
|
3732
4173
|
export const enum PointerType {
|
|
3733
4174
|
POT_MOUSE = 1,
|
|
3734
|
-
POT_NONE = 0
|
|
4175
|
+
POT_NONE = 0,
|
|
4176
|
+
// (undocumented)
|
|
4177
|
+
POT_PAD = 2,
|
|
4178
|
+
// (undocumented)
|
|
4179
|
+
POT_TOUCH = 3,
|
|
4180
|
+
// (undocumented)
|
|
4181
|
+
POT_WAND = 4
|
|
3735
4182
|
}
|
|
3736
4183
|
|
|
3737
4184
|
// @public
|
|
@@ -3976,6 +4423,8 @@ export interface ReactBasedUiSystem {
|
|
|
3976
4423
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
3977
4424
|
destroy(): void;
|
|
3978
4425
|
removeUiRenderer(entity: Entity): void;
|
|
4426
|
+
// @deprecated
|
|
4427
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
3979
4428
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
3980
4429
|
}
|
|
3981
4430
|
|
|
@@ -4275,6 +4724,44 @@ export namespace Schemas {
|
|
|
4275
4724
|
}) => void;
|
|
4276
4725
|
}
|
|
4277
4726
|
|
|
4727
|
+
// @public (undocumented)
|
|
4728
|
+
export interface ScrollPositionValue {
|
|
4729
|
+
// (undocumented)
|
|
4730
|
+
value?: {
|
|
4731
|
+
$case: "position";
|
|
4732
|
+
position: PBVector2;
|
|
4733
|
+
} | {
|
|
4734
|
+
$case: "reference";
|
|
4735
|
+
reference: string;
|
|
4736
|
+
} | undefined;
|
|
4737
|
+
}
|
|
4738
|
+
|
|
4739
|
+
// @public (undocumented)
|
|
4740
|
+
export namespace ScrollPositionValue {
|
|
4741
|
+
// (undocumented)
|
|
4742
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
4743
|
+
// (undocumented)
|
|
4744
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4747
|
+
// @public
|
|
4748
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4749
|
+
|
|
4750
|
+
// @public
|
|
4751
|
+
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4752
|
+
|
|
4753
|
+
// @public (undocumented)
|
|
4754
|
+
export const enum ShowScrollBar {
|
|
4755
|
+
// (undocumented)
|
|
4756
|
+
SSB_BOTH = 0,
|
|
4757
|
+
// (undocumented)
|
|
4758
|
+
SSB_HIDDEN = 3,
|
|
4759
|
+
// (undocumented)
|
|
4760
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
4761
|
+
// (undocumented)
|
|
4762
|
+
SSB_ONLY_VERTICAL = 1
|
|
4763
|
+
}
|
|
4764
|
+
|
|
4278
4765
|
// @public (undocumented)
|
|
4279
4766
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
4280
4767
|
|
|
@@ -4388,6 +4875,9 @@ export namespace Texture {
|
|
|
4388
4875
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
4389
4876
|
}
|
|
4390
4877
|
|
|
4878
|
+
// @public (undocumented)
|
|
4879
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
4880
|
+
|
|
4391
4881
|
// @public (undocumented)
|
|
4392
4882
|
export const enum TextureFilterMode {
|
|
4393
4883
|
// (undocumented)
|
|
@@ -4467,6 +4957,9 @@ export interface TextureUnion {
|
|
|
4467
4957
|
} | {
|
|
4468
4958
|
$case: "videoTexture";
|
|
4469
4959
|
videoTexture: VideoTexture;
|
|
4960
|
+
} | {
|
|
4961
|
+
$case: "uiTexture";
|
|
4962
|
+
uiTexture: UiCanvasTexture;
|
|
4470
4963
|
} | undefined;
|
|
4471
4964
|
}
|
|
4472
4965
|
|
|
@@ -4727,6 +5220,7 @@ export interface UiBackgroundProps {
|
|
|
4727
5220
|
textureMode?: TextureMode;
|
|
4728
5221
|
textureSlices?: BorderRect | undefined;
|
|
4729
5222
|
uvs?: number[];
|
|
5223
|
+
videoTexture?: UiVideoTexture;
|
|
4730
5224
|
}
|
|
4731
5225
|
|
|
4732
5226
|
// @public
|
|
@@ -4735,9 +5229,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4735
5229
|
variant?: 'primary' | 'secondary';
|
|
4736
5230
|
}
|
|
4737
5231
|
|
|
5232
|
+
// @public (undocumented)
|
|
5233
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5234
|
+
|
|
4738
5235
|
// @public (undocumented)
|
|
4739
5236
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
4740
5237
|
|
|
5238
|
+
// @public (undocumented)
|
|
5239
|
+
export interface UiCanvasTexture {
|
|
5240
|
+
filterMode?: TextureFilterMode | undefined;
|
|
5241
|
+
// (undocumented)
|
|
5242
|
+
uiCanvasEntity: number;
|
|
5243
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
// @public (undocumented)
|
|
5247
|
+
export namespace UiCanvasTexture {
|
|
5248
|
+
// (undocumented)
|
|
5249
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
5250
|
+
// (undocumented)
|
|
5251
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
5252
|
+
}
|
|
5253
|
+
|
|
4741
5254
|
// @public (undocumented)
|
|
4742
5255
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
4743
5256
|
|
|
@@ -4792,6 +5305,8 @@ export interface UiLabelProps {
|
|
|
4792
5305
|
color?: PBColor4 | undefined;
|
|
4793
5306
|
font?: UiFontType | undefined;
|
|
4794
5307
|
fontSize?: ScaleUnit | undefined;
|
|
5308
|
+
outlineColor?: PBColor4 | undefined;
|
|
5309
|
+
outlineWidth?: number | undefined;
|
|
4795
5310
|
textAlign?: TextAlignType | undefined;
|
|
4796
5311
|
textWrap?: UiTextWrapType | undefined;
|
|
4797
5312
|
value: string;
|
|
@@ -4806,6 +5321,9 @@ export type UiRendererOptions = {
|
|
|
4806
5321
|
virtualHeight: number;
|
|
4807
5322
|
};
|
|
4808
5323
|
|
|
5324
|
+
// @public (undocumented)
|
|
5325
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
5326
|
+
|
|
4809
5327
|
// @public (undocumented)
|
|
4810
5328
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
4811
5329
|
|
|
@@ -4834,6 +5352,7 @@ export interface UiTransformProps {
|
|
|
4834
5352
|
// (undocumented)
|
|
4835
5353
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
4836
5354
|
display?: DisplayType;
|
|
5355
|
+
elementId?: string;
|
|
4837
5356
|
flex?: number;
|
|
4838
5357
|
flexBasis?: number;
|
|
4839
5358
|
flexDirection?: FlexDirectionType;
|
|
@@ -4853,10 +5372,22 @@ export interface UiTransformProps {
|
|
|
4853
5372
|
pointerFilter?: PointerFilterType;
|
|
4854
5373
|
position?: Partial<Position> | PositionShorthand;
|
|
4855
5374
|
positionType?: PositionType;
|
|
5375
|
+
scrollPosition?: PBVector2 | string;
|
|
5376
|
+
scrollVisible?: ScrollVisibleType;
|
|
4856
5377
|
width?: PositionUnit | 'auto';
|
|
4857
5378
|
zIndex?: number;
|
|
4858
5379
|
}
|
|
4859
5380
|
|
|
5381
|
+
// @public
|
|
5382
|
+
export interface UiVideoTexture {
|
|
5383
|
+
// (undocumented)
|
|
5384
|
+
filterMode?: TextureFilterType;
|
|
5385
|
+
// (undocumented)
|
|
5386
|
+
videoPlayerEntity: Entity;
|
|
5387
|
+
// (undocumented)
|
|
5388
|
+
wrapMode?: TextureWrapType;
|
|
5389
|
+
}
|
|
5390
|
+
|
|
4860
5391
|
// @public (undocumented)
|
|
4861
5392
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
4862
5393
|
|