@dcl/playground-assets 7.7.3-13037288824.commit-024c250 → 7.7.3-13089595989.commit-0b20ca2
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 +784 -10
- package/dist/beta.d.ts +784 -10
- package/dist/index.bundled.d.ts +784 -10
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +0 -8
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +784 -10
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +9001 -1128
- package/etc/playground-assets.api.md +503 -1
- package/package.json +4 -4
@@ -136,6 +136,13 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
|
|
136
136
|
// @public (undocumented)
|
137
137
|
export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
138
138
|
|
139
|
+
// @public (undocumented)
|
140
|
+
export const enum AvatarControlType {
|
141
|
+
CCT_NONE = 0,
|
142
|
+
CCT_RELATIVE = 1,
|
143
|
+
CCT_TANK = 2
|
144
|
+
}
|
145
|
+
|
139
146
|
// @public (undocumented)
|
140
147
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
141
148
|
|
@@ -151,6 +158,28 @@ export const enum AvatarModifierType {
|
|
151
158
|
AMT_HIDE_AVATARS = 0
|
152
159
|
}
|
153
160
|
|
161
|
+
// @public (undocumented)
|
162
|
+
export interface AvatarMovementSettings {
|
163
|
+
allowWeightedMovement?: boolean | undefined;
|
164
|
+
// (undocumented)
|
165
|
+
controlMode?: AvatarControlType | undefined;
|
166
|
+
friction?: number | undefined;
|
167
|
+
gravity?: number | undefined;
|
168
|
+
jumpHeight?: number | undefined;
|
169
|
+
maxFallSpeed?: number | undefined;
|
170
|
+
runSpeed?: number | undefined;
|
171
|
+
turnSpeed?: number | undefined;
|
172
|
+
walkSpeed?: number | undefined;
|
173
|
+
}
|
174
|
+
|
175
|
+
// @public (undocumented)
|
176
|
+
export namespace AvatarMovementSettings {
|
177
|
+
// (undocumented)
|
178
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
179
|
+
// (undocumented)
|
180
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
181
|
+
}
|
182
|
+
|
154
183
|
// @public (undocumented)
|
155
184
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
156
185
|
|
@@ -347,6 +376,12 @@ export interface ByteBuffer {
|
|
347
376
|
// @public
|
348
377
|
export type Callback = () => void;
|
349
378
|
|
379
|
+
// @public (undocumented)
|
380
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
381
|
+
|
382
|
+
// @public (undocumented)
|
383
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
384
|
+
|
350
385
|
// @public (undocumented)
|
351
386
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
352
387
|
|
@@ -395,6 +430,29 @@ export const enum CameraType {
|
|
395
430
|
// @public (undocumented)
|
396
431
|
export type Children = ReactEcs.JSX.ReactNode;
|
397
432
|
|
433
|
+
// @public (undocumented)
|
434
|
+
export interface CinematicSettings {
|
435
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
436
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
437
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
438
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
439
|
+
allowManualRotation?: boolean | undefined;
|
440
|
+
cameraEntity: number;
|
441
|
+
pitchRange?: number | undefined;
|
442
|
+
rollRange?: number | undefined;
|
443
|
+
yawRange?: number | undefined;
|
444
|
+
zoomMax?: number | undefined;
|
445
|
+
zoomMin?: number | undefined;
|
446
|
+
}
|
447
|
+
|
448
|
+
// @public (undocumented)
|
449
|
+
export namespace CinematicSettings {
|
450
|
+
// (undocumented)
|
451
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
452
|
+
// (undocumented)
|
453
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
454
|
+
}
|
455
|
+
|
398
456
|
// @public (undocumented)
|
399
457
|
export const enum ColliderLayer {
|
400
458
|
// (undocumented)
|
@@ -621,12 +679,18 @@ export const componentDefinitionByName: {
|
|
621
679
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
622
680
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
623
681
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
682
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
683
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
624
684
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
625
685
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
626
686
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
687
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
627
688
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
628
689
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
690
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
691
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
629
692
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
693
|
+
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
630
694
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
631
695
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
632
696
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -636,19 +700,24 @@ export const componentDefinitionByName: {
|
|
636
700
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
637
701
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
638
702
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
703
|
+
"core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
|
639
704
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
640
705
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
641
706
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
707
|
+
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
642
708
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
709
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
643
710
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
644
711
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
645
712
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
646
713
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
714
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
647
715
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
648
716
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
649
717
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
650
718
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
651
719
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
720
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
652
721
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
653
722
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
654
723
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1084,6 +1153,9 @@ export type EntityComponents = {
|
|
1084
1153
|
onMouseUp: Callback;
|
1085
1154
|
onMouseEnter: Callback;
|
1086
1155
|
onMouseLeave: Callback;
|
1156
|
+
onMouseDrag: Callback;
|
1157
|
+
onMouseDragLocked: Callback;
|
1158
|
+
onMouseDragEnd: Callback;
|
1087
1159
|
};
|
1088
1160
|
|
1089
1161
|
// @public (undocumented)
|
@@ -1187,6 +1259,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1187
1259
|
direction?: PBVector3;
|
1188
1260
|
};
|
1189
1261
|
|
1262
|
+
// @public (undocumented)
|
1263
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1264
|
+
|
1190
1265
|
// 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)
|
1191
1266
|
//
|
1192
1267
|
// @public (undocumented)
|
@@ -1205,6 +1280,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1205
1280
|
// @public (undocumented)
|
1206
1281
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1207
1282
|
|
1283
|
+
// @public (undocumented)
|
1284
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1285
|
+
|
1286
|
+
// @public (undocumented)
|
1287
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1288
|
+
|
1289
|
+
// @public (undocumented)
|
1290
|
+
export const enum GltfNodeStateValue {
|
1291
|
+
// (undocumented)
|
1292
|
+
GNSV_FAILED = 1,
|
1293
|
+
// (undocumented)
|
1294
|
+
GNSV_PENDING = 0,
|
1295
|
+
// (undocumented)
|
1296
|
+
GNSV_READY = 2
|
1297
|
+
}
|
1298
|
+
|
1208
1299
|
// @public (undocumented)
|
1209
1300
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1210
1301
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1556,12 +1647,18 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1556
1647
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1557
1648
|
}
|
1558
1649
|
|
1650
|
+
// @public (undocumented)
|
1651
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1652
|
+
|
1559
1653
|
// @public
|
1560
1654
|
export type Listeners = {
|
1561
1655
|
onMouseDown?: Callback;
|
1562
1656
|
onMouseUp?: Callback;
|
1563
1657
|
onMouseEnter?: Callback;
|
1564
1658
|
onMouseLeave?: Callback;
|
1659
|
+
onMouseDrag?: Callback;
|
1660
|
+
onMouseDragLocked?: Callback;
|
1661
|
+
onMouseDragEnd?: Callback;
|
1565
1662
|
};
|
1566
1663
|
|
1567
1664
|
// @public (undocumented)
|
@@ -1801,6 +1898,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1801
1898
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1802
1899
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1803
1900
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1901
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1804
1902
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1805
1903
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1806
1904
|
}
|
@@ -1814,6 +1912,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1814
1912
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1815
1913
|
setBox(entity: Entity, uvs?: number[]): void;
|
1816
1914
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1915
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1817
1916
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1818
1917
|
setSphere(entity: Entity): void;
|
1819
1918
|
}
|
@@ -2051,6 +2150,19 @@ export const onVideoEvent: Observable<{
|
|
2051
2150
|
totalVideoLength: number;
|
2052
2151
|
}>;
|
2053
2152
|
|
2153
|
+
// @public (undocumented)
|
2154
|
+
export interface Orthographic {
|
2155
|
+
verticalRange?: number | undefined;
|
2156
|
+
}
|
2157
|
+
|
2158
|
+
// @public (undocumented)
|
2159
|
+
export namespace Orthographic {
|
2160
|
+
// (undocumented)
|
2161
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
2162
|
+
// (undocumented)
|
2163
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
2164
|
+
}
|
2165
|
+
|
2054
2166
|
// @public
|
2055
2167
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2056
2168
|
|
@@ -2208,6 +2320,9 @@ export interface PBAvatarModifierArea {
|
|
2208
2320
|
area: PBVector3 | undefined;
|
2209
2321
|
excludeIds: string[];
|
2210
2322
|
modifiers: AvatarModifierType[];
|
2323
|
+
// (undocumented)
|
2324
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2325
|
+
useColliderRange?: boolean | undefined;
|
2211
2326
|
}
|
2212
2327
|
|
2213
2328
|
// @public (undocumented)
|
@@ -2254,6 +2369,42 @@ export namespace PBBillboard {
|
|
2254
2369
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2255
2370
|
}
|
2256
2371
|
|
2372
|
+
// @public (undocumented)
|
2373
|
+
export interface PBCameraLayer {
|
2374
|
+
// (undocumented)
|
2375
|
+
ambientBrightnessOverride?: number | undefined;
|
2376
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2377
|
+
ambientColorOverride?: PBColor3 | undefined;
|
2378
|
+
directionalLight?: boolean | undefined;
|
2379
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2380
|
+
layer: number;
|
2381
|
+
showAvatars?: boolean | undefined;
|
2382
|
+
showFog?: boolean | undefined;
|
2383
|
+
showSkybox?: boolean | undefined;
|
2384
|
+
}
|
2385
|
+
|
2386
|
+
// @public (undocumented)
|
2387
|
+
export namespace PBCameraLayer {
|
2388
|
+
// (undocumented)
|
2389
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
2390
|
+
// (undocumented)
|
2391
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
2392
|
+
}
|
2393
|
+
|
2394
|
+
// @public (undocumented)
|
2395
|
+
export interface PBCameraLayers {
|
2396
|
+
// (undocumented)
|
2397
|
+
layers: number[];
|
2398
|
+
}
|
2399
|
+
|
2400
|
+
// @public (undocumented)
|
2401
|
+
export namespace PBCameraLayers {
|
2402
|
+
// (undocumented)
|
2403
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
2404
|
+
// (undocumented)
|
2405
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
2406
|
+
}
|
2407
|
+
|
2257
2408
|
// @public (undocumented)
|
2258
2409
|
export interface PBCameraMode {
|
2259
2410
|
mode: CameraType;
|
@@ -2270,7 +2421,10 @@ export namespace PBCameraMode {
|
|
2270
2421
|
// @public (undocumented)
|
2271
2422
|
export interface PBCameraModeArea {
|
2272
2423
|
area: PBVector3 | undefined;
|
2424
|
+
// (undocumented)
|
2425
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2273
2426
|
mode: CameraType;
|
2427
|
+
useColliderRange?: boolean | undefined;
|
2274
2428
|
}
|
2275
2429
|
|
2276
2430
|
// @public (undocumented)
|
@@ -2334,6 +2488,21 @@ export namespace PBEngineInfo {
|
|
2334
2488
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2335
2489
|
}
|
2336
2490
|
|
2491
|
+
// @public (undocumented)
|
2492
|
+
export interface PBGlobalLight {
|
2493
|
+
ambientBrightness?: number | undefined;
|
2494
|
+
ambientColor?: PBColor3 | undefined;
|
2495
|
+
direction?: PBVector3 | undefined;
|
2496
|
+
}
|
2497
|
+
|
2498
|
+
// @public (undocumented)
|
2499
|
+
export namespace PBGlobalLight {
|
2500
|
+
// (undocumented)
|
2501
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2502
|
+
// (undocumented)
|
2503
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2504
|
+
}
|
2505
|
+
|
2337
2506
|
// @public (undocumented)
|
2338
2507
|
export interface PBGltfContainer {
|
2339
2508
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2351,8 +2520,13 @@ export namespace PBGltfContainer {
|
|
2351
2520
|
|
2352
2521
|
// @public (undocumented)
|
2353
2522
|
export interface PBGltfContainerLoadingState {
|
2523
|
+
animationNames: string[];
|
2354
2524
|
// (undocumented)
|
2355
2525
|
currentState: LoadingState;
|
2526
|
+
materialNames: string[];
|
2527
|
+
meshNames: string[];
|
2528
|
+
nodePaths: string[];
|
2529
|
+
skinNames: string[];
|
2356
2530
|
}
|
2357
2531
|
|
2358
2532
|
// @public (undocumented)
|
@@ -2363,6 +2537,35 @@ export namespace PBGltfContainerLoadingState {
|
|
2363
2537
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2364
2538
|
}
|
2365
2539
|
|
2540
|
+
// @public (undocumented)
|
2541
|
+
export interface PBGltfNode {
|
2542
|
+
path: string;
|
2543
|
+
}
|
2544
|
+
|
2545
|
+
// @public (undocumented)
|
2546
|
+
export namespace PBGltfNode {
|
2547
|
+
// (undocumented)
|
2548
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2549
|
+
// (undocumented)
|
2550
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2551
|
+
}
|
2552
|
+
|
2553
|
+
// @public (undocumented)
|
2554
|
+
export interface PBGltfNodeState {
|
2555
|
+
// (undocumented)
|
2556
|
+
error?: string | undefined;
|
2557
|
+
// (undocumented)
|
2558
|
+
state: GltfNodeStateValue;
|
2559
|
+
}
|
2560
|
+
|
2561
|
+
// @public (undocumented)
|
2562
|
+
export namespace PBGltfNodeState {
|
2563
|
+
// (undocumented)
|
2564
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2565
|
+
// (undocumented)
|
2566
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2567
|
+
}
|
2568
|
+
|
2366
2569
|
// @public (undocumented)
|
2367
2570
|
export interface PBInputModifier {
|
2368
2571
|
// (undocumented)
|
@@ -2404,6 +2607,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2404
2607
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2405
2608
|
}
|
2406
2609
|
|
2610
|
+
// @public (undocumented)
|
2611
|
+
export interface PBLight {
|
2612
|
+
color?: PBColor3 | undefined;
|
2613
|
+
enabled?: boolean | undefined;
|
2614
|
+
illuminance?: number | undefined;
|
2615
|
+
shadows?: boolean | undefined;
|
2616
|
+
}
|
2617
|
+
|
2618
|
+
// @public (undocumented)
|
2619
|
+
export namespace PBLight {
|
2620
|
+
// (undocumented)
|
2621
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
2622
|
+
// (undocumented)
|
2623
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
2624
|
+
}
|
2625
|
+
|
2407
2626
|
// @public (undocumented)
|
2408
2627
|
export interface PBMainCamera {
|
2409
2628
|
virtualCameraEntity?: number | undefined;
|
@@ -2419,6 +2638,7 @@ export namespace PBMainCamera {
|
|
2419
2638
|
|
2420
2639
|
// @public (undocumented)
|
2421
2640
|
export interface PBMaterial {
|
2641
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2422
2642
|
// (undocumented)
|
2423
2643
|
material?: {
|
2424
2644
|
$case: "unlit";
|
@@ -2437,6 +2657,22 @@ export namespace PBMaterial {
|
|
2437
2657
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2438
2658
|
}
|
2439
2659
|
|
2660
|
+
// @public (undocumented)
|
2661
|
+
export interface PBMaterial_GltfMaterial {
|
2662
|
+
// (undocumented)
|
2663
|
+
gltfSrc: string;
|
2664
|
+
// (undocumented)
|
2665
|
+
name: string;
|
2666
|
+
}
|
2667
|
+
|
2668
|
+
// @public (undocumented)
|
2669
|
+
export namespace PBMaterial_GltfMaterial {
|
2670
|
+
// (undocumented)
|
2671
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2672
|
+
// (undocumented)
|
2673
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2674
|
+
}
|
2675
|
+
|
2440
2676
|
// @public (undocumented)
|
2441
2677
|
export interface PBMaterial_PbrMaterial {
|
2442
2678
|
albedoColor?: PBColor4 | undefined;
|
@@ -2498,6 +2734,9 @@ export interface PBMeshCollider {
|
|
2498
2734
|
} | {
|
2499
2735
|
$case: "plane";
|
2500
2736
|
plane: PBMeshCollider_PlaneMesh;
|
2737
|
+
} | {
|
2738
|
+
$case: "gltf";
|
2739
|
+
gltf: PBMeshCollider_GltfMesh;
|
2501
2740
|
} | undefined;
|
2502
2741
|
}
|
2503
2742
|
|
@@ -2535,6 +2774,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2535
2774
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2536
2775
|
}
|
2537
2776
|
|
2777
|
+
// @public (undocumented)
|
2778
|
+
export interface PBMeshCollider_GltfMesh {
|
2779
|
+
gltfSrc: string;
|
2780
|
+
name: string;
|
2781
|
+
}
|
2782
|
+
|
2783
|
+
// @public (undocumented)
|
2784
|
+
export namespace PBMeshCollider_GltfMesh {
|
2785
|
+
// (undocumented)
|
2786
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2787
|
+
// (undocumented)
|
2788
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2789
|
+
}
|
2790
|
+
|
2538
2791
|
// @public (undocumented)
|
2539
2792
|
export interface PBMeshCollider_PlaneMesh {
|
2540
2793
|
}
|
@@ -2574,6 +2827,9 @@ export interface PBMeshRenderer {
|
|
2574
2827
|
} | {
|
2575
2828
|
$case: "plane";
|
2576
2829
|
plane: PBMeshRenderer_PlaneMesh;
|
2830
|
+
} | {
|
2831
|
+
$case: "gltf";
|
2832
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2577
2833
|
} | undefined;
|
2578
2834
|
}
|
2579
2835
|
|
@@ -2612,6 +2868,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2612
2868
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2613
2869
|
}
|
2614
2870
|
|
2871
|
+
// @public (undocumented)
|
2872
|
+
export interface PBMeshRenderer_GltfMesh {
|
2873
|
+
gltfSrc: string;
|
2874
|
+
name: string;
|
2875
|
+
}
|
2876
|
+
|
2877
|
+
// @public (undocumented)
|
2878
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2879
|
+
// (undocumented)
|
2880
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2881
|
+
// (undocumented)
|
2882
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2883
|
+
}
|
2884
|
+
|
2615
2885
|
// @public (undocumented)
|
2616
2886
|
export interface PBMeshRenderer_PlaneMesh {
|
2617
2887
|
uvs: number[];
|
@@ -2762,6 +3032,23 @@ export namespace PBPosition {
|
|
2762
3032
|
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
2763
3033
|
}
|
2764
3034
|
|
3035
|
+
// @public (undocumented)
|
3036
|
+
export interface PBPrimaryPointerInfo {
|
3037
|
+
// (undocumented)
|
3038
|
+
pointerType?: PointerType | undefined;
|
3039
|
+
screenCoordinates?: PBVector2 | undefined;
|
3040
|
+
screenDelta?: PBVector2 | undefined;
|
3041
|
+
worldRayDirection?: PBVector3 | undefined;
|
3042
|
+
}
|
3043
|
+
|
3044
|
+
// @public (undocumented)
|
3045
|
+
export namespace PBPrimaryPointerInfo {
|
3046
|
+
// (undocumented)
|
3047
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
|
3048
|
+
// (undocumented)
|
3049
|
+
export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
|
3050
|
+
}
|
3051
|
+
|
2765
3052
|
// @public (undocumented)
|
2766
3053
|
export interface PBQuaternion {
|
2767
3054
|
// (undocumented)
|
@@ -2857,6 +3144,21 @@ export namespace PBRealmInfo {
|
|
2857
3144
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2858
3145
|
}
|
2859
3146
|
|
3147
|
+
// @public (undocumented)
|
3148
|
+
export interface PBSpotlight {
|
3149
|
+
angle: number;
|
3150
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3151
|
+
innerAngle?: number | undefined;
|
3152
|
+
}
|
3153
|
+
|
3154
|
+
// @public (undocumented)
|
3155
|
+
export namespace PBSpotlight {
|
3156
|
+
// (undocumented)
|
3157
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
3158
|
+
// (undocumented)
|
3159
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
3160
|
+
}
|
3161
|
+
|
2860
3162
|
// @public (undocumented)
|
2861
3163
|
export interface PBTextShape {
|
2862
3164
|
font?: Font | undefined;
|
@@ -2890,6 +3192,31 @@ export namespace PBTextShape {
|
|
2890
3192
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
2891
3193
|
}
|
2892
3194
|
|
3195
|
+
// @public (undocumented)
|
3196
|
+
export interface PBTextureCamera {
|
3197
|
+
clearColor?: PBColor4 | undefined;
|
3198
|
+
farPlane?: number | undefined;
|
3199
|
+
height?: number | undefined;
|
3200
|
+
layer?: number | undefined;
|
3201
|
+
// (undocumented)
|
3202
|
+
mode?: {
|
3203
|
+
$case: "perspective";
|
3204
|
+
perspective: Perspective;
|
3205
|
+
} | {
|
3206
|
+
$case: "orthographic";
|
3207
|
+
orthographic: Orthographic;
|
3208
|
+
} | undefined;
|
3209
|
+
width?: number | undefined;
|
3210
|
+
}
|
3211
|
+
|
3212
|
+
// @public (undocumented)
|
3213
|
+
export namespace PBTextureCamera {
|
3214
|
+
// (undocumented)
|
3215
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
3216
|
+
// (undocumented)
|
3217
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
3218
|
+
}
|
3219
|
+
|
2893
3220
|
// @public (undocumented)
|
2894
3221
|
export interface PBTween {
|
2895
3222
|
currentTime?: number | undefined;
|
@@ -2971,6 +3298,23 @@ export namespace PBUiBackground {
|
|
2971
3298
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2972
3299
|
}
|
2973
3300
|
|
3301
|
+
// @public (undocumented)
|
3302
|
+
export interface PBUiCanvas {
|
3303
|
+
color?: PBColor4 | undefined;
|
3304
|
+
// (undocumented)
|
3305
|
+
height: number;
|
3306
|
+
// (undocumented)
|
3307
|
+
width: number;
|
3308
|
+
}
|
3309
|
+
|
3310
|
+
// @public (undocumented)
|
3311
|
+
export namespace PBUiCanvas {
|
3312
|
+
// (undocumented)
|
3313
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3314
|
+
// (undocumented)
|
3315
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3316
|
+
}
|
3317
|
+
|
2974
3318
|
// @public (undocumented)
|
2975
3319
|
export interface PBUiCanvasInformation {
|
2976
3320
|
devicePixelRatio: number;
|
@@ -3064,11 +3408,27 @@ export namespace PBUiInputResult {
|
|
3064
3408
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3065
3409
|
}
|
3066
3410
|
|
3411
|
+
// @public (undocumented)
|
3412
|
+
export interface PBUiScrollResult {
|
3413
|
+
// (undocumented)
|
3414
|
+
value: PBVector2 | undefined;
|
3415
|
+
}
|
3416
|
+
|
3417
|
+
// @public (undocumented)
|
3418
|
+
export namespace PBUiScrollResult {
|
3419
|
+
// (undocumented)
|
3420
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3421
|
+
// (undocumented)
|
3422
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3423
|
+
}
|
3424
|
+
|
3067
3425
|
// @public (undocumented)
|
3068
3426
|
export interface PBUiText {
|
3069
3427
|
color?: PBColor4 | undefined;
|
3070
3428
|
font?: Font | undefined;
|
3071
3429
|
fontSize?: number | undefined;
|
3430
|
+
outlineColor?: PBColor4 | undefined;
|
3431
|
+
outlineWidth?: number | undefined;
|
3072
3432
|
textAlign?: TextAlignMode | undefined;
|
3073
3433
|
textWrap?: TextWrap | undefined;
|
3074
3434
|
value: string;
|
@@ -3088,6 +3448,7 @@ export interface PBUiTransform {
|
|
3088
3448
|
alignItems?: YGAlign | undefined;
|
3089
3449
|
alignSelf: YGAlign;
|
3090
3450
|
display: YGDisplay;
|
3451
|
+
elementId?: string | undefined;
|
3091
3452
|
// (undocumented)
|
3092
3453
|
flexBasis: number;
|
3093
3454
|
flexBasisUnit: YGUnit;
|
@@ -3124,6 +3485,7 @@ export interface PBUiTransform {
|
|
3124
3485
|
// (undocumented)
|
3125
3486
|
minWidth: number;
|
3126
3487
|
minWidthUnit: YGUnit;
|
3488
|
+
opacity?: number | undefined;
|
3127
3489
|
overflow: YGOverflow;
|
3128
3490
|
// (undocumented)
|
3129
3491
|
paddingBottom: number;
|
@@ -3155,9 +3517,12 @@ export interface PBUiTransform {
|
|
3155
3517
|
positionType: YGPositionType;
|
3156
3518
|
// (undocumented)
|
3157
3519
|
rightOf: number;
|
3520
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3521
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3158
3522
|
// (undocumented)
|
3159
3523
|
width: number;
|
3160
3524
|
widthUnit: YGUnit;
|
3525
|
+
zIndex?: number | undefined;
|
3161
3526
|
}
|
3162
3527
|
|
3163
3528
|
// @public (undocumented)
|
@@ -3269,6 +3634,19 @@ export namespace PBVisibilityComponent {
|
|
3269
3634
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3270
3635
|
}
|
3271
3636
|
|
3637
|
+
// @public (undocumented)
|
3638
|
+
export interface Perspective {
|
3639
|
+
fieldOfView?: number | undefined;
|
3640
|
+
}
|
3641
|
+
|
3642
|
+
// @public (undocumented)
|
3643
|
+
export namespace Perspective {
|
3644
|
+
// (undocumented)
|
3645
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
3646
|
+
// (undocumented)
|
3647
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
3648
|
+
}
|
3649
|
+
|
3272
3650
|
// @public
|
3273
3651
|
export namespace Plane {
|
3274
3652
|
// (undocumented)
|
@@ -3320,6 +3698,18 @@ export interface PointerEventsSystem {
|
|
3320
3698
|
}, cb: EventSystemCallback): void;
|
3321
3699
|
// @deprecated (undocumented)
|
3322
3700
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3701
|
+
onPointerDrag(pointerData: {
|
3702
|
+
entity: Entity;
|
3703
|
+
opts?: Partial<EventSystemOptions>;
|
3704
|
+
}, cb: EventSystemCallback): void;
|
3705
|
+
onPointerDragEnd(pointerData: {
|
3706
|
+
entity: Entity;
|
3707
|
+
opts?: Partial<EventSystemOptions>;
|
3708
|
+
}, cb: EventSystemCallback): void;
|
3709
|
+
onPointerDragLocked(pointerData: {
|
3710
|
+
entity: Entity;
|
3711
|
+
opts?: Partial<EventSystemOptions>;
|
3712
|
+
}, cb: EventSystemCallback): void;
|
3323
3713
|
onPointerHoverEnter(pointerData: {
|
3324
3714
|
entity: Entity;
|
3325
3715
|
opts?: Partial<EventSystemOptions>;
|
@@ -3335,6 +3725,9 @@ export interface PointerEventsSystem {
|
|
3335
3725
|
// @deprecated (undocumented)
|
3336
3726
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3337
3727
|
removeOnPointerDown(entity: Entity): void;
|
3728
|
+
removeOnPointerDrag(entity: Entity): void;
|
3729
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
3730
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
3338
3731
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3339
3732
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3340
3733
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3348,6 +3741,12 @@ export const enum PointerEventType {
|
|
3348
3741
|
// (undocumented)
|
3349
3742
|
PET_DOWN = 1,
|
3350
3743
|
// (undocumented)
|
3744
|
+
PET_DRAG = 5,
|
3745
|
+
// (undocumented)
|
3746
|
+
PET_DRAG_END = 6,
|
3747
|
+
// (undocumented)
|
3748
|
+
PET_DRAG_LOCKED = 4,
|
3749
|
+
// (undocumented)
|
3351
3750
|
PET_HOVER_ENTER = 2,
|
3352
3751
|
// (undocumented)
|
3353
3752
|
PET_HOVER_LEAVE = 3,
|
@@ -3369,6 +3768,20 @@ export type PointerFilterType = 'none' | 'block';
|
|
3369
3768
|
// @public (undocumented)
|
3370
3769
|
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
3371
3770
|
|
3771
|
+
// @public (undocumented)
|
3772
|
+
export const enum PointerType {
|
3773
|
+
// (undocumented)
|
3774
|
+
POT_MOUSE = 1,
|
3775
|
+
// (undocumented)
|
3776
|
+
POT_NONE = 0,
|
3777
|
+
// (undocumented)
|
3778
|
+
POT_PAD = 2,
|
3779
|
+
// (undocumented)
|
3780
|
+
POT_TOUCH = 3,
|
3781
|
+
// (undocumented)
|
3782
|
+
POT_WAND = 4
|
3783
|
+
}
|
3784
|
+
|
3372
3785
|
// @public
|
3373
3786
|
export interface Position {
|
3374
3787
|
// (undocumented)
|
@@ -3390,6 +3803,9 @@ export type PositionType = 'absolute' | 'relative';
|
|
3390
3803
|
// @public
|
3391
3804
|
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
|
3392
3805
|
|
3806
|
+
// @public (undocumented)
|
3807
|
+
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
|
3808
|
+
|
3393
3809
|
// Warning: (ae-missing-release-tag) "ProcessMessageResultType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
3394
3810
|
//
|
3395
3811
|
// @public (undocumented)
|
@@ -3608,6 +4024,8 @@ export interface ReactBasedUiSystem {
|
|
3608
4024
|
// (undocumented)
|
3609
4025
|
destroy(): void;
|
3610
4026
|
// (undocumented)
|
4027
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4028
|
+
// (undocumented)
|
3611
4029
|
setUiRenderer(ui: UiComponent): void;
|
3612
4030
|
}
|
3613
4031
|
|
@@ -3847,12 +4265,50 @@ export namespace Schemas {
|
|
3847
4265
|
}) => void;
|
3848
4266
|
}
|
3849
4267
|
|
4268
|
+
// @public (undocumented)
|
4269
|
+
export interface ScrollPositionValue {
|
4270
|
+
// (undocumented)
|
4271
|
+
value?: {
|
4272
|
+
$case: "position";
|
4273
|
+
position: PBVector2;
|
4274
|
+
} | {
|
4275
|
+
$case: "reference";
|
4276
|
+
reference: string;
|
4277
|
+
} | undefined;
|
4278
|
+
}
|
4279
|
+
|
4280
|
+
// @public (undocumented)
|
4281
|
+
export namespace ScrollPositionValue {
|
4282
|
+
// (undocumented)
|
4283
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4284
|
+
// (undocumented)
|
4285
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4286
|
+
}
|
4287
|
+
|
4288
|
+
// @public
|
4289
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4290
|
+
|
4291
|
+
// @public (undocumented)
|
4292
|
+
export const enum ShowScrollBar {
|
4293
|
+
// (undocumented)
|
4294
|
+
SSB_BOTH = 0,
|
4295
|
+
// (undocumented)
|
4296
|
+
SSB_HIDDEN = 3,
|
4297
|
+
// (undocumented)
|
4298
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4299
|
+
// (undocumented)
|
4300
|
+
SSB_ONLY_VERTICAL = 1
|
4301
|
+
}
|
4302
|
+
|
3850
4303
|
// @public (undocumented)
|
3851
4304
|
export interface Spec {
|
3852
4305
|
// (undocumented)
|
3853
4306
|
[key: string]: ISchema;
|
3854
4307
|
}
|
3855
4308
|
|
4309
|
+
// @public (undocumented)
|
4310
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4311
|
+
|
3856
4312
|
// @alpha
|
3857
4313
|
export const SyncComponents: ISyncComponents;
|
3858
4314
|
|
@@ -3936,6 +4392,9 @@ export namespace Texture {
|
|
3936
4392
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
3937
4393
|
}
|
3938
4394
|
|
4395
|
+
// @public (undocumented)
|
4396
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4397
|
+
|
3939
4398
|
// @public (undocumented)
|
3940
4399
|
export const enum TextureFilterMode {
|
3941
4400
|
// (undocumented)
|
@@ -3998,6 +4457,9 @@ export interface TextureUnion {
|
|
3998
4457
|
} | {
|
3999
4458
|
$case: "videoTexture";
|
4000
4459
|
videoTexture: VideoTexture;
|
4460
|
+
} | {
|
4461
|
+
$case: "uiTexture";
|
4462
|
+
uiTexture: UiCanvasTexture;
|
4001
4463
|
} | undefined;
|
4002
4464
|
}
|
4003
4465
|
|
@@ -4081,7 +4543,7 @@ export type TransformTypeWithOptionals = Partial<TransformType>;
|
|
4081
4543
|
|
4082
4544
|
// @public (undocumented)
|
4083
4545
|
export type Transport = {
|
4084
|
-
send(message: Uint8Array
|
4546
|
+
send(message: Uint8Array): Promise<void>;
|
4085
4547
|
onmessage?(message: Uint8Array): void;
|
4086
4548
|
filter(message: Omit<TransportMessage, 'messageBuffer'>): boolean;
|
4087
4549
|
type?: string;
|
@@ -4168,6 +4630,7 @@ export interface UiBackgroundProps {
|
|
4168
4630
|
textureMode?: TextureMode;
|
4169
4631
|
textureSlices?: BorderRect | undefined;
|
4170
4632
|
uvs?: number[];
|
4633
|
+
videoTexture?: UiVideoTexture;
|
4171
4634
|
}
|
4172
4635
|
|
4173
4636
|
// @public
|
@@ -4176,9 +4639,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4176
4639
|
variant?: 'primary' | 'secondary';
|
4177
4640
|
}
|
4178
4641
|
|
4642
|
+
// @public (undocumented)
|
4643
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4644
|
+
|
4179
4645
|
// @public (undocumented)
|
4180
4646
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4181
4647
|
|
4648
|
+
// @public (undocumented)
|
4649
|
+
export interface UiCanvasTexture {
|
4650
|
+
filterMode?: TextureFilterMode | undefined;
|
4651
|
+
// (undocumented)
|
4652
|
+
uiCanvasEntity: number;
|
4653
|
+
wrapMode?: TextureWrapMode | undefined;
|
4654
|
+
}
|
4655
|
+
|
4656
|
+
// @public (undocumented)
|
4657
|
+
export namespace UiCanvasTexture {
|
4658
|
+
// (undocumented)
|
4659
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4660
|
+
// (undocumented)
|
4661
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4662
|
+
}
|
4663
|
+
|
4182
4664
|
// @public (undocumented)
|
4183
4665
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4184
4666
|
|
@@ -4233,6 +4715,8 @@ export interface UiLabelProps {
|
|
4233
4715
|
color?: PBColor4 | undefined;
|
4234
4716
|
font?: UiFontType | undefined;
|
4235
4717
|
fontSize?: ScaleUnit | undefined;
|
4718
|
+
outlineColor?: PBColor4 | undefined;
|
4719
|
+
outlineWidth?: number | undefined;
|
4236
4720
|
textAlign?: TextAlignType | undefined;
|
4237
4721
|
textWrap?: UiTextWrapType | undefined;
|
4238
4722
|
value: string;
|
@@ -4241,6 +4725,9 @@ export interface UiLabelProps {
|
|
4241
4725
|
// @public
|
4242
4726
|
export type uint32 = number;
|
4243
4727
|
|
4728
|
+
// @public (undocumented)
|
4729
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4730
|
+
|
4244
4731
|
// @public (undocumented)
|
4245
4732
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4246
4733
|
|
@@ -4263,6 +4750,7 @@ export interface UiTransformProps {
|
|
4263
4750
|
alignItems?: AlignType;
|
4264
4751
|
alignSelf?: AlignType;
|
4265
4752
|
display?: DisplayType;
|
4753
|
+
elementId?: string;
|
4266
4754
|
flex?: number;
|
4267
4755
|
flexBasis?: number;
|
4268
4756
|
flexDirection?: FlexDirectionType;
|
@@ -4276,12 +4764,26 @@ export interface UiTransformProps {
|
|
4276
4764
|
maxWidth?: PositionUnit;
|
4277
4765
|
minHeight?: PositionUnit;
|
4278
4766
|
minWidth?: PositionUnit;
|
4767
|
+
opacity?: number;
|
4279
4768
|
overflow?: OverflowType;
|
4280
4769
|
padding?: Partial<Position> | PositionShorthand;
|
4281
4770
|
pointerFilter?: PointerFilterType;
|
4282
4771
|
position?: Partial<Position> | PositionShorthand;
|
4283
4772
|
positionType?: PositionType;
|
4773
|
+
scrollPosition?: PBVector2 | string;
|
4774
|
+
scrollVisible?: ScrollVisibleType;
|
4284
4775
|
width?: PositionUnit | 'auto';
|
4776
|
+
zIndex?: number;
|
4777
|
+
}
|
4778
|
+
|
4779
|
+
// @public
|
4780
|
+
export interface UiVideoTexture {
|
4781
|
+
// (undocumented)
|
4782
|
+
filterMode?: TextureFilterType;
|
4783
|
+
// (undocumented)
|
4784
|
+
videoPlayerEntity: Entity;
|
4785
|
+
// (undocumented)
|
4786
|
+
wrapMode?: TextureWrapType;
|
4285
4787
|
}
|
4286
4788
|
|
4287
4789
|
// @public (undocumented)
|