@dcl/playground-assets 7.29.1-35861881691.commit-e4e55e9 → 7.29.1-35901015152.commit-d1b7b96
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 +781 -28
- package/dist/beta.d.ts +781 -28
- package/dist/index.bundled.d.ts +781 -28
- package/dist/index.js +7 -7
- package/dist/playground/sdk/apis.d.ts +37 -2
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +781 -28
- package/etc/playground-assets.api.json +11953 -3992
- package/etc/playground-assets.api.md +507 -9
- package/package.json +4 -4
|
@@ -192,6 +192,25 @@ export const enum AvatarAnchorPointType {
|
|
|
192
192
|
AAPT_SPINE2 = 8
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
// @public (undocumented)
|
|
196
|
+
export interface AvatarAnimationState {
|
|
197
|
+
duration: number;
|
|
198
|
+
idle: boolean;
|
|
199
|
+
loop: boolean;
|
|
200
|
+
loopCount: number;
|
|
201
|
+
playbackTime: number;
|
|
202
|
+
speed: number;
|
|
203
|
+
src: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// @public (undocumented)
|
|
207
|
+
export namespace AvatarAnimationState {
|
|
208
|
+
// (undocumented)
|
|
209
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarAnimationState;
|
|
210
|
+
// (undocumented)
|
|
211
|
+
export function encode(message: AvatarAnimationState, writer?: _m0.Writer): _m0.Writer;
|
|
212
|
+
}
|
|
213
|
+
|
|
195
214
|
// @public (undocumented)
|
|
196
215
|
export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
|
197
216
|
|
|
@@ -201,8 +220,18 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
|
|
|
201
220
|
// @public (undocumented)
|
|
202
221
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
203
222
|
|
|
223
|
+
// Warning: (ae-missing-release-tag) "AvatarEquippedData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
224
|
+
//
|
|
204
225
|
// @public (undocumented)
|
|
205
|
-
export const AvatarEquippedData:
|
|
226
|
+
export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
|
|
227
|
+
|
|
228
|
+
// @public (undocumented)
|
|
229
|
+
export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
230
|
+
|
|
231
|
+
// @public
|
|
232
|
+
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
233
|
+
forceRender?: string[] | undefined;
|
|
234
|
+
};
|
|
206
235
|
|
|
207
236
|
// @public (undocumented)
|
|
208
237
|
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
@@ -223,11 +252,27 @@ export const enum AvatarModifierType {
|
|
|
223
252
|
AMT_HIDE_NAMETAGS = 2
|
|
224
253
|
}
|
|
225
254
|
|
|
255
|
+
// @public (undocumented)
|
|
256
|
+
export const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
|
|
257
|
+
|
|
258
|
+
// @public (undocumented)
|
|
259
|
+
export const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
|
|
260
|
+
|
|
226
261
|
// @public (undocumented)
|
|
227
262
|
export const AvatarNametag: LastWriteWinElementSetComponentDefinition<PBAvatarNametag>;
|
|
228
263
|
|
|
264
|
+
// Warning: (ae-missing-release-tag) "AvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
265
|
+
//
|
|
229
266
|
// @public (undocumented)
|
|
230
|
-
export const AvatarShape:
|
|
267
|
+
export const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
|
268
|
+
|
|
269
|
+
// @public (undocumented)
|
|
270
|
+
export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
271
|
+
|
|
272
|
+
// @public
|
|
273
|
+
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
274
|
+
forceRender?: string[] | undefined;
|
|
275
|
+
};
|
|
231
276
|
|
|
232
277
|
// @public (undocumented)
|
|
233
278
|
export interface AvatarTexture {
|
|
@@ -432,7 +477,13 @@ export interface ByteBuffer {
|
|
|
432
477
|
}
|
|
433
478
|
|
|
434
479
|
// @public
|
|
435
|
-
export type Callback = () => void;
|
|
480
|
+
export type Callback = (event: PBPointerEventsResult) => void;
|
|
481
|
+
|
|
482
|
+
// @public (undocumented)
|
|
483
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
484
|
+
|
|
485
|
+
// @public (undocumented)
|
|
486
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
436
487
|
|
|
437
488
|
// @public (undocumented)
|
|
438
489
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
@@ -724,16 +775,23 @@ export const componentDefinitionByName: {
|
|
|
724
775
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
725
776
|
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
726
777
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
778
|
+
"core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
|
|
779
|
+
"core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
|
|
727
780
|
"core::AvatarNametag": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarNametag>>;
|
|
728
781
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
729
782
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
783
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
784
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
730
785
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
731
786
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
732
787
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
733
788
|
"core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
|
|
789
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
734
790
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
735
791
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
792
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
736
793
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
794
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
737
795
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
738
796
|
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
739
797
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
@@ -754,6 +812,7 @@ export const componentDefinitionByName: {
|
|
|
754
812
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
755
813
|
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
|
756
814
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
815
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
757
816
|
"core::TouchScreenControls": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>>;
|
|
758
817
|
"core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
|
|
759
818
|
"core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
|
|
@@ -761,12 +820,14 @@ export const componentDefinitionByName: {
|
|
|
761
820
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
762
821
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
763
822
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
823
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
764
824
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
765
825
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
766
826
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
767
827
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
768
828
|
"core::UiInputBinding": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputBinding>>;
|
|
769
829
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
830
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
770
831
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
771
832
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
772
833
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -1221,6 +1282,9 @@ export type EntityComponents = {
|
|
|
1221
1282
|
onMouseUp: Callback;
|
|
1222
1283
|
onMouseEnter: Callback;
|
|
1223
1284
|
onMouseLeave: Callback;
|
|
1285
|
+
onMouseDrag: Callback;
|
|
1286
|
+
onMouseDragLocked: Callback;
|
|
1287
|
+
onMouseDragEnd: Callback;
|
|
1224
1288
|
};
|
|
1225
1289
|
|
|
1226
1290
|
// @public (undocumented)
|
|
@@ -1407,6 +1471,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
|
1407
1471
|
direction?: PBVector3;
|
|
1408
1472
|
};
|
|
1409
1473
|
|
|
1474
|
+
// @public (undocumented)
|
|
1475
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
1476
|
+
|
|
1410
1477
|
// 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)
|
|
1411
1478
|
//
|
|
1412
1479
|
// @public (undocumented)
|
|
@@ -1425,9 +1492,25 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
|
1425
1492
|
// @public (undocumented)
|
|
1426
1493
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
1427
1494
|
|
|
1495
|
+
// @public (undocumented)
|
|
1496
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
1497
|
+
|
|
1428
1498
|
// @public (undocumented)
|
|
1429
1499
|
export const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
1430
1500
|
|
|
1501
|
+
// @public (undocumented)
|
|
1502
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
1503
|
+
|
|
1504
|
+
// @public (undocumented)
|
|
1505
|
+
export const enum GltfNodeStateValue {
|
|
1506
|
+
// (undocumented)
|
|
1507
|
+
GNSV_FAILED = 1,
|
|
1508
|
+
// (undocumented)
|
|
1509
|
+
GNSV_PENDING = 0,
|
|
1510
|
+
// (undocumented)
|
|
1511
|
+
GNSV_READY = 2
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1431
1514
|
// @public (undocumented)
|
|
1432
1515
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
|
1433
1516
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
|
@@ -1503,9 +1586,6 @@ export interface IEvents {
|
|
|
1503
1586
|
sender: string;
|
|
1504
1587
|
message: string;
|
|
1505
1588
|
};
|
|
1506
|
-
localeChanged: {
|
|
1507
|
-
locale: string;
|
|
1508
|
-
};
|
|
1509
1589
|
onEnterScene: {
|
|
1510
1590
|
userId: string;
|
|
1511
1591
|
};
|
|
@@ -1829,6 +1909,9 @@ export type Listeners = {
|
|
|
1829
1909
|
onMouseUp?: Callback;
|
|
1830
1910
|
onMouseEnter?: Callback;
|
|
1831
1911
|
onMouseLeave?: Callback;
|
|
1912
|
+
onMouseDrag?: Callback;
|
|
1913
|
+
onMouseDragLocked?: Callback;
|
|
1914
|
+
onMouseDragEnd?: Callback;
|
|
1832
1915
|
};
|
|
1833
1916
|
|
|
1834
1917
|
// @public (undocumented)
|
|
@@ -2072,6 +2155,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
|
2072
2155
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
|
2073
2156
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2074
2157
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2158
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2075
2159
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2076
2160
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
2077
2161
|
}
|
|
@@ -2085,6 +2169,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
|
2085
2169
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
|
2086
2170
|
setBox(entity: Entity, uvs?: number[]): void;
|
|
2087
2171
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
|
2172
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
2088
2173
|
setPlane(entity: Entity, uvs?: number[]): void;
|
|
2089
2174
|
setSphere(entity: Entity): void;
|
|
2090
2175
|
}
|
|
@@ -2132,6 +2217,25 @@ export namespace MoveContinuous {
|
|
|
2132
2217
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2133
2218
|
}
|
|
2134
2219
|
|
|
2220
|
+
// @public (undocumented)
|
|
2221
|
+
export interface MovementAnimation {
|
|
2222
|
+
idle: boolean;
|
|
2223
|
+
loop: boolean;
|
|
2224
|
+
playbackTime?: number | undefined;
|
|
2225
|
+
sounds: string[];
|
|
2226
|
+
speed: number;
|
|
2227
|
+
src: string;
|
|
2228
|
+
transitionSeconds?: number | undefined;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
// @public (undocumented)
|
|
2232
|
+
export namespace MovementAnimation {
|
|
2233
|
+
// (undocumented)
|
|
2234
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MovementAnimation;
|
|
2235
|
+
// (undocumented)
|
|
2236
|
+
export function encode(message: MovementAnimation, writer?: _m0.Writer): _m0.Writer;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2135
2239
|
// @public (undocumented)
|
|
2136
2240
|
export interface MoveRotateScale {
|
|
2137
2241
|
// (undocumented)
|
|
@@ -2378,6 +2482,19 @@ export const onVideoEvent: Observable<{
|
|
|
2378
2482
|
totalVideoLength: number;
|
|
2379
2483
|
}>;
|
|
2380
2484
|
|
|
2485
|
+
// @public (undocumented)
|
|
2486
|
+
export interface Orthographic {
|
|
2487
|
+
verticalRange?: number | undefined;
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
// @public (undocumented)
|
|
2491
|
+
export namespace Orthographic {
|
|
2492
|
+
// (undocumented)
|
|
2493
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
2494
|
+
// (undocumented)
|
|
2495
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2381
2498
|
// @public
|
|
2382
2499
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
|
2383
2500
|
|
|
@@ -2577,6 +2694,7 @@ export interface PBAvatarBase {
|
|
|
2577
2694
|
name: string;
|
|
2578
2695
|
// (undocumented)
|
|
2579
2696
|
skinColor: PBColor3 | undefined;
|
|
2697
|
+
talking?: boolean | undefined;
|
|
2580
2698
|
}
|
|
2581
2699
|
|
|
2582
2700
|
// @public (undocumented)
|
|
@@ -2611,6 +2729,7 @@ export namespace PBAvatarEmoteCommand {
|
|
|
2611
2729
|
export interface PBAvatarEquippedData {
|
|
2612
2730
|
// (undocumented)
|
|
2613
2731
|
emoteUrns: string[];
|
|
2732
|
+
forceRender: string[];
|
|
2614
2733
|
// (undocumented)
|
|
2615
2734
|
wearableUrns: string[];
|
|
2616
2735
|
}
|
|
@@ -2649,6 +2768,7 @@ export interface PBAvatarModifierArea {
|
|
|
2649
2768
|
area: PBVector3 | undefined;
|
|
2650
2769
|
excludeIds: string[];
|
|
2651
2770
|
modifiers: AvatarModifierType[];
|
|
2771
|
+
useColliderRange?: boolean | undefined;
|
|
2652
2772
|
}
|
|
2653
2773
|
|
|
2654
2774
|
// @public (undocumented)
|
|
@@ -2659,6 +2779,51 @@ export namespace PBAvatarModifierArea {
|
|
|
2659
2779
|
export function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
2660
2780
|
}
|
|
2661
2781
|
|
|
2782
|
+
// @public (undocumented)
|
|
2783
|
+
export interface PBAvatarMovement {
|
|
2784
|
+
animation?: MovementAnimation | undefined;
|
|
2785
|
+
// (undocumented)
|
|
2786
|
+
groundDirection?: PBVector3 | undefined;
|
|
2787
|
+
orientation: number;
|
|
2788
|
+
tiltPitch?: number | undefined;
|
|
2789
|
+
tiltRoll?: number | undefined;
|
|
2790
|
+
// (undocumented)
|
|
2791
|
+
velocity: PBVector3 | undefined;
|
|
2792
|
+
walkSuccess?: boolean | undefined;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
// @public (undocumented)
|
|
2796
|
+
export namespace PBAvatarMovement {
|
|
2797
|
+
// (undocumented)
|
|
2798
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
|
|
2799
|
+
// (undocumented)
|
|
2800
|
+
export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
// @public (undocumented)
|
|
2804
|
+
export interface PBAvatarMovementInfo {
|
|
2805
|
+
activeAnimationState?: AvatarAnimationState | undefined;
|
|
2806
|
+
// (undocumented)
|
|
2807
|
+
activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
|
|
2808
|
+
// (undocumented)
|
|
2809
|
+
activeInputModifier: PBInputModifier | undefined;
|
|
2810
|
+
actualVelocity: PBVector3 | undefined;
|
|
2811
|
+
externalVelocity: PBVector3 | undefined;
|
|
2812
|
+
previousStepTime: number;
|
|
2813
|
+
requestedVelocity: PBVector3 | undefined;
|
|
2814
|
+
stepTime: number;
|
|
2815
|
+
walkTarget?: PBVector3 | undefined;
|
|
2816
|
+
walkThreshold?: number | undefined;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
// @public (undocumented)
|
|
2820
|
+
export namespace PBAvatarMovementInfo {
|
|
2821
|
+
// (undocumented)
|
|
2822
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
|
|
2823
|
+
// (undocumented)
|
|
2824
|
+
export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2662
2827
|
// @public (undocumented)
|
|
2663
2828
|
export interface PBAvatarNametag {
|
|
2664
2829
|
backgroundColor?: PBColor3 | undefined;
|
|
@@ -2682,6 +2847,7 @@ export interface PBAvatarShape {
|
|
|
2682
2847
|
expressionTriggerId?: string | undefined;
|
|
2683
2848
|
expressionTriggerTimestamp?: number | undefined;
|
|
2684
2849
|
eyeColor?: PBColor3 | undefined;
|
|
2850
|
+
forceRender: string[];
|
|
2685
2851
|
hairColor?: PBColor3 | undefined;
|
|
2686
2852
|
id: string;
|
|
2687
2853
|
name?: string | undefined;
|
|
@@ -2713,6 +2879,42 @@ export namespace PBBillboard {
|
|
|
2713
2879
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
|
2714
2880
|
}
|
|
2715
2881
|
|
|
2882
|
+
// @public (undocumented)
|
|
2883
|
+
export interface PBCameraLayer {
|
|
2884
|
+
// (undocumented)
|
|
2885
|
+
ambientBrightnessOverride?: number | undefined;
|
|
2886
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2887
|
+
ambientColorOverride?: PBColor3 | undefined;
|
|
2888
|
+
directionalLight?: boolean | undefined;
|
|
2889
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2890
|
+
layer: number;
|
|
2891
|
+
showAvatars?: boolean | undefined;
|
|
2892
|
+
showFog?: boolean | undefined;
|
|
2893
|
+
showSkybox?: boolean | undefined;
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
// @public (undocumented)
|
|
2897
|
+
export namespace PBCameraLayer {
|
|
2898
|
+
// (undocumented)
|
|
2899
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
2900
|
+
// (undocumented)
|
|
2901
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
// @public (undocumented)
|
|
2905
|
+
export interface PBCameraLayers {
|
|
2906
|
+
// (undocumented)
|
|
2907
|
+
layers: number[];
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
// @public (undocumented)
|
|
2911
|
+
export namespace PBCameraLayers {
|
|
2912
|
+
// (undocumented)
|
|
2913
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
2914
|
+
// (undocumented)
|
|
2915
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2716
2918
|
// @public (undocumented)
|
|
2717
2919
|
export interface PBCameraMode {
|
|
2718
2920
|
mode: CameraType;
|
|
@@ -2730,6 +2932,7 @@ export namespace PBCameraMode {
|
|
|
2730
2932
|
export interface PBCameraModeArea {
|
|
2731
2933
|
area: PBVector3 | undefined;
|
|
2732
2934
|
mode: CameraType;
|
|
2935
|
+
useColliderRange?: boolean | undefined;
|
|
2733
2936
|
}
|
|
2734
2937
|
|
|
2735
2938
|
// @public (undocumented)
|
|
@@ -2840,6 +3043,21 @@ export namespace PBExplorerUiEventsResult_UiOpened {
|
|
|
2840
3043
|
export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
|
|
2841
3044
|
}
|
|
2842
3045
|
|
|
3046
|
+
// @public (undocumented)
|
|
3047
|
+
export interface PBGlobalLight {
|
|
3048
|
+
ambientBrightness?: number | undefined;
|
|
3049
|
+
ambientColor?: PBColor3 | undefined;
|
|
3050
|
+
direction?: PBVector3 | undefined;
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
// @public (undocumented)
|
|
3054
|
+
export namespace PBGlobalLight {
|
|
3055
|
+
// (undocumented)
|
|
3056
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
3057
|
+
// (undocumented)
|
|
3058
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
2843
3061
|
// @public (undocumented)
|
|
2844
3062
|
export interface PBGltfContainer {
|
|
2845
3063
|
invisibleMeshesCollisionMask?: number | undefined;
|
|
@@ -2857,8 +3075,13 @@ export namespace PBGltfContainer {
|
|
|
2857
3075
|
|
|
2858
3076
|
// @public (undocumented)
|
|
2859
3077
|
export interface PBGltfContainerLoadingState {
|
|
3078
|
+
animationNames: string[];
|
|
2860
3079
|
// (undocumented)
|
|
2861
3080
|
currentState: LoadingState;
|
|
3081
|
+
materialNames: string[];
|
|
3082
|
+
meshNames: string[];
|
|
3083
|
+
nodePaths: string[];
|
|
3084
|
+
skinNames: string[];
|
|
2862
3085
|
}
|
|
2863
3086
|
|
|
2864
3087
|
// @public (undocumented)
|
|
@@ -2869,6 +3092,19 @@ export namespace PBGltfContainerLoadingState {
|
|
|
2869
3092
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2870
3093
|
}
|
|
2871
3094
|
|
|
3095
|
+
// @public (undocumented)
|
|
3096
|
+
export interface PBGltfNode {
|
|
3097
|
+
path: string;
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
// @public (undocumented)
|
|
3101
|
+
export namespace PBGltfNode {
|
|
3102
|
+
// (undocumented)
|
|
3103
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
3104
|
+
// (undocumented)
|
|
3105
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
2872
3108
|
// @public (undocumented)
|
|
2873
3109
|
export interface PBGltfNodeModifiers {
|
|
2874
3110
|
// (undocumented)
|
|
@@ -2898,6 +3134,22 @@ export namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
|
2898
3134
|
export function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
2899
3135
|
}
|
|
2900
3136
|
|
|
3137
|
+
// @public (undocumented)
|
|
3138
|
+
export interface PBGltfNodeState {
|
|
3139
|
+
// (undocumented)
|
|
3140
|
+
error?: string | undefined;
|
|
3141
|
+
// (undocumented)
|
|
3142
|
+
state: GltfNodeStateValue;
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
// @public (undocumented)
|
|
3146
|
+
export namespace PBGltfNodeState {
|
|
3147
|
+
// (undocumented)
|
|
3148
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
3149
|
+
// (undocumented)
|
|
3150
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
2901
3153
|
// @public (undocumented)
|
|
2902
3154
|
export interface PBInputModifier {
|
|
2903
3155
|
// (undocumented)
|
|
@@ -3010,6 +3262,7 @@ export namespace PBMainCamera {
|
|
|
3010
3262
|
|
|
3011
3263
|
// @public (undocumented)
|
|
3012
3264
|
export interface PBMaterial {
|
|
3265
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
3013
3266
|
// (undocumented)
|
|
3014
3267
|
material?: {
|
|
3015
3268
|
$case: "unlit";
|
|
@@ -3028,6 +3281,22 @@ export namespace PBMaterial {
|
|
|
3028
3281
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3029
3282
|
}
|
|
3030
3283
|
|
|
3284
|
+
// @public (undocumented)
|
|
3285
|
+
export interface PBMaterial_GltfMaterial {
|
|
3286
|
+
// (undocumented)
|
|
3287
|
+
gltfSrc: string;
|
|
3288
|
+
// (undocumented)
|
|
3289
|
+
name: string;
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
// @public (undocumented)
|
|
3293
|
+
export namespace PBMaterial_GltfMaterial {
|
|
3294
|
+
// (undocumented)
|
|
3295
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
3296
|
+
// (undocumented)
|
|
3297
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3031
3300
|
// @public (undocumented)
|
|
3032
3301
|
export interface PBMaterial_PbrMaterial {
|
|
3033
3302
|
albedoColor?: PBColor4 | undefined;
|
|
@@ -3089,6 +3358,9 @@ export interface PBMeshCollider {
|
|
|
3089
3358
|
} | {
|
|
3090
3359
|
$case: "plane";
|
|
3091
3360
|
plane: PBMeshCollider_PlaneMesh;
|
|
3361
|
+
} | {
|
|
3362
|
+
$case: "gltf";
|
|
3363
|
+
gltf: PBMeshCollider_GltfMesh;
|
|
3092
3364
|
} | undefined;
|
|
3093
3365
|
}
|
|
3094
3366
|
|
|
@@ -3126,6 +3398,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
|
3126
3398
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3127
3399
|
}
|
|
3128
3400
|
|
|
3401
|
+
// @public (undocumented)
|
|
3402
|
+
export interface PBMeshCollider_GltfMesh {
|
|
3403
|
+
gltfSrc: string;
|
|
3404
|
+
name: string;
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
// @public (undocumented)
|
|
3408
|
+
export namespace PBMeshCollider_GltfMesh {
|
|
3409
|
+
// (undocumented)
|
|
3410
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
3411
|
+
// (undocumented)
|
|
3412
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3129
3415
|
// @public (undocumented)
|
|
3130
3416
|
export interface PBMeshCollider_PlaneMesh {
|
|
3131
3417
|
}
|
|
@@ -3165,6 +3451,9 @@ export interface PBMeshRenderer {
|
|
|
3165
3451
|
} | {
|
|
3166
3452
|
$case: "plane";
|
|
3167
3453
|
plane: PBMeshRenderer_PlaneMesh;
|
|
3454
|
+
} | {
|
|
3455
|
+
$case: "gltf";
|
|
3456
|
+
gltf: PBMeshRenderer_GltfMesh;
|
|
3168
3457
|
} | undefined;
|
|
3169
3458
|
}
|
|
3170
3459
|
|
|
@@ -3203,6 +3492,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
|
3203
3492
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3204
3493
|
}
|
|
3205
3494
|
|
|
3495
|
+
// @public (undocumented)
|
|
3496
|
+
export interface PBMeshRenderer_GltfMesh {
|
|
3497
|
+
gltfSrc: string;
|
|
3498
|
+
name: string;
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
// @public (undocumented)
|
|
3502
|
+
export namespace PBMeshRenderer_GltfMesh {
|
|
3503
|
+
// (undocumented)
|
|
3504
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
3505
|
+
// (undocumented)
|
|
3506
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3206
3509
|
// @public (undocumented)
|
|
3207
3510
|
export interface PBMeshRenderer_PlaneMesh {
|
|
3208
3511
|
uvs: number[];
|
|
@@ -3631,9 +3934,11 @@ export interface PBRaycast {
|
|
|
3631
3934
|
$case: "targetEntity";
|
|
3632
3935
|
targetEntity: number;
|
|
3633
3936
|
} | undefined;
|
|
3937
|
+
includeWorld?: boolean | undefined;
|
|
3634
3938
|
maxDistance: number;
|
|
3635
3939
|
originOffset?: PBVector3 | undefined;
|
|
3636
3940
|
queryType: RaycastQueryType;
|
|
3941
|
+
shape?: RaycastShape | undefined;
|
|
3637
3942
|
timestamp?: number | undefined;
|
|
3638
3943
|
}
|
|
3639
3944
|
|
|
@@ -3700,6 +4005,7 @@ export interface PBTextShape {
|
|
|
3700
4005
|
font?: Font | undefined;
|
|
3701
4006
|
fontAutoSize?: boolean | undefined;
|
|
3702
4007
|
fontSize?: number | undefined;
|
|
4008
|
+
fontSrc?: string | undefined;
|
|
3703
4009
|
height?: number | undefined;
|
|
3704
4010
|
lineCount?: number | undefined;
|
|
3705
4011
|
lineSpacing?: number | undefined;
|
|
@@ -3728,6 +4034,32 @@ export namespace PBTextShape {
|
|
|
3728
4034
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
3729
4035
|
}
|
|
3730
4036
|
|
|
4037
|
+
// @public (undocumented)
|
|
4038
|
+
export interface PBTextureCamera {
|
|
4039
|
+
clearColor?: PBColor4 | undefined;
|
|
4040
|
+
farPlane?: number | undefined;
|
|
4041
|
+
height?: number | undefined;
|
|
4042
|
+
layer?: number | undefined;
|
|
4043
|
+
// (undocumented)
|
|
4044
|
+
mode?: {
|
|
4045
|
+
$case: "perspective";
|
|
4046
|
+
perspective: Perspective;
|
|
4047
|
+
} | {
|
|
4048
|
+
$case: "orthographic";
|
|
4049
|
+
orthographic: Orthographic;
|
|
4050
|
+
} | undefined;
|
|
4051
|
+
volume?: number | undefined;
|
|
4052
|
+
width?: number | undefined;
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4055
|
+
// @public (undocumented)
|
|
4056
|
+
export namespace PBTextureCamera {
|
|
4057
|
+
// (undocumented)
|
|
4058
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
4059
|
+
// (undocumented)
|
|
4060
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
4061
|
+
}
|
|
4062
|
+
|
|
3731
4063
|
// @public (undocumented)
|
|
3732
4064
|
export interface PBTouchScreenControls {
|
|
3733
4065
|
hideCrosshair: boolean;
|
|
@@ -3903,6 +4235,23 @@ export namespace PBUiBackground {
|
|
|
3903
4235
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
3904
4236
|
}
|
|
3905
4237
|
|
|
4238
|
+
// @public (undocumented)
|
|
4239
|
+
export interface PBUiCanvas {
|
|
4240
|
+
color?: PBColor4 | undefined;
|
|
4241
|
+
// (undocumented)
|
|
4242
|
+
height: number;
|
|
4243
|
+
// (undocumented)
|
|
4244
|
+
width: number;
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
// @public (undocumented)
|
|
4248
|
+
export namespace PBUiCanvas {
|
|
4249
|
+
// (undocumented)
|
|
4250
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
4251
|
+
// (undocumented)
|
|
4252
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
4253
|
+
}
|
|
4254
|
+
|
|
3906
4255
|
// @public (undocumented)
|
|
3907
4256
|
export interface PBUiCanvasInformation {
|
|
3908
4257
|
devicePixelRatio: number;
|
|
@@ -3931,6 +4280,7 @@ export interface PBUiDropdown {
|
|
|
3931
4280
|
emptyLabel?: string | undefined;
|
|
3932
4281
|
font?: Font | undefined;
|
|
3933
4282
|
fontSize?: number | undefined;
|
|
4283
|
+
fontSrc?: string | undefined;
|
|
3934
4284
|
// (undocumented)
|
|
3935
4285
|
options: string[];
|
|
3936
4286
|
selectedIndex?: number | undefined;
|
|
@@ -3961,11 +4311,14 @@ export namespace PBUiDropdownResult {
|
|
|
3961
4311
|
|
|
3962
4312
|
// @public (undocumented)
|
|
3963
4313
|
export interface PBUiInput {
|
|
4314
|
+
clearOnSubmit?: boolean | undefined;
|
|
3964
4315
|
color?: PBColor4 | undefined;
|
|
3965
4316
|
// (undocumented)
|
|
3966
4317
|
disabled: boolean;
|
|
3967
4318
|
font?: Font | undefined;
|
|
3968
4319
|
fontSize?: number | undefined;
|
|
4320
|
+
fontSrc?: string | undefined;
|
|
4321
|
+
multiLine?: boolean | undefined;
|
|
3969
4322
|
// (undocumented)
|
|
3970
4323
|
placeholder: string;
|
|
3971
4324
|
placeholderColor?: PBColor4 | undefined;
|
|
@@ -4010,11 +4363,26 @@ export namespace PBUiInputResult {
|
|
|
4010
4363
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
|
4011
4364
|
}
|
|
4012
4365
|
|
|
4366
|
+
// @public (undocumented)
|
|
4367
|
+
export interface PBUiScrollResult {
|
|
4368
|
+
// (undocumented)
|
|
4369
|
+
value: PBVector2 | undefined;
|
|
4370
|
+
}
|
|
4371
|
+
|
|
4372
|
+
// @public (undocumented)
|
|
4373
|
+
export namespace PBUiScrollResult {
|
|
4374
|
+
// (undocumented)
|
|
4375
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
4376
|
+
// (undocumented)
|
|
4377
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
4378
|
+
}
|
|
4379
|
+
|
|
4013
4380
|
// @public (undocumented)
|
|
4014
4381
|
export interface PBUiText {
|
|
4015
4382
|
color?: PBColor4 | undefined;
|
|
4016
4383
|
font?: Font | undefined;
|
|
4017
4384
|
fontSize?: number | undefined;
|
|
4385
|
+
fontSrc?: string | undefined;
|
|
4018
4386
|
textAlign?: TextAlignMode | undefined;
|
|
4019
4387
|
textWrap?: TextWrap | undefined;
|
|
4020
4388
|
value: string;
|
|
@@ -4065,6 +4433,7 @@ export interface PBUiTransform {
|
|
|
4065
4433
|
borderTopWidth?: number | undefined;
|
|
4066
4434
|
borderTopWidthUnit?: YGUnit | undefined;
|
|
4067
4435
|
display: YGDisplay;
|
|
4436
|
+
elementId?: string | undefined;
|
|
4068
4437
|
// (undocumented)
|
|
4069
4438
|
flexBasis: number;
|
|
4070
4439
|
flexBasisUnit: YGUnit;
|
|
@@ -4133,6 +4502,8 @@ export interface PBUiTransform {
|
|
|
4133
4502
|
positionType: YGPositionType;
|
|
4134
4503
|
// (undocumented)
|
|
4135
4504
|
rightOf: number;
|
|
4505
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
|
4506
|
+
scrollVisible?: ShowScrollBar | undefined;
|
|
4136
4507
|
// (undocumented)
|
|
4137
4508
|
width: number;
|
|
4138
4509
|
widthUnit: YGUnit;
|
|
@@ -4253,6 +4624,19 @@ export namespace PBVisibilityComponent {
|
|
|
4253
4624
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
4254
4625
|
}
|
|
4255
4626
|
|
|
4627
|
+
// @public (undocumented)
|
|
4628
|
+
export interface Perspective {
|
|
4629
|
+
fieldOfView?: number | undefined;
|
|
4630
|
+
}
|
|
4631
|
+
|
|
4632
|
+
// @public (undocumented)
|
|
4633
|
+
export namespace Perspective {
|
|
4634
|
+
// (undocumented)
|
|
4635
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
4636
|
+
// (undocumented)
|
|
4637
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4256
4640
|
// @public
|
|
4257
4641
|
export const Physics: PhysicsSystem;
|
|
4258
4642
|
|
|
@@ -4329,6 +4713,18 @@ export interface PointerEventsSystem {
|
|
|
4329
4713
|
}, cb: EventSystemCallback): void;
|
|
4330
4714
|
// @deprecated (undocumented)
|
|
4331
4715
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
4716
|
+
onPointerDrag(pointerData: {
|
|
4717
|
+
entity: Entity;
|
|
4718
|
+
opts?: Partial<EventSystemOptions>;
|
|
4719
|
+
}, cb: EventSystemCallback): void;
|
|
4720
|
+
onPointerDragEnd(pointerData: {
|
|
4721
|
+
entity: Entity;
|
|
4722
|
+
opts?: Partial<EventSystemOptions>;
|
|
4723
|
+
}, cb: EventSystemCallback): void;
|
|
4724
|
+
onPointerDragLocked(pointerData: {
|
|
4725
|
+
entity: Entity;
|
|
4726
|
+
opts?: Partial<EventSystemOptions>;
|
|
4727
|
+
}, cb: EventSystemCallback): void;
|
|
4332
4728
|
onPointerHoverEnter(pointerData: {
|
|
4333
4729
|
entity: Entity;
|
|
4334
4730
|
opts?: Partial<EventSystemOptions>;
|
|
@@ -4360,6 +4756,9 @@ export interface PointerEventsSystem {
|
|
|
4360
4756
|
opts?: Partial<EventSystemOptions>;
|
|
4361
4757
|
}, cb: EventSystemCallback): void;
|
|
4362
4758
|
removeOnPointerDown(entity: Entity): void;
|
|
4759
|
+
removeOnPointerDrag(entity: Entity): void;
|
|
4760
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
|
4761
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
|
4363
4762
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
4364
4763
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
4365
4764
|
removeOnPointerUp(entity: Entity): void;
|
|
@@ -4377,6 +4776,12 @@ export const enum PointerEventType {
|
|
|
4377
4776
|
// (undocumented)
|
|
4378
4777
|
PET_DOWN = 1,
|
|
4379
4778
|
// (undocumented)
|
|
4779
|
+
PET_DRAG = 7,
|
|
4780
|
+
// (undocumented)
|
|
4781
|
+
PET_DRAG_END = 8,
|
|
4782
|
+
// (undocumented)
|
|
4783
|
+
PET_DRAG_LOCKED = 6,
|
|
4784
|
+
// (undocumented)
|
|
4380
4785
|
PET_HOVER_ENTER = 2,
|
|
4381
4786
|
// (undocumented)
|
|
4382
4787
|
PET_HOVER_LEAVE = 3,
|
|
@@ -4405,7 +4810,13 @@ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLoc
|
|
|
4405
4810
|
// @public (undocumented)
|
|
4406
4811
|
export const enum PointerType {
|
|
4407
4812
|
POT_MOUSE = 1,
|
|
4408
|
-
POT_NONE = 0
|
|
4813
|
+
POT_NONE = 0,
|
|
4814
|
+
// (undocumented)
|
|
4815
|
+
POT_PAD = 2,
|
|
4816
|
+
// (undocumented)
|
|
4817
|
+
POT_TOUCH = 3,
|
|
4818
|
+
// (undocumented)
|
|
4819
|
+
POT_WAND = 4
|
|
4409
4820
|
}
|
|
4410
4821
|
|
|
4411
4822
|
// @public
|
|
@@ -4596,6 +5007,12 @@ export const enum RaycastQueryType {
|
|
|
4596
5007
|
// @public (undocumented)
|
|
4597
5008
|
export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
|
|
4598
5009
|
|
|
5010
|
+
// @public (undocumented)
|
|
5011
|
+
export const enum RaycastShape {
|
|
5012
|
+
RS_AVATAR = 1,
|
|
5013
|
+
RS_RAY = 0
|
|
5014
|
+
}
|
|
5015
|
+
|
|
4599
5016
|
// @public (undocumented)
|
|
4600
5017
|
export interface RaycastSystem {
|
|
4601
5018
|
globalDirectionOptions(options?: Partial<GlobalDirectionRaycastOptions>): RaycastSystemOptions;
|
|
@@ -4643,13 +5060,17 @@ export type RaycastSystemOptions = {
|
|
|
4643
5060
|
queryType: RaycastQueryType;
|
|
4644
5061
|
continuous?: boolean | undefined;
|
|
4645
5062
|
collisionMask?: number | undefined;
|
|
5063
|
+
shape?: RaycastShape | undefined;
|
|
5064
|
+
includeWorld?: boolean | undefined;
|
|
4646
5065
|
};
|
|
4647
5066
|
|
|
4648
5067
|
// @public (undocumented)
|
|
4649
5068
|
export interface ReactBasedUiSystem {
|
|
4650
5069
|
addUiRenderer(entity: Entity, ui: UiComponent, options?: UiRendererOptions): void;
|
|
4651
5070
|
destroy(): void;
|
|
5071
|
+
removeTextureRenderer(entity: Entity): void;
|
|
4652
5072
|
removeUiRenderer(entity: Entity): void;
|
|
5073
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
4653
5074
|
setUiRenderer(ui: UiComponent, options?: UiRendererOptions): void;
|
|
4654
5075
|
}
|
|
4655
5076
|
|
|
@@ -4744,7 +5165,7 @@ export type ReadOnlyGrowOnlyValueSetComponentDefinition<T> = Omit<GrowOnlyValueS
|
|
|
4744
5165
|
export type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = Omit<LastWriteWinElementSetComponentDefinition<T>, 'create' | 'createOrReplace' | 'deleteFrom' | 'getMutable' | 'getMutableOrNull' | 'getOrCreateMutable'>;
|
|
4745
5166
|
|
|
4746
5167
|
// @public (undocumented)
|
|
4747
|
-
export type ReadonlyPrimitive = number | string | boolean;
|
|
5168
|
+
export type ReadonlyPrimitive = number | string | number[] | string[] | boolean | boolean[];
|
|
4748
5169
|
|
|
4749
5170
|
// @public (undocumented)
|
|
4750
5171
|
export const RealmInfo: LastWriteWinElementSetComponentDefinition<PBRealmInfo>;
|
|
@@ -4957,6 +5378,29 @@ export namespace Schemas {
|
|
|
4957
5378
|
// @public
|
|
4958
5379
|
export function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
|
|
4959
5380
|
|
|
5381
|
+
// @public (undocumented)
|
|
5382
|
+
export interface ScrollPositionValue {
|
|
5383
|
+
// (undocumented)
|
|
5384
|
+
value?: {
|
|
5385
|
+
$case: "position";
|
|
5386
|
+
position: PBVector2;
|
|
5387
|
+
} | {
|
|
5388
|
+
$case: "reference";
|
|
5389
|
+
reference: string;
|
|
5390
|
+
} | undefined;
|
|
5391
|
+
}
|
|
5392
|
+
|
|
5393
|
+
// @public (undocumented)
|
|
5394
|
+
export namespace ScrollPositionValue {
|
|
5395
|
+
// (undocumented)
|
|
5396
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
5397
|
+
// (undocumented)
|
|
5398
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5401
|
+
// @public
|
|
5402
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
5403
|
+
|
|
4960
5404
|
// @public
|
|
4961
5405
|
export function setCompositeProvider(engine: IEngine, provider: CompositeProvider): void;
|
|
4962
5406
|
|
|
@@ -4969,6 +5413,18 @@ export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
|
4969
5413
|
easingFunction?: EasingFunction;
|
|
4970
5414
|
}
|
|
4971
5415
|
|
|
5416
|
+
// @public (undocumented)
|
|
5417
|
+
export const enum ShowScrollBar {
|
|
5418
|
+
// (undocumented)
|
|
5419
|
+
SSB_BOTH = 0,
|
|
5420
|
+
// (undocumented)
|
|
5421
|
+
SSB_HIDDEN = 3,
|
|
5422
|
+
// (undocumented)
|
|
5423
|
+
SSB_ONLY_HORIZONTAL = 2,
|
|
5424
|
+
// (undocumented)
|
|
5425
|
+
SSB_ONLY_VERTICAL = 1
|
|
5426
|
+
}
|
|
5427
|
+
|
|
4972
5428
|
// @public (undocumented)
|
|
4973
5429
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
4974
5430
|
|
|
@@ -5082,6 +5538,9 @@ export namespace Texture {
|
|
|
5082
5538
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
|
5083
5539
|
}
|
|
5084
5540
|
|
|
5541
|
+
// @public (undocumented)
|
|
5542
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
5543
|
+
|
|
5085
5544
|
// @public (undocumented)
|
|
5086
5545
|
export const enum TextureFilterMode {
|
|
5087
5546
|
// (undocumented)
|
|
@@ -5161,6 +5620,9 @@ export interface TextureUnion {
|
|
|
5161
5620
|
} | {
|
|
5162
5621
|
$case: "videoTexture";
|
|
5163
5622
|
videoTexture: VideoTexture;
|
|
5623
|
+
} | {
|
|
5624
|
+
$case: "uiTexture";
|
|
5625
|
+
uiTexture: UiCanvasTexture;
|
|
5164
5626
|
} | undefined;
|
|
5165
5627
|
}
|
|
5166
5628
|
|
|
@@ -5442,6 +5904,7 @@ export interface UiBackgroundProps {
|
|
|
5442
5904
|
textureMode?: TextureMode;
|
|
5443
5905
|
textureSlices?: BorderRect | undefined;
|
|
5444
5906
|
uvs?: number[];
|
|
5907
|
+
videoTexture?: UiVideoTexture;
|
|
5445
5908
|
}
|
|
5446
5909
|
|
|
5447
5910
|
// @public
|
|
@@ -5450,9 +5913,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
5450
5913
|
variant?: 'primary' | 'secondary';
|
|
5451
5914
|
}
|
|
5452
5915
|
|
|
5916
|
+
// @public (undocumented)
|
|
5917
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
5918
|
+
|
|
5453
5919
|
// @public (undocumented)
|
|
5454
5920
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
5455
5921
|
|
|
5922
|
+
// @public (undocumented)
|
|
5923
|
+
export interface UiCanvasTexture {
|
|
5924
|
+
filterMode?: TextureFilterMode | undefined;
|
|
5925
|
+
// (undocumented)
|
|
5926
|
+
uiCanvasEntity: number;
|
|
5927
|
+
wrapMode?: TextureWrapMode | undefined;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5930
|
+
// @public (undocumented)
|
|
5931
|
+
export namespace UiCanvasTexture {
|
|
5932
|
+
// (undocumented)
|
|
5933
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
5934
|
+
// (undocumented)
|
|
5935
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5456
5938
|
// @public (undocumented)
|
|
5457
5939
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
|
5458
5940
|
|
|
@@ -5515,6 +5997,7 @@ export interface UiLabelProps {
|
|
|
5515
5997
|
color?: PBColor4 | undefined;
|
|
5516
5998
|
font?: UiFontType | undefined;
|
|
5517
5999
|
fontSize?: ScaleUnit | undefined;
|
|
6000
|
+
fontSrc?: string | undefined;
|
|
5518
6001
|
textAlign?: TextAlignType | undefined;
|
|
5519
6002
|
textWrap?: UiTextWrapType | undefined;
|
|
5520
6003
|
value: string;
|
|
@@ -5528,7 +6011,6 @@ export type UiRendererOptions = {
|
|
|
5528
6011
|
virtualWidth?: number;
|
|
5529
6012
|
virtualHeight?: number;
|
|
5530
6013
|
screenInset?: UiScreenInset;
|
|
5531
|
-
zIndex?: number;
|
|
5532
6014
|
};
|
|
5533
6015
|
|
|
5534
6016
|
// @public
|
|
@@ -5539,6 +6021,9 @@ export type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
|
|
|
5539
6021
|
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
5540
6022
|
};
|
|
5541
6023
|
|
|
6024
|
+
// @public (undocumented)
|
|
6025
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
6026
|
+
|
|
5542
6027
|
// @public (undocumented)
|
|
5543
6028
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
5544
6029
|
|
|
@@ -5567,6 +6052,7 @@ export interface UiTransformProps {
|
|
|
5567
6052
|
// (undocumented)
|
|
5568
6053
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
5569
6054
|
display?: DisplayType;
|
|
6055
|
+
elementId?: string;
|
|
5570
6056
|
flex?: number;
|
|
5571
6057
|
flexBasis?: number;
|
|
5572
6058
|
flexDirection?: FlexDirectionType;
|
|
@@ -5586,10 +6072,22 @@ export interface UiTransformProps {
|
|
|
5586
6072
|
pointerFilter?: PointerFilterType;
|
|
5587
6073
|
position?: Partial<Position> | PositionShorthand;
|
|
5588
6074
|
positionType?: PositionType;
|
|
6075
|
+
scrollPosition?: PBVector2 | string;
|
|
6076
|
+
scrollVisible?: ScrollVisibleType;
|
|
5589
6077
|
width?: PositionUnit | 'auto';
|
|
5590
6078
|
zIndex?: number;
|
|
5591
6079
|
}
|
|
5592
6080
|
|
|
6081
|
+
// @public
|
|
6082
|
+
export interface UiVideoTexture {
|
|
6083
|
+
// (undocumented)
|
|
6084
|
+
filterMode?: TextureFilterType;
|
|
6085
|
+
// (undocumented)
|
|
6086
|
+
videoPlayerEntity: Entity;
|
|
6087
|
+
// (undocumented)
|
|
6088
|
+
wrapMode?: TextureWrapType;
|
|
6089
|
+
}
|
|
6090
|
+
|
|
5593
6091
|
// @public (undocumented)
|
|
5594
6092
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5595
6093
|
|