@dcl/playground-assets 7.7.9 → 7.7.10-13856045106.commit-7f23e37
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 +787 -5
- package/dist/beta.d.ts +787 -5
- package/dist/index.bundled.d.ts +787 -5
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +787 -5
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +9029 -1093
- package/etc/playground-assets.api.md +504 -0
- 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>>;
|
@@ -1087,6 +1156,9 @@ export type EntityComponents = {
|
|
1087
1156
|
onMouseUp: Callback;
|
1088
1157
|
onMouseEnter: Callback;
|
1089
1158
|
onMouseLeave: Callback;
|
1159
|
+
onMouseDrag: Callback;
|
1160
|
+
onMouseDragLocked: Callback;
|
1161
|
+
onMouseDragEnd: Callback;
|
1090
1162
|
};
|
1091
1163
|
|
1092
1164
|
// @public (undocumented)
|
@@ -1190,6 +1262,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1190
1262
|
direction?: PBVector3;
|
1191
1263
|
};
|
1192
1264
|
|
1265
|
+
// @public (undocumented)
|
1266
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1267
|
+
|
1193
1268
|
// 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)
|
1194
1269
|
//
|
1195
1270
|
// @public (undocumented)
|
@@ -1208,6 +1283,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1208
1283
|
// @public (undocumented)
|
1209
1284
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1210
1285
|
|
1286
|
+
// @public (undocumented)
|
1287
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1288
|
+
|
1289
|
+
// @public (undocumented)
|
1290
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1291
|
+
|
1292
|
+
// @public (undocumented)
|
1293
|
+
export const enum GltfNodeStateValue {
|
1294
|
+
// (undocumented)
|
1295
|
+
GNSV_FAILED = 1,
|
1296
|
+
// (undocumented)
|
1297
|
+
GNSV_PENDING = 0,
|
1298
|
+
// (undocumented)
|
1299
|
+
GNSV_READY = 2
|
1300
|
+
}
|
1301
|
+
|
1211
1302
|
// @public (undocumented)
|
1212
1303
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1213
1304
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1559,12 +1650,18 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1559
1650
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1560
1651
|
}
|
1561
1652
|
|
1653
|
+
// @public (undocumented)
|
1654
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1655
|
+
|
1562
1656
|
// @public
|
1563
1657
|
export type Listeners = {
|
1564
1658
|
onMouseDown?: Callback;
|
1565
1659
|
onMouseUp?: Callback;
|
1566
1660
|
onMouseEnter?: Callback;
|
1567
1661
|
onMouseLeave?: Callback;
|
1662
|
+
onMouseDrag?: Callback;
|
1663
|
+
onMouseDragLocked?: Callback;
|
1664
|
+
onMouseDragEnd?: Callback;
|
1568
1665
|
};
|
1569
1666
|
|
1570
1667
|
// @public (undocumented)
|
@@ -1804,6 +1901,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1804
1901
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1805
1902
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1806
1903
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1904
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1807
1905
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1808
1906
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1809
1907
|
}
|
@@ -1817,6 +1915,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1817
1915
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1818
1916
|
setBox(entity: Entity, uvs?: number[]): void;
|
1819
1917
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1918
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1820
1919
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1821
1920
|
setSphere(entity: Entity): void;
|
1822
1921
|
}
|
@@ -2054,6 +2153,19 @@ export const onVideoEvent: Observable<{
|
|
2054
2153
|
totalVideoLength: number;
|
2055
2154
|
}>;
|
2056
2155
|
|
2156
|
+
// @public (undocumented)
|
2157
|
+
export interface Orthographic {
|
2158
|
+
verticalRange?: number | undefined;
|
2159
|
+
}
|
2160
|
+
|
2161
|
+
// @public (undocumented)
|
2162
|
+
export namespace Orthographic {
|
2163
|
+
// (undocumented)
|
2164
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
2165
|
+
// (undocumented)
|
2166
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
2167
|
+
}
|
2168
|
+
|
2057
2169
|
// @public
|
2058
2170
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2059
2171
|
|
@@ -2194,6 +2306,7 @@ export namespace PBAvatarEmoteCommand {
|
|
2194
2306
|
export interface PBAvatarEquippedData {
|
2195
2307
|
// (undocumented)
|
2196
2308
|
emoteUrns: string[];
|
2309
|
+
forceRender: string[];
|
2197
2310
|
// (undocumented)
|
2198
2311
|
wearableUrns: string[];
|
2199
2312
|
}
|
@@ -2211,6 +2324,9 @@ export interface PBAvatarModifierArea {
|
|
2211
2324
|
area: PBVector3 | undefined;
|
2212
2325
|
excludeIds: string[];
|
2213
2326
|
modifiers: AvatarModifierType[];
|
2327
|
+
// (undocumented)
|
2328
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2329
|
+
useColliderRange?: boolean | undefined;
|
2214
2330
|
}
|
2215
2331
|
|
2216
2332
|
// @public (undocumented)
|
@@ -2228,6 +2344,7 @@ export interface PBAvatarShape {
|
|
2228
2344
|
expressionTriggerId?: string | undefined;
|
2229
2345
|
expressionTriggerTimestamp?: number | undefined;
|
2230
2346
|
eyeColor?: PBColor3 | undefined;
|
2347
|
+
forceRender: string[];
|
2231
2348
|
hairColor?: PBColor3 | undefined;
|
2232
2349
|
id: string;
|
2233
2350
|
name?: string | undefined;
|
@@ -2257,6 +2374,42 @@ export namespace PBBillboard {
|
|
2257
2374
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2258
2375
|
}
|
2259
2376
|
|
2377
|
+
// @public (undocumented)
|
2378
|
+
export interface PBCameraLayer {
|
2379
|
+
// (undocumented)
|
2380
|
+
ambientBrightnessOverride?: number | undefined;
|
2381
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2382
|
+
ambientColorOverride?: PBColor3 | undefined;
|
2383
|
+
directionalLight?: boolean | undefined;
|
2384
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2385
|
+
layer: number;
|
2386
|
+
showAvatars?: boolean | undefined;
|
2387
|
+
showFog?: boolean | undefined;
|
2388
|
+
showSkybox?: boolean | undefined;
|
2389
|
+
}
|
2390
|
+
|
2391
|
+
// @public (undocumented)
|
2392
|
+
export namespace PBCameraLayer {
|
2393
|
+
// (undocumented)
|
2394
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
2395
|
+
// (undocumented)
|
2396
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
2397
|
+
}
|
2398
|
+
|
2399
|
+
// @public (undocumented)
|
2400
|
+
export interface PBCameraLayers {
|
2401
|
+
// (undocumented)
|
2402
|
+
layers: number[];
|
2403
|
+
}
|
2404
|
+
|
2405
|
+
// @public (undocumented)
|
2406
|
+
export namespace PBCameraLayers {
|
2407
|
+
// (undocumented)
|
2408
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
2409
|
+
// (undocumented)
|
2410
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
2411
|
+
}
|
2412
|
+
|
2260
2413
|
// @public (undocumented)
|
2261
2414
|
export interface PBCameraMode {
|
2262
2415
|
mode: CameraType;
|
@@ -2273,7 +2426,10 @@ export namespace PBCameraMode {
|
|
2273
2426
|
// @public (undocumented)
|
2274
2427
|
export interface PBCameraModeArea {
|
2275
2428
|
area: PBVector3 | undefined;
|
2429
|
+
// (undocumented)
|
2430
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2276
2431
|
mode: CameraType;
|
2432
|
+
useColliderRange?: boolean | undefined;
|
2277
2433
|
}
|
2278
2434
|
|
2279
2435
|
// @public (undocumented)
|
@@ -2337,6 +2493,21 @@ export namespace PBEngineInfo {
|
|
2337
2493
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2338
2494
|
}
|
2339
2495
|
|
2496
|
+
// @public (undocumented)
|
2497
|
+
export interface PBGlobalLight {
|
2498
|
+
ambientBrightness?: number | undefined;
|
2499
|
+
ambientColor?: PBColor3 | undefined;
|
2500
|
+
direction?: PBVector3 | undefined;
|
2501
|
+
}
|
2502
|
+
|
2503
|
+
// @public (undocumented)
|
2504
|
+
export namespace PBGlobalLight {
|
2505
|
+
// (undocumented)
|
2506
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2507
|
+
// (undocumented)
|
2508
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2509
|
+
}
|
2510
|
+
|
2340
2511
|
// @public (undocumented)
|
2341
2512
|
export interface PBGltfContainer {
|
2342
2513
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2354,8 +2525,13 @@ export namespace PBGltfContainer {
|
|
2354
2525
|
|
2355
2526
|
// @public (undocumented)
|
2356
2527
|
export interface PBGltfContainerLoadingState {
|
2528
|
+
animationNames: string[];
|
2357
2529
|
// (undocumented)
|
2358
2530
|
currentState: LoadingState;
|
2531
|
+
materialNames: string[];
|
2532
|
+
meshNames: string[];
|
2533
|
+
nodePaths: string[];
|
2534
|
+
skinNames: string[];
|
2359
2535
|
}
|
2360
2536
|
|
2361
2537
|
// @public (undocumented)
|
@@ -2366,6 +2542,35 @@ export namespace PBGltfContainerLoadingState {
|
|
2366
2542
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2367
2543
|
}
|
2368
2544
|
|
2545
|
+
// @public (undocumented)
|
2546
|
+
export interface PBGltfNode {
|
2547
|
+
path: string;
|
2548
|
+
}
|
2549
|
+
|
2550
|
+
// @public (undocumented)
|
2551
|
+
export namespace PBGltfNode {
|
2552
|
+
// (undocumented)
|
2553
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2554
|
+
// (undocumented)
|
2555
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2556
|
+
}
|
2557
|
+
|
2558
|
+
// @public (undocumented)
|
2559
|
+
export interface PBGltfNodeState {
|
2560
|
+
// (undocumented)
|
2561
|
+
error?: string | undefined;
|
2562
|
+
// (undocumented)
|
2563
|
+
state: GltfNodeStateValue;
|
2564
|
+
}
|
2565
|
+
|
2566
|
+
// @public (undocumented)
|
2567
|
+
export namespace PBGltfNodeState {
|
2568
|
+
// (undocumented)
|
2569
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2570
|
+
// (undocumented)
|
2571
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2572
|
+
}
|
2573
|
+
|
2369
2574
|
// @public (undocumented)
|
2370
2575
|
export interface PBInputModifier {
|
2371
2576
|
// (undocumented)
|
@@ -2407,6 +2612,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2407
2612
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2408
2613
|
}
|
2409
2614
|
|
2615
|
+
// @public (undocumented)
|
2616
|
+
export interface PBLight {
|
2617
|
+
color?: PBColor3 | undefined;
|
2618
|
+
enabled?: boolean | undefined;
|
2619
|
+
illuminance?: number | undefined;
|
2620
|
+
shadows?: boolean | undefined;
|
2621
|
+
}
|
2622
|
+
|
2623
|
+
// @public (undocumented)
|
2624
|
+
export namespace PBLight {
|
2625
|
+
// (undocumented)
|
2626
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
2627
|
+
// (undocumented)
|
2628
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
2629
|
+
}
|
2630
|
+
|
2410
2631
|
// @public (undocumented)
|
2411
2632
|
export interface PBMainCamera {
|
2412
2633
|
virtualCameraEntity?: number | undefined;
|
@@ -2422,6 +2643,7 @@ export namespace PBMainCamera {
|
|
2422
2643
|
|
2423
2644
|
// @public (undocumented)
|
2424
2645
|
export interface PBMaterial {
|
2646
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2425
2647
|
// (undocumented)
|
2426
2648
|
material?: {
|
2427
2649
|
$case: "unlit";
|
@@ -2440,6 +2662,22 @@ export namespace PBMaterial {
|
|
2440
2662
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2441
2663
|
}
|
2442
2664
|
|
2665
|
+
// @public (undocumented)
|
2666
|
+
export interface PBMaterial_GltfMaterial {
|
2667
|
+
// (undocumented)
|
2668
|
+
gltfSrc: string;
|
2669
|
+
// (undocumented)
|
2670
|
+
name: string;
|
2671
|
+
}
|
2672
|
+
|
2673
|
+
// @public (undocumented)
|
2674
|
+
export namespace PBMaterial_GltfMaterial {
|
2675
|
+
// (undocumented)
|
2676
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2677
|
+
// (undocumented)
|
2678
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2679
|
+
}
|
2680
|
+
|
2443
2681
|
// @public (undocumented)
|
2444
2682
|
export interface PBMaterial_PbrMaterial {
|
2445
2683
|
albedoColor?: PBColor4 | undefined;
|
@@ -2501,6 +2739,9 @@ export interface PBMeshCollider {
|
|
2501
2739
|
} | {
|
2502
2740
|
$case: "plane";
|
2503
2741
|
plane: PBMeshCollider_PlaneMesh;
|
2742
|
+
} | {
|
2743
|
+
$case: "gltf";
|
2744
|
+
gltf: PBMeshCollider_GltfMesh;
|
2504
2745
|
} | undefined;
|
2505
2746
|
}
|
2506
2747
|
|
@@ -2538,6 +2779,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2538
2779
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2539
2780
|
}
|
2540
2781
|
|
2782
|
+
// @public (undocumented)
|
2783
|
+
export interface PBMeshCollider_GltfMesh {
|
2784
|
+
gltfSrc: string;
|
2785
|
+
name: string;
|
2786
|
+
}
|
2787
|
+
|
2788
|
+
// @public (undocumented)
|
2789
|
+
export namespace PBMeshCollider_GltfMesh {
|
2790
|
+
// (undocumented)
|
2791
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2792
|
+
// (undocumented)
|
2793
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2794
|
+
}
|
2795
|
+
|
2541
2796
|
// @public (undocumented)
|
2542
2797
|
export interface PBMeshCollider_PlaneMesh {
|
2543
2798
|
}
|
@@ -2577,6 +2832,9 @@ export interface PBMeshRenderer {
|
|
2577
2832
|
} | {
|
2578
2833
|
$case: "plane";
|
2579
2834
|
plane: PBMeshRenderer_PlaneMesh;
|
2835
|
+
} | {
|
2836
|
+
$case: "gltf";
|
2837
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2580
2838
|
} | undefined;
|
2581
2839
|
}
|
2582
2840
|
|
@@ -2615,6 +2873,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2615
2873
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2616
2874
|
}
|
2617
2875
|
|
2876
|
+
// @public (undocumented)
|
2877
|
+
export interface PBMeshRenderer_GltfMesh {
|
2878
|
+
gltfSrc: string;
|
2879
|
+
name: string;
|
2880
|
+
}
|
2881
|
+
|
2882
|
+
// @public (undocumented)
|
2883
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2884
|
+
// (undocumented)
|
2885
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2886
|
+
// (undocumented)
|
2887
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2888
|
+
}
|
2889
|
+
|
2618
2890
|
// @public (undocumented)
|
2619
2891
|
export interface PBMeshRenderer_PlaneMesh {
|
2620
2892
|
uvs: number[];
|
@@ -2765,6 +3037,23 @@ export namespace PBPosition {
|
|
2765
3037
|
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
2766
3038
|
}
|
2767
3039
|
|
3040
|
+
// @public (undocumented)
|
3041
|
+
export interface PBPrimaryPointerInfo {
|
3042
|
+
// (undocumented)
|
3043
|
+
pointerType?: PointerType | undefined;
|
3044
|
+
screenCoordinates?: PBVector2 | undefined;
|
3045
|
+
screenDelta?: PBVector2 | undefined;
|
3046
|
+
worldRayDirection?: PBVector3 | undefined;
|
3047
|
+
}
|
3048
|
+
|
3049
|
+
// @public (undocumented)
|
3050
|
+
export namespace PBPrimaryPointerInfo {
|
3051
|
+
// (undocumented)
|
3052
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
|
3053
|
+
// (undocumented)
|
3054
|
+
export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
|
3055
|
+
}
|
3056
|
+
|
2768
3057
|
// @public (undocumented)
|
2769
3058
|
export interface PBQuaternion {
|
2770
3059
|
// (undocumented)
|
@@ -2860,6 +3149,21 @@ export namespace PBRealmInfo {
|
|
2860
3149
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2861
3150
|
}
|
2862
3151
|
|
3152
|
+
// @public (undocumented)
|
3153
|
+
export interface PBSpotlight {
|
3154
|
+
angle: number;
|
3155
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3156
|
+
innerAngle?: number | undefined;
|
3157
|
+
}
|
3158
|
+
|
3159
|
+
// @public (undocumented)
|
3160
|
+
export namespace PBSpotlight {
|
3161
|
+
// (undocumented)
|
3162
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
3163
|
+
// (undocumented)
|
3164
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
3165
|
+
}
|
3166
|
+
|
2863
3167
|
// @public (undocumented)
|
2864
3168
|
export interface PBTextShape {
|
2865
3169
|
font?: Font | undefined;
|
@@ -2893,6 +3197,31 @@ export namespace PBTextShape {
|
|
2893
3197
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
2894
3198
|
}
|
2895
3199
|
|
3200
|
+
// @public (undocumented)
|
3201
|
+
export interface PBTextureCamera {
|
3202
|
+
clearColor?: PBColor4 | undefined;
|
3203
|
+
farPlane?: number | undefined;
|
3204
|
+
height?: number | undefined;
|
3205
|
+
layer?: number | undefined;
|
3206
|
+
// (undocumented)
|
3207
|
+
mode?: {
|
3208
|
+
$case: "perspective";
|
3209
|
+
perspective: Perspective;
|
3210
|
+
} | {
|
3211
|
+
$case: "orthographic";
|
3212
|
+
orthographic: Orthographic;
|
3213
|
+
} | undefined;
|
3214
|
+
width?: number | undefined;
|
3215
|
+
}
|
3216
|
+
|
3217
|
+
// @public (undocumented)
|
3218
|
+
export namespace PBTextureCamera {
|
3219
|
+
// (undocumented)
|
3220
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
3221
|
+
// (undocumented)
|
3222
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
3223
|
+
}
|
3224
|
+
|
2896
3225
|
// @public (undocumented)
|
2897
3226
|
export interface PBTween {
|
2898
3227
|
currentTime?: number | undefined;
|
@@ -2974,6 +3303,23 @@ export namespace PBUiBackground {
|
|
2974
3303
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2975
3304
|
}
|
2976
3305
|
|
3306
|
+
// @public (undocumented)
|
3307
|
+
export interface PBUiCanvas {
|
3308
|
+
color?: PBColor4 | undefined;
|
3309
|
+
// (undocumented)
|
3310
|
+
height: number;
|
3311
|
+
// (undocumented)
|
3312
|
+
width: number;
|
3313
|
+
}
|
3314
|
+
|
3315
|
+
// @public (undocumented)
|
3316
|
+
export namespace PBUiCanvas {
|
3317
|
+
// (undocumented)
|
3318
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3319
|
+
// (undocumented)
|
3320
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3321
|
+
}
|
3322
|
+
|
2977
3323
|
// @public (undocumented)
|
2978
3324
|
export interface PBUiCanvasInformation {
|
2979
3325
|
devicePixelRatio: number;
|
@@ -3067,11 +3413,27 @@ export namespace PBUiInputResult {
|
|
3067
3413
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3068
3414
|
}
|
3069
3415
|
|
3416
|
+
// @public (undocumented)
|
3417
|
+
export interface PBUiScrollResult {
|
3418
|
+
// (undocumented)
|
3419
|
+
value: PBVector2 | undefined;
|
3420
|
+
}
|
3421
|
+
|
3422
|
+
// @public (undocumented)
|
3423
|
+
export namespace PBUiScrollResult {
|
3424
|
+
// (undocumented)
|
3425
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3426
|
+
// (undocumented)
|
3427
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3428
|
+
}
|
3429
|
+
|
3070
3430
|
// @public (undocumented)
|
3071
3431
|
export interface PBUiText {
|
3072
3432
|
color?: PBColor4 | undefined;
|
3073
3433
|
font?: Font | undefined;
|
3074
3434
|
fontSize?: number | undefined;
|
3435
|
+
outlineColor?: PBColor4 | undefined;
|
3436
|
+
outlineWidth?: number | undefined;
|
3075
3437
|
textAlign?: TextAlignMode | undefined;
|
3076
3438
|
textWrap?: TextWrap | undefined;
|
3077
3439
|
value: string;
|
@@ -3091,6 +3453,7 @@ export interface PBUiTransform {
|
|
3091
3453
|
alignItems?: YGAlign | undefined;
|
3092
3454
|
alignSelf: YGAlign;
|
3093
3455
|
display: YGDisplay;
|
3456
|
+
elementId?: string | undefined;
|
3094
3457
|
// (undocumented)
|
3095
3458
|
flexBasis: number;
|
3096
3459
|
flexBasisUnit: YGUnit;
|
@@ -3127,6 +3490,7 @@ export interface PBUiTransform {
|
|
3127
3490
|
// (undocumented)
|
3128
3491
|
minWidth: number;
|
3129
3492
|
minWidthUnit: YGUnit;
|
3493
|
+
opacity?: number | undefined;
|
3130
3494
|
overflow: YGOverflow;
|
3131
3495
|
// (undocumented)
|
3132
3496
|
paddingBottom: number;
|
@@ -3158,9 +3522,12 @@ export interface PBUiTransform {
|
|
3158
3522
|
positionType: YGPositionType;
|
3159
3523
|
// (undocumented)
|
3160
3524
|
rightOf: number;
|
3525
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3526
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3161
3527
|
// (undocumented)
|
3162
3528
|
width: number;
|
3163
3529
|
widthUnit: YGUnit;
|
3530
|
+
zIndex?: number | undefined;
|
3164
3531
|
}
|
3165
3532
|
|
3166
3533
|
// @public (undocumented)
|
@@ -3272,6 +3639,19 @@ export namespace PBVisibilityComponent {
|
|
3272
3639
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3273
3640
|
}
|
3274
3641
|
|
3642
|
+
// @public (undocumented)
|
3643
|
+
export interface Perspective {
|
3644
|
+
fieldOfView?: number | undefined;
|
3645
|
+
}
|
3646
|
+
|
3647
|
+
// @public (undocumented)
|
3648
|
+
export namespace Perspective {
|
3649
|
+
// (undocumented)
|
3650
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
3651
|
+
// (undocumented)
|
3652
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
3653
|
+
}
|
3654
|
+
|
3275
3655
|
// @public
|
3276
3656
|
export namespace Plane {
|
3277
3657
|
// (undocumented)
|
@@ -3323,6 +3703,18 @@ export interface PointerEventsSystem {
|
|
3323
3703
|
}, cb: EventSystemCallback): void;
|
3324
3704
|
// @deprecated (undocumented)
|
3325
3705
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3706
|
+
onPointerDrag(pointerData: {
|
3707
|
+
entity: Entity;
|
3708
|
+
opts?: Partial<EventSystemOptions>;
|
3709
|
+
}, cb: EventSystemCallback): void;
|
3710
|
+
onPointerDragEnd(pointerData: {
|
3711
|
+
entity: Entity;
|
3712
|
+
opts?: Partial<EventSystemOptions>;
|
3713
|
+
}, cb: EventSystemCallback): void;
|
3714
|
+
onPointerDragLocked(pointerData: {
|
3715
|
+
entity: Entity;
|
3716
|
+
opts?: Partial<EventSystemOptions>;
|
3717
|
+
}, cb: EventSystemCallback): void;
|
3326
3718
|
onPointerHoverEnter(pointerData: {
|
3327
3719
|
entity: Entity;
|
3328
3720
|
opts?: Partial<EventSystemOptions>;
|
@@ -3338,6 +3730,9 @@ export interface PointerEventsSystem {
|
|
3338
3730
|
// @deprecated (undocumented)
|
3339
3731
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3340
3732
|
removeOnPointerDown(entity: Entity): void;
|
3733
|
+
removeOnPointerDrag(entity: Entity): void;
|
3734
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
3735
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
3341
3736
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3342
3737
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3343
3738
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3351,6 +3746,12 @@ export const enum PointerEventType {
|
|
3351
3746
|
// (undocumented)
|
3352
3747
|
PET_DOWN = 1,
|
3353
3748
|
// (undocumented)
|
3749
|
+
PET_DRAG = 5,
|
3750
|
+
// (undocumented)
|
3751
|
+
PET_DRAG_END = 6,
|
3752
|
+
// (undocumented)
|
3753
|
+
PET_DRAG_LOCKED = 4,
|
3754
|
+
// (undocumented)
|
3354
3755
|
PET_HOVER_ENTER = 2,
|
3355
3756
|
// (undocumented)
|
3356
3757
|
PET_HOVER_LEAVE = 3,
|
@@ -3372,6 +3773,20 @@ export type PointerFilterType = 'none' | 'block';
|
|
3372
3773
|
// @public (undocumented)
|
3373
3774
|
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
3374
3775
|
|
3776
|
+
// @public (undocumented)
|
3777
|
+
export const enum PointerType {
|
3778
|
+
// (undocumented)
|
3779
|
+
POT_MOUSE = 1,
|
3780
|
+
// (undocumented)
|
3781
|
+
POT_NONE = 0,
|
3782
|
+
// (undocumented)
|
3783
|
+
POT_PAD = 2,
|
3784
|
+
// (undocumented)
|
3785
|
+
POT_TOUCH = 3,
|
3786
|
+
// (undocumented)
|
3787
|
+
POT_WAND = 4
|
3788
|
+
}
|
3789
|
+
|
3375
3790
|
// @public
|
3376
3791
|
export interface Position {
|
3377
3792
|
// (undocumented)
|
@@ -3393,6 +3808,9 @@ export type PositionType = 'absolute' | 'relative';
|
|
3393
3808
|
// @public
|
3394
3809
|
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
|
3395
3810
|
|
3811
|
+
// @public (undocumented)
|
3812
|
+
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
|
3813
|
+
|
3396
3814
|
// 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)
|
3397
3815
|
//
|
3398
3816
|
// @public (undocumented)
|
@@ -3611,6 +4029,8 @@ export interface ReactBasedUiSystem {
|
|
3611
4029
|
// (undocumented)
|
3612
4030
|
destroy(): void;
|
3613
4031
|
// (undocumented)
|
4032
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4033
|
+
// (undocumented)
|
3614
4034
|
setUiRenderer(ui: UiComponent): void;
|
3615
4035
|
}
|
3616
4036
|
|
@@ -3850,12 +4270,50 @@ export namespace Schemas {
|
|
3850
4270
|
}) => void;
|
3851
4271
|
}
|
3852
4272
|
|
4273
|
+
// @public (undocumented)
|
4274
|
+
export interface ScrollPositionValue {
|
4275
|
+
// (undocumented)
|
4276
|
+
value?: {
|
4277
|
+
$case: "position";
|
4278
|
+
position: PBVector2;
|
4279
|
+
} | {
|
4280
|
+
$case: "reference";
|
4281
|
+
reference: string;
|
4282
|
+
} | undefined;
|
4283
|
+
}
|
4284
|
+
|
4285
|
+
// @public (undocumented)
|
4286
|
+
export namespace ScrollPositionValue {
|
4287
|
+
// (undocumented)
|
4288
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4289
|
+
// (undocumented)
|
4290
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4291
|
+
}
|
4292
|
+
|
4293
|
+
// @public
|
4294
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4295
|
+
|
4296
|
+
// @public (undocumented)
|
4297
|
+
export const enum ShowScrollBar {
|
4298
|
+
// (undocumented)
|
4299
|
+
SSB_BOTH = 0,
|
4300
|
+
// (undocumented)
|
4301
|
+
SSB_HIDDEN = 3,
|
4302
|
+
// (undocumented)
|
4303
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4304
|
+
// (undocumented)
|
4305
|
+
SSB_ONLY_VERTICAL = 1
|
4306
|
+
}
|
4307
|
+
|
3853
4308
|
// @public (undocumented)
|
3854
4309
|
export interface Spec {
|
3855
4310
|
// (undocumented)
|
3856
4311
|
[key: string]: ISchema;
|
3857
4312
|
}
|
3858
4313
|
|
4314
|
+
// @public (undocumented)
|
4315
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4316
|
+
|
3859
4317
|
// @alpha
|
3860
4318
|
export const SyncComponents: ISyncComponents;
|
3861
4319
|
|
@@ -3939,6 +4397,9 @@ export namespace Texture {
|
|
3939
4397
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
3940
4398
|
}
|
3941
4399
|
|
4400
|
+
// @public (undocumented)
|
4401
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4402
|
+
|
3942
4403
|
// @public (undocumented)
|
3943
4404
|
export const enum TextureFilterMode {
|
3944
4405
|
// (undocumented)
|
@@ -4001,6 +4462,9 @@ export interface TextureUnion {
|
|
4001
4462
|
} | {
|
4002
4463
|
$case: "videoTexture";
|
4003
4464
|
videoTexture: VideoTexture;
|
4465
|
+
} | {
|
4466
|
+
$case: "uiTexture";
|
4467
|
+
uiTexture: UiCanvasTexture;
|
4004
4468
|
} | undefined;
|
4005
4469
|
}
|
4006
4470
|
|
@@ -4171,6 +4635,7 @@ export interface UiBackgroundProps {
|
|
4171
4635
|
textureMode?: TextureMode;
|
4172
4636
|
textureSlices?: BorderRect | undefined;
|
4173
4637
|
uvs?: number[];
|
4638
|
+
videoTexture?: UiVideoTexture;
|
4174
4639
|
}
|
4175
4640
|
|
4176
4641
|
// @public
|
@@ -4179,9 +4644,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4179
4644
|
variant?: 'primary' | 'secondary';
|
4180
4645
|
}
|
4181
4646
|
|
4647
|
+
// @public (undocumented)
|
4648
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4649
|
+
|
4182
4650
|
// @public (undocumented)
|
4183
4651
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4184
4652
|
|
4653
|
+
// @public (undocumented)
|
4654
|
+
export interface UiCanvasTexture {
|
4655
|
+
filterMode?: TextureFilterMode | undefined;
|
4656
|
+
// (undocumented)
|
4657
|
+
uiCanvasEntity: number;
|
4658
|
+
wrapMode?: TextureWrapMode | undefined;
|
4659
|
+
}
|
4660
|
+
|
4661
|
+
// @public (undocumented)
|
4662
|
+
export namespace UiCanvasTexture {
|
4663
|
+
// (undocumented)
|
4664
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4665
|
+
// (undocumented)
|
4666
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4667
|
+
}
|
4668
|
+
|
4185
4669
|
// @public (undocumented)
|
4186
4670
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4187
4671
|
|
@@ -4236,6 +4720,8 @@ export interface UiLabelProps {
|
|
4236
4720
|
color?: PBColor4 | undefined;
|
4237
4721
|
font?: UiFontType | undefined;
|
4238
4722
|
fontSize?: ScaleUnit | undefined;
|
4723
|
+
outlineColor?: PBColor4 | undefined;
|
4724
|
+
outlineWidth?: number | undefined;
|
4239
4725
|
textAlign?: TextAlignType | undefined;
|
4240
4726
|
textWrap?: UiTextWrapType | undefined;
|
4241
4727
|
value: string;
|
@@ -4244,6 +4730,9 @@ export interface UiLabelProps {
|
|
4244
4730
|
// @public
|
4245
4731
|
export type uint32 = number;
|
4246
4732
|
|
4733
|
+
// @public (undocumented)
|
4734
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4735
|
+
|
4247
4736
|
// @public (undocumented)
|
4248
4737
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4249
4738
|
|
@@ -4266,6 +4755,7 @@ export interface UiTransformProps {
|
|
4266
4755
|
alignItems?: AlignType;
|
4267
4756
|
alignSelf?: AlignType;
|
4268
4757
|
display?: DisplayType;
|
4758
|
+
elementId?: string;
|
4269
4759
|
flex?: number;
|
4270
4760
|
flexBasis?: number;
|
4271
4761
|
flexDirection?: FlexDirectionType;
|
@@ -4279,12 +4769,26 @@ export interface UiTransformProps {
|
|
4279
4769
|
maxWidth?: PositionUnit;
|
4280
4770
|
minHeight?: PositionUnit;
|
4281
4771
|
minWidth?: PositionUnit;
|
4772
|
+
opacity?: number;
|
4282
4773
|
overflow?: OverflowType;
|
4283
4774
|
padding?: Partial<Position> | PositionShorthand;
|
4284
4775
|
pointerFilter?: PointerFilterType;
|
4285
4776
|
position?: Partial<Position> | PositionShorthand;
|
4286
4777
|
positionType?: PositionType;
|
4778
|
+
scrollPosition?: PBVector2 | string;
|
4779
|
+
scrollVisible?: ScrollVisibleType;
|
4287
4780
|
width?: PositionUnit | 'auto';
|
4781
|
+
zIndex?: number;
|
4782
|
+
}
|
4783
|
+
|
4784
|
+
// @public
|
4785
|
+
export interface UiVideoTexture {
|
4786
|
+
// (undocumented)
|
4787
|
+
filterMode?: TextureFilterType;
|
4788
|
+
// (undocumented)
|
4789
|
+
videoPlayerEntity: Entity;
|
4790
|
+
// (undocumented)
|
4791
|
+
wrapMode?: TextureWrapType;
|
4288
4792
|
}
|
4289
4793
|
|
4290
4794
|
// @public (undocumented)
|