@dcl/playground-assets 7.8.2-14265125083.commit-3001941 → 7.8.2-14334528763.commit-878b184
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 +18 -815
- package/dist/beta.d.ts +18 -815
- package/dist/index.bundled.d.ts +18 -815
- 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 +18 -815
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +2303 -10145
- package/etc/playground-assets.api.md +20 -534
- package/package.json +4 -4
@@ -136,31 +136,11 @@ 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
|
-
|
146
139
|
// @public (undocumented)
|
147
140
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
148
141
|
|
149
|
-
// 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)
|
150
|
-
//
|
151
|
-
// @public (undocumented)
|
152
|
-
export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
|
153
|
-
|
154
142
|
// @public (undocumented)
|
155
|
-
export
|
156
|
-
}
|
157
|
-
|
158
|
-
// Warning: (ae-missing-release-tag) "AvatarEquippedDataType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
159
|
-
//
|
160
|
-
// @public (undocumented)
|
161
|
-
export type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
162
|
-
forceRender?: string[] | undefined;
|
163
|
-
};
|
143
|
+
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
164
144
|
|
165
145
|
// @public (undocumented)
|
166
146
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
@@ -172,42 +152,7 @@ export const enum AvatarModifierType {
|
|
172
152
|
}
|
173
153
|
|
174
154
|
// @public (undocumented)
|
175
|
-
export
|
176
|
-
allowWeightedMovement?: boolean | undefined;
|
177
|
-
// (undocumented)
|
178
|
-
controlMode?: AvatarControlType | undefined;
|
179
|
-
friction?: number | undefined;
|
180
|
-
gravity?: number | undefined;
|
181
|
-
jumpHeight?: number | undefined;
|
182
|
-
maxFallSpeed?: number | undefined;
|
183
|
-
runSpeed?: number | undefined;
|
184
|
-
turnSpeed?: number | undefined;
|
185
|
-
walkSpeed?: number | undefined;
|
186
|
-
}
|
187
|
-
|
188
|
-
// @public (undocumented)
|
189
|
-
export namespace AvatarMovementSettings {
|
190
|
-
// (undocumented)
|
191
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
192
|
-
// (undocumented)
|
193
|
-
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
194
|
-
}
|
195
|
-
|
196
|
-
// 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)
|
197
|
-
//
|
198
|
-
// @public (undocumented)
|
199
|
-
export const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
200
|
-
|
201
|
-
// @public (undocumented)
|
202
|
-
export interface AvatarShapeComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<AvatarShapeType> {
|
203
|
-
}
|
204
|
-
|
205
|
-
// Warning: (ae-missing-release-tag) "AvatarShapeType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
206
|
-
//
|
207
|
-
// @public (undocumented)
|
208
|
-
export type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
209
|
-
forceRender?: string[] | undefined;
|
210
|
-
};
|
155
|
+
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
211
156
|
|
212
157
|
// @public (undocumented)
|
213
158
|
export interface AvatarTexture {
|
@@ -414,12 +359,6 @@ export interface ByteBuffer {
|
|
414
359
|
// @public
|
415
360
|
export type Callback = () => void;
|
416
361
|
|
417
|
-
// @public (undocumented)
|
418
|
-
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
419
|
-
|
420
|
-
// @public (undocumented)
|
421
|
-
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
422
|
-
|
423
362
|
// @public (undocumented)
|
424
363
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
425
364
|
|
@@ -468,29 +407,6 @@ export const enum CameraType {
|
|
468
407
|
// @public (undocumented)
|
469
408
|
export type Children = ReactEcs.JSX.ReactNode;
|
470
409
|
|
471
|
-
// @public (undocumented)
|
472
|
-
export interface CinematicSettings {
|
473
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
474
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
475
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
476
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
477
|
-
allowManualRotation?: boolean | undefined;
|
478
|
-
cameraEntity: number;
|
479
|
-
pitchRange?: number | undefined;
|
480
|
-
rollRange?: number | undefined;
|
481
|
-
yawRange?: number | undefined;
|
482
|
-
zoomMax?: number | undefined;
|
483
|
-
zoomMin?: number | undefined;
|
484
|
-
}
|
485
|
-
|
486
|
-
// @public (undocumented)
|
487
|
-
export namespace CinematicSettings {
|
488
|
-
// (undocumented)
|
489
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
490
|
-
// (undocumented)
|
491
|
-
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
492
|
-
}
|
493
|
-
|
494
410
|
// @public (undocumented)
|
495
411
|
export const enum ColliderLayer {
|
496
412
|
// (undocumented)
|
@@ -717,18 +633,12 @@ export const componentDefinitionByName: {
|
|
717
633
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
718
634
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
719
635
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
720
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
721
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
722
636
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
723
637
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
724
638
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
725
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
726
639
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
727
640
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
728
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
729
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
730
641
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
731
|
-
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
732
642
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
733
643
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
734
644
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -738,24 +648,19 @@ export const componentDefinitionByName: {
|
|
738
648
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
739
649
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
740
650
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
741
|
-
"core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
|
742
651
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
743
652
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
744
653
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
745
|
-
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
746
654
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
747
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
748
655
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
749
656
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
750
657
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
751
658
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
752
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
753
659
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
754
660
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
755
661
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
756
662
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
757
663
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
758
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
759
664
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
760
665
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
761
666
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1194,9 +1099,6 @@ export type EntityComponents = {
|
|
1194
1099
|
onMouseUp: Callback;
|
1195
1100
|
onMouseEnter: Callback;
|
1196
1101
|
onMouseLeave: Callback;
|
1197
|
-
onMouseDrag: Callback;
|
1198
|
-
onMouseDragLocked: Callback;
|
1199
|
-
onMouseDragEnd: Callback;
|
1200
1102
|
};
|
1201
1103
|
|
1202
1104
|
// @public (undocumented)
|
@@ -1300,9 +1202,6 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1300
1202
|
direction?: PBVector3;
|
1301
1203
|
};
|
1302
1204
|
|
1303
|
-
// @public (undocumented)
|
1304
|
-
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1305
|
-
|
1306
1205
|
// 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)
|
1307
1206
|
//
|
1308
1207
|
// @public (undocumented)
|
@@ -1321,22 +1220,6 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1321
1220
|
// @public (undocumented)
|
1322
1221
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1323
1222
|
|
1324
|
-
// @public (undocumented)
|
1325
|
-
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1326
|
-
|
1327
|
-
// @public (undocumented)
|
1328
|
-
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1329
|
-
|
1330
|
-
// @public (undocumented)
|
1331
|
-
export const enum GltfNodeStateValue {
|
1332
|
-
// (undocumented)
|
1333
|
-
GNSV_FAILED = 1,
|
1334
|
-
// (undocumented)
|
1335
|
-
GNSV_PENDING = 0,
|
1336
|
-
// (undocumented)
|
1337
|
-
GNSV_READY = 2
|
1338
|
-
}
|
1339
|
-
|
1340
1223
|
// @public (undocumented)
|
1341
1224
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1342
1225
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1688,18 +1571,12 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1688
1571
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1689
1572
|
}
|
1690
1573
|
|
1691
|
-
// @public (undocumented)
|
1692
|
-
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1693
|
-
|
1694
1574
|
// @public
|
1695
1575
|
export type Listeners = {
|
1696
1576
|
onMouseDown?: Callback;
|
1697
1577
|
onMouseUp?: Callback;
|
1698
1578
|
onMouseEnter?: Callback;
|
1699
1579
|
onMouseLeave?: Callback;
|
1700
|
-
onMouseDrag?: Callback;
|
1701
|
-
onMouseDragLocked?: Callback;
|
1702
|
-
onMouseDragEnd?: Callback;
|
1703
1580
|
};
|
1704
1581
|
|
1705
1582
|
// @public (undocumented)
|
@@ -1939,7 +1816,6 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1939
1816
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1940
1817
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1941
1818
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1942
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1943
1819
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1944
1820
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1945
1821
|
}
|
@@ -1953,7 +1829,6 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1953
1829
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1954
1830
|
setBox(entity: Entity, uvs?: number[]): void;
|
1955
1831
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1956
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1957
1832
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1958
1833
|
setSphere(entity: Entity): void;
|
1959
1834
|
}
|
@@ -2191,19 +2066,6 @@ export const onVideoEvent: Observable<{
|
|
2191
2066
|
totalVideoLength: number;
|
2192
2067
|
}>;
|
2193
2068
|
|
2194
|
-
// @public (undocumented)
|
2195
|
-
export interface Orthographic {
|
2196
|
-
verticalRange?: number | undefined;
|
2197
|
-
}
|
2198
|
-
|
2199
|
-
// @public (undocumented)
|
2200
|
-
export namespace Orthographic {
|
2201
|
-
// (undocumented)
|
2202
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
2203
|
-
// (undocumented)
|
2204
|
-
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
2205
|
-
}
|
2206
|
-
|
2207
2069
|
// @public
|
2208
2070
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2209
2071
|
|
@@ -2344,7 +2206,6 @@ export namespace PBAvatarEmoteCommand {
|
|
2344
2206
|
export interface PBAvatarEquippedData {
|
2345
2207
|
// (undocumented)
|
2346
2208
|
emoteUrns: string[];
|
2347
|
-
forceRender: string[];
|
2348
2209
|
// (undocumented)
|
2349
2210
|
wearableUrns: string[];
|
2350
2211
|
}
|
@@ -2362,9 +2223,6 @@ export interface PBAvatarModifierArea {
|
|
2362
2223
|
area: PBVector3 | undefined;
|
2363
2224
|
excludeIds: string[];
|
2364
2225
|
modifiers: AvatarModifierType[];
|
2365
|
-
// (undocumented)
|
2366
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
2367
|
-
useColliderRange?: boolean | undefined;
|
2368
2226
|
}
|
2369
2227
|
|
2370
2228
|
// @public (undocumented)
|
@@ -2382,7 +2240,6 @@ export interface PBAvatarShape {
|
|
2382
2240
|
expressionTriggerId?: string | undefined;
|
2383
2241
|
expressionTriggerTimestamp?: number | undefined;
|
2384
2242
|
eyeColor?: PBColor3 | undefined;
|
2385
|
-
forceRender: string[];
|
2386
2243
|
hairColor?: PBColor3 | undefined;
|
2387
2244
|
id: string;
|
2388
2245
|
name?: string | undefined;
|
@@ -2412,42 +2269,6 @@ export namespace PBBillboard {
|
|
2412
2269
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2413
2270
|
}
|
2414
2271
|
|
2415
|
-
// @public (undocumented)
|
2416
|
-
export interface PBCameraLayer {
|
2417
|
-
// (undocumented)
|
2418
|
-
ambientBrightnessOverride?: number | undefined;
|
2419
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2420
|
-
ambientColorOverride?: PBColor3 | undefined;
|
2421
|
-
directionalLight?: boolean | undefined;
|
2422
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2423
|
-
layer: number;
|
2424
|
-
showAvatars?: boolean | undefined;
|
2425
|
-
showFog?: boolean | undefined;
|
2426
|
-
showSkybox?: boolean | undefined;
|
2427
|
-
}
|
2428
|
-
|
2429
|
-
// @public (undocumented)
|
2430
|
-
export namespace PBCameraLayer {
|
2431
|
-
// (undocumented)
|
2432
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
2433
|
-
// (undocumented)
|
2434
|
-
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
2435
|
-
}
|
2436
|
-
|
2437
|
-
// @public (undocumented)
|
2438
|
-
export interface PBCameraLayers {
|
2439
|
-
// (undocumented)
|
2440
|
-
layers: number[];
|
2441
|
-
}
|
2442
|
-
|
2443
|
-
// @public (undocumented)
|
2444
|
-
export namespace PBCameraLayers {
|
2445
|
-
// (undocumented)
|
2446
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
2447
|
-
// (undocumented)
|
2448
|
-
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
2449
|
-
}
|
2450
|
-
|
2451
2272
|
// @public (undocumented)
|
2452
2273
|
export interface PBCameraMode {
|
2453
2274
|
mode: CameraType;
|
@@ -2464,10 +2285,7 @@ export namespace PBCameraMode {
|
|
2464
2285
|
// @public (undocumented)
|
2465
2286
|
export interface PBCameraModeArea {
|
2466
2287
|
area: PBVector3 | undefined;
|
2467
|
-
// (undocumented)
|
2468
|
-
cinematicSettings?: CinematicSettings | undefined;
|
2469
2288
|
mode: CameraType;
|
2470
|
-
useColliderRange?: boolean | undefined;
|
2471
2289
|
}
|
2472
2290
|
|
2473
2291
|
// @public (undocumented)
|
@@ -2531,21 +2349,6 @@ export namespace PBEngineInfo {
|
|
2531
2349
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2532
2350
|
}
|
2533
2351
|
|
2534
|
-
// @public (undocumented)
|
2535
|
-
export interface PBGlobalLight {
|
2536
|
-
ambientBrightness?: number | undefined;
|
2537
|
-
ambientColor?: PBColor3 | undefined;
|
2538
|
-
direction?: PBVector3 | undefined;
|
2539
|
-
}
|
2540
|
-
|
2541
|
-
// @public (undocumented)
|
2542
|
-
export namespace PBGlobalLight {
|
2543
|
-
// (undocumented)
|
2544
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2545
|
-
// (undocumented)
|
2546
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2547
|
-
}
|
2548
|
-
|
2549
2352
|
// @public (undocumented)
|
2550
2353
|
export interface PBGltfContainer {
|
2551
2354
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2563,13 +2366,8 @@ export namespace PBGltfContainer {
|
|
2563
2366
|
|
2564
2367
|
// @public (undocumented)
|
2565
2368
|
export interface PBGltfContainerLoadingState {
|
2566
|
-
animationNames: string[];
|
2567
2369
|
// (undocumented)
|
2568
2370
|
currentState: LoadingState;
|
2569
|
-
materialNames: string[];
|
2570
|
-
meshNames: string[];
|
2571
|
-
nodePaths: string[];
|
2572
|
-
skinNames: string[];
|
2573
2371
|
}
|
2574
2372
|
|
2575
2373
|
// @public (undocumented)
|
@@ -2580,35 +2378,6 @@ export namespace PBGltfContainerLoadingState {
|
|
2580
2378
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2581
2379
|
}
|
2582
2380
|
|
2583
|
-
// @public (undocumented)
|
2584
|
-
export interface PBGltfNode {
|
2585
|
-
path: string;
|
2586
|
-
}
|
2587
|
-
|
2588
|
-
// @public (undocumented)
|
2589
|
-
export namespace PBGltfNode {
|
2590
|
-
// (undocumented)
|
2591
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2592
|
-
// (undocumented)
|
2593
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2594
|
-
}
|
2595
|
-
|
2596
|
-
// @public (undocumented)
|
2597
|
-
export interface PBGltfNodeState {
|
2598
|
-
// (undocumented)
|
2599
|
-
error?: string | undefined;
|
2600
|
-
// (undocumented)
|
2601
|
-
state: GltfNodeStateValue;
|
2602
|
-
}
|
2603
|
-
|
2604
|
-
// @public (undocumented)
|
2605
|
-
export namespace PBGltfNodeState {
|
2606
|
-
// (undocumented)
|
2607
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2608
|
-
// (undocumented)
|
2609
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2610
|
-
}
|
2611
|
-
|
2612
2381
|
// @public (undocumented)
|
2613
2382
|
export interface PBInputModifier {
|
2614
2383
|
// (undocumented)
|
@@ -2650,22 +2419,6 @@ export namespace PBInputModifier_StandardInput {
|
|
2650
2419
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2651
2420
|
}
|
2652
2421
|
|
2653
|
-
// @public (undocumented)
|
2654
|
-
export interface PBLight {
|
2655
|
-
color?: PBColor3 | undefined;
|
2656
|
-
enabled?: boolean | undefined;
|
2657
|
-
illuminance?: number | undefined;
|
2658
|
-
shadows?: boolean | undefined;
|
2659
|
-
}
|
2660
|
-
|
2661
|
-
// @public (undocumented)
|
2662
|
-
export namespace PBLight {
|
2663
|
-
// (undocumented)
|
2664
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
2665
|
-
// (undocumented)
|
2666
|
-
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
2667
|
-
}
|
2668
|
-
|
2669
2422
|
// @public (undocumented)
|
2670
2423
|
export interface PBMainCamera {
|
2671
2424
|
virtualCameraEntity?: number | undefined;
|
@@ -2681,7 +2434,6 @@ export namespace PBMainCamera {
|
|
2681
2434
|
|
2682
2435
|
// @public (undocumented)
|
2683
2436
|
export interface PBMaterial {
|
2684
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
2685
2437
|
// (undocumented)
|
2686
2438
|
material?: {
|
2687
2439
|
$case: "unlit";
|
@@ -2700,22 +2452,6 @@ export namespace PBMaterial {
|
|
2700
2452
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2701
2453
|
}
|
2702
2454
|
|
2703
|
-
// @public (undocumented)
|
2704
|
-
export interface PBMaterial_GltfMaterial {
|
2705
|
-
// (undocumented)
|
2706
|
-
gltfSrc: string;
|
2707
|
-
// (undocumented)
|
2708
|
-
name: string;
|
2709
|
-
}
|
2710
|
-
|
2711
|
-
// @public (undocumented)
|
2712
|
-
export namespace PBMaterial_GltfMaterial {
|
2713
|
-
// (undocumented)
|
2714
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2715
|
-
// (undocumented)
|
2716
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2717
|
-
}
|
2718
|
-
|
2719
2455
|
// @public (undocumented)
|
2720
2456
|
export interface PBMaterial_PbrMaterial {
|
2721
2457
|
albedoColor?: PBColor4 | undefined;
|
@@ -2777,9 +2513,6 @@ export interface PBMeshCollider {
|
|
2777
2513
|
} | {
|
2778
2514
|
$case: "plane";
|
2779
2515
|
plane: PBMeshCollider_PlaneMesh;
|
2780
|
-
} | {
|
2781
|
-
$case: "gltf";
|
2782
|
-
gltf: PBMeshCollider_GltfMesh;
|
2783
2516
|
} | undefined;
|
2784
2517
|
}
|
2785
2518
|
|
@@ -2817,20 +2550,6 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2817
2550
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2818
2551
|
}
|
2819
2552
|
|
2820
|
-
// @public (undocumented)
|
2821
|
-
export interface PBMeshCollider_GltfMesh {
|
2822
|
-
gltfSrc: string;
|
2823
|
-
name: string;
|
2824
|
-
}
|
2825
|
-
|
2826
|
-
// @public (undocumented)
|
2827
|
-
export namespace PBMeshCollider_GltfMesh {
|
2828
|
-
// (undocumented)
|
2829
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2830
|
-
// (undocumented)
|
2831
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2832
|
-
}
|
2833
|
-
|
2834
2553
|
// @public (undocumented)
|
2835
2554
|
export interface PBMeshCollider_PlaneMesh {
|
2836
2555
|
}
|
@@ -2870,9 +2589,6 @@ export interface PBMeshRenderer {
|
|
2870
2589
|
} | {
|
2871
2590
|
$case: "plane";
|
2872
2591
|
plane: PBMeshRenderer_PlaneMesh;
|
2873
|
-
} | {
|
2874
|
-
$case: "gltf";
|
2875
|
-
gltf: PBMeshRenderer_GltfMesh;
|
2876
2592
|
} | undefined;
|
2877
2593
|
}
|
2878
2594
|
|
@@ -2911,20 +2627,6 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2911
2627
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2912
2628
|
}
|
2913
2629
|
|
2914
|
-
// @public (undocumented)
|
2915
|
-
export interface PBMeshRenderer_GltfMesh {
|
2916
|
-
gltfSrc: string;
|
2917
|
-
name: string;
|
2918
|
-
}
|
2919
|
-
|
2920
|
-
// @public (undocumented)
|
2921
|
-
export namespace PBMeshRenderer_GltfMesh {
|
2922
|
-
// (undocumented)
|
2923
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2924
|
-
// (undocumented)
|
2925
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2926
|
-
}
|
2927
|
-
|
2928
2630
|
// @public (undocumented)
|
2929
2631
|
export interface PBMeshRenderer_PlaneMesh {
|
2930
2632
|
uvs: number[];
|
@@ -3075,23 +2777,6 @@ export namespace PBPosition {
|
|
3075
2777
|
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
3076
2778
|
}
|
3077
2779
|
|
3078
|
-
// @public (undocumented)
|
3079
|
-
export interface PBPrimaryPointerInfo {
|
3080
|
-
// (undocumented)
|
3081
|
-
pointerType?: PointerType | undefined;
|
3082
|
-
screenCoordinates?: PBVector2 | undefined;
|
3083
|
-
screenDelta?: PBVector2 | undefined;
|
3084
|
-
worldRayDirection?: PBVector3 | undefined;
|
3085
|
-
}
|
3086
|
-
|
3087
|
-
// @public (undocumented)
|
3088
|
-
export namespace PBPrimaryPointerInfo {
|
3089
|
-
// (undocumented)
|
3090
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
|
3091
|
-
// (undocumented)
|
3092
|
-
export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
|
3093
|
-
}
|
3094
|
-
|
3095
2780
|
// @public (undocumented)
|
3096
2781
|
export interface PBQuaternion {
|
3097
2782
|
// (undocumented)
|
@@ -3187,21 +2872,6 @@ export namespace PBRealmInfo {
|
|
3187
2872
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
3188
2873
|
}
|
3189
2874
|
|
3190
|
-
// @public (undocumented)
|
3191
|
-
export interface PBSpotlight {
|
3192
|
-
angle: number;
|
3193
|
-
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3194
|
-
innerAngle?: number | undefined;
|
3195
|
-
}
|
3196
|
-
|
3197
|
-
// @public (undocumented)
|
3198
|
-
export namespace PBSpotlight {
|
3199
|
-
// (undocumented)
|
3200
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
3201
|
-
// (undocumented)
|
3202
|
-
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
3203
|
-
}
|
3204
|
-
|
3205
2875
|
// @public (undocumented)
|
3206
2876
|
export interface PBTextShape {
|
3207
2877
|
font?: Font | undefined;
|
@@ -3235,32 +2905,6 @@ export namespace PBTextShape {
|
|
3235
2905
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
3236
2906
|
}
|
3237
2907
|
|
3238
|
-
// @public (undocumented)
|
3239
|
-
export interface PBTextureCamera {
|
3240
|
-
clearColor?: PBColor4 | undefined;
|
3241
|
-
farPlane?: number | undefined;
|
3242
|
-
height?: number | undefined;
|
3243
|
-
layer?: number | undefined;
|
3244
|
-
// (undocumented)
|
3245
|
-
mode?: {
|
3246
|
-
$case: "perspective";
|
3247
|
-
perspective: Perspective;
|
3248
|
-
} | {
|
3249
|
-
$case: "orthographic";
|
3250
|
-
orthographic: Orthographic;
|
3251
|
-
} | undefined;
|
3252
|
-
volume?: number | undefined;
|
3253
|
-
width?: number | undefined;
|
3254
|
-
}
|
3255
|
-
|
3256
|
-
// @public (undocumented)
|
3257
|
-
export namespace PBTextureCamera {
|
3258
|
-
// (undocumented)
|
3259
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
3260
|
-
// (undocumented)
|
3261
|
-
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
3262
|
-
}
|
3263
|
-
|
3264
2908
|
// @public (undocumented)
|
3265
2909
|
export interface PBTween {
|
3266
2910
|
currentTime?: number | undefined;
|
@@ -3342,23 +2986,6 @@ export namespace PBUiBackground {
|
|
3342
2986
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
3343
2987
|
}
|
3344
2988
|
|
3345
|
-
// @public (undocumented)
|
3346
|
-
export interface PBUiCanvas {
|
3347
|
-
color?: PBColor4 | undefined;
|
3348
|
-
// (undocumented)
|
3349
|
-
height: number;
|
3350
|
-
// (undocumented)
|
3351
|
-
width: number;
|
3352
|
-
}
|
3353
|
-
|
3354
|
-
// @public (undocumented)
|
3355
|
-
export namespace PBUiCanvas {
|
3356
|
-
// (undocumented)
|
3357
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3358
|
-
// (undocumented)
|
3359
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3360
|
-
}
|
3361
|
-
|
3362
2989
|
// @public (undocumented)
|
3363
2990
|
export interface PBUiCanvasInformation {
|
3364
2991
|
devicePixelRatio: number;
|
@@ -3452,27 +3079,11 @@ export namespace PBUiInputResult {
|
|
3452
3079
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3453
3080
|
}
|
3454
3081
|
|
3455
|
-
// @public (undocumented)
|
3456
|
-
export interface PBUiScrollResult {
|
3457
|
-
// (undocumented)
|
3458
|
-
value: PBVector2 | undefined;
|
3459
|
-
}
|
3460
|
-
|
3461
|
-
// @public (undocumented)
|
3462
|
-
export namespace PBUiScrollResult {
|
3463
|
-
// (undocumented)
|
3464
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3465
|
-
// (undocumented)
|
3466
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3467
|
-
}
|
3468
|
-
|
3469
3082
|
// @public (undocumented)
|
3470
3083
|
export interface PBUiText {
|
3471
3084
|
color?: PBColor4 | undefined;
|
3472
3085
|
font?: Font | undefined;
|
3473
3086
|
fontSize?: number | undefined;
|
3474
|
-
outlineColor?: PBColor4 | undefined;
|
3475
|
-
outlineWidth?: number | undefined;
|
3476
3087
|
textAlign?: TextAlignMode | undefined;
|
3477
3088
|
textWrap?: TextWrap | undefined;
|
3478
3089
|
value: string;
|
@@ -3523,7 +3134,6 @@ export interface PBUiTransform {
|
|
3523
3134
|
borderTopWidth?: number | undefined;
|
3524
3135
|
borderTopWidthUnit?: YGUnit | undefined;
|
3525
3136
|
display: YGDisplay;
|
3526
|
-
elementId?: string | undefined;
|
3527
3137
|
// (undocumented)
|
3528
3138
|
flexBasis: number;
|
3529
3139
|
flexBasisUnit: YGUnit;
|
@@ -3560,7 +3170,6 @@ export interface PBUiTransform {
|
|
3560
3170
|
// (undocumented)
|
3561
3171
|
minWidth: number;
|
3562
3172
|
minWidthUnit: YGUnit;
|
3563
|
-
opacity?: number | undefined;
|
3564
3173
|
overflow: YGOverflow;
|
3565
3174
|
// (undocumented)
|
3566
3175
|
paddingBottom: number;
|
@@ -3592,12 +3201,9 @@ export interface PBUiTransform {
|
|
3592
3201
|
positionType: YGPositionType;
|
3593
3202
|
// (undocumented)
|
3594
3203
|
rightOf: number;
|
3595
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
3596
|
-
scrollVisible?: ShowScrollBar | undefined;
|
3597
3204
|
// (undocumented)
|
3598
3205
|
width: number;
|
3599
3206
|
widthUnit: YGUnit;
|
3600
|
-
zIndex?: number | undefined;
|
3601
3207
|
}
|
3602
3208
|
|
3603
3209
|
// @public (undocumented)
|
@@ -3709,19 +3315,6 @@ export namespace PBVisibilityComponent {
|
|
3709
3315
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3710
3316
|
}
|
3711
3317
|
|
3712
|
-
// @public (undocumented)
|
3713
|
-
export interface Perspective {
|
3714
|
-
fieldOfView?: number | undefined;
|
3715
|
-
}
|
3716
|
-
|
3717
|
-
// @public (undocumented)
|
3718
|
-
export namespace Perspective {
|
3719
|
-
// (undocumented)
|
3720
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
3721
|
-
// (undocumented)
|
3722
|
-
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
3723
|
-
}
|
3724
|
-
|
3725
3318
|
// @public
|
3726
3319
|
export namespace Plane {
|
3727
3320
|
// (undocumented)
|
@@ -3773,18 +3366,6 @@ export interface PointerEventsSystem {
|
|
3773
3366
|
}, cb: EventSystemCallback): void;
|
3774
3367
|
// @deprecated (undocumented)
|
3775
3368
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3776
|
-
onPointerDrag(pointerData: {
|
3777
|
-
entity: Entity;
|
3778
|
-
opts?: Partial<EventSystemOptions>;
|
3779
|
-
}, cb: EventSystemCallback): void;
|
3780
|
-
onPointerDragEnd(pointerData: {
|
3781
|
-
entity: Entity;
|
3782
|
-
opts?: Partial<EventSystemOptions>;
|
3783
|
-
}, cb: EventSystemCallback): void;
|
3784
|
-
onPointerDragLocked(pointerData: {
|
3785
|
-
entity: Entity;
|
3786
|
-
opts?: Partial<EventSystemOptions>;
|
3787
|
-
}, cb: EventSystemCallback): void;
|
3788
3369
|
onPointerHoverEnter(pointerData: {
|
3789
3370
|
entity: Entity;
|
3790
3371
|
opts?: Partial<EventSystemOptions>;
|
@@ -3800,9 +3381,6 @@ export interface PointerEventsSystem {
|
|
3800
3381
|
// @deprecated (undocumented)
|
3801
3382
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3802
3383
|
removeOnPointerDown(entity: Entity): void;
|
3803
|
-
removeOnPointerDrag(entity: Entity): void;
|
3804
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
3805
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
3806
3384
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3807
3385
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3808
3386
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3816,12 +3394,6 @@ export const enum PointerEventType {
|
|
3816
3394
|
// (undocumented)
|
3817
3395
|
PET_DOWN = 1,
|
3818
3396
|
// (undocumented)
|
3819
|
-
PET_DRAG = 5,
|
3820
|
-
// (undocumented)
|
3821
|
-
PET_DRAG_END = 6,
|
3822
|
-
// (undocumented)
|
3823
|
-
PET_DRAG_LOCKED = 4,
|
3824
|
-
// (undocumented)
|
3825
3397
|
PET_HOVER_ENTER = 2,
|
3826
3398
|
// (undocumented)
|
3827
3399
|
PET_HOVER_LEAVE = 3,
|
@@ -3843,20 +3415,6 @@ export type PointerFilterType = 'none' | 'block';
|
|
3843
3415
|
// @public (undocumented)
|
3844
3416
|
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
3845
3417
|
|
3846
|
-
// @public (undocumented)
|
3847
|
-
export const enum PointerType {
|
3848
|
-
// (undocumented)
|
3849
|
-
POT_MOUSE = 1,
|
3850
|
-
// (undocumented)
|
3851
|
-
POT_NONE = 0,
|
3852
|
-
// (undocumented)
|
3853
|
-
POT_PAD = 2,
|
3854
|
-
// (undocumented)
|
3855
|
-
POT_TOUCH = 3,
|
3856
|
-
// (undocumented)
|
3857
|
-
POT_WAND = 4
|
3858
|
-
}
|
3859
|
-
|
3860
3418
|
// @public
|
3861
3419
|
export interface Position {
|
3862
3420
|
// (undocumented)
|
@@ -3878,9 +3436,6 @@ export type PositionType = 'absolute' | 'relative';
|
|
3878
3436
|
// @public
|
3879
3437
|
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
|
3880
3438
|
|
3881
|
-
// @public (undocumented)
|
3882
|
-
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
|
3883
|
-
|
3884
3439
|
// 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)
|
3885
3440
|
//
|
3886
3441
|
// @public (undocumented)
|
@@ -4099,13 +3654,21 @@ export interface ReactBasedUiSystem {
|
|
4099
3654
|
// (undocumented)
|
4100
3655
|
destroy(): void;
|
4101
3656
|
// (undocumented)
|
4102
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4103
|
-
// (undocumented)
|
4104
3657
|
setUiRenderer(ui: UiComponent): void;
|
4105
3658
|
}
|
4106
3659
|
|
4107
3660
|
// @public (undocumented)
|
4108
3661
|
export namespace ReactEcs {
|
3662
|
+
// (undocumented)
|
3663
|
+
export type DependencyList = ReadonlyArray<any>;
|
3664
|
+
const // (undocumented)
|
3665
|
+
createElement: any;
|
3666
|
+
// (undocumented)
|
3667
|
+
export type Dispatch<T> = (action: SetStateAction<T>) => void;
|
3668
|
+
// (undocumented)
|
3669
|
+
export type EffectCallback = () => void | (() => void | undefined);
|
3670
|
+
// (undocumented)
|
3671
|
+
export type EffectHook = (effect: EffectCallback, deps?: DependencyList) => void;
|
4109
3672
|
// (undocumented)
|
4110
3673
|
export namespace JSX {
|
4111
3674
|
export interface Component {
|
@@ -4118,8 +3681,15 @@ export namespace ReactEcs {
|
|
4118
3681
|
// (undocumented)
|
4119
3682
|
export type ReactNode = Element | ReactElement | string | number | boolean | null | undefined | ReactNode[];
|
4120
3683
|
}
|
3684
|
+
// (undocumented)
|
3685
|
+
export type SetStateAction<T> = T | ((prevState: T) => T);
|
3686
|
+
// (undocumented)
|
3687
|
+
export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
|
4121
3688
|
const // (undocumented)
|
4122
|
-
|
3689
|
+
useEffect: EffectHook;
|
3690
|
+
const // (undocumented)
|
3691
|
+
useState: StateHook;
|
3692
|
+
{};
|
4123
3693
|
}
|
4124
3694
|
|
4125
3695
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
@@ -4340,50 +3910,12 @@ export namespace Schemas {
|
|
4340
3910
|
}) => void;
|
4341
3911
|
}
|
4342
3912
|
|
4343
|
-
// @public (undocumented)
|
4344
|
-
export interface ScrollPositionValue {
|
4345
|
-
// (undocumented)
|
4346
|
-
value?: {
|
4347
|
-
$case: "position";
|
4348
|
-
position: PBVector2;
|
4349
|
-
} | {
|
4350
|
-
$case: "reference";
|
4351
|
-
reference: string;
|
4352
|
-
} | undefined;
|
4353
|
-
}
|
4354
|
-
|
4355
|
-
// @public (undocumented)
|
4356
|
-
export namespace ScrollPositionValue {
|
4357
|
-
// (undocumented)
|
4358
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4359
|
-
// (undocumented)
|
4360
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4361
|
-
}
|
4362
|
-
|
4363
|
-
// @public
|
4364
|
-
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4365
|
-
|
4366
|
-
// @public (undocumented)
|
4367
|
-
export const enum ShowScrollBar {
|
4368
|
-
// (undocumented)
|
4369
|
-
SSB_BOTH = 0,
|
4370
|
-
// (undocumented)
|
4371
|
-
SSB_HIDDEN = 3,
|
4372
|
-
// (undocumented)
|
4373
|
-
SSB_ONLY_HORIZONTAL = 2,
|
4374
|
-
// (undocumented)
|
4375
|
-
SSB_ONLY_VERTICAL = 1
|
4376
|
-
}
|
4377
|
-
|
4378
3913
|
// @public (undocumented)
|
4379
3914
|
export interface Spec {
|
4380
3915
|
// (undocumented)
|
4381
3916
|
[key: string]: ISchema;
|
4382
3917
|
}
|
4383
3918
|
|
4384
|
-
// @public (undocumented)
|
4385
|
-
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4386
|
-
|
4387
3919
|
// @alpha
|
4388
3920
|
export const SyncComponents: ISyncComponents;
|
4389
3921
|
|
@@ -4467,9 +3999,6 @@ export namespace Texture {
|
|
4467
3999
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
4468
4000
|
}
|
4469
4001
|
|
4470
|
-
// @public (undocumented)
|
4471
|
-
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4472
|
-
|
4473
4002
|
// @public (undocumented)
|
4474
4003
|
export const enum TextureFilterMode {
|
4475
4004
|
// (undocumented)
|
@@ -4532,9 +4061,6 @@ export interface TextureUnion {
|
|
4532
4061
|
} | {
|
4533
4062
|
$case: "videoTexture";
|
4534
4063
|
videoTexture: VideoTexture;
|
4535
|
-
} | {
|
4536
|
-
$case: "uiTexture";
|
4537
|
-
uiTexture: UiCanvasTexture;
|
4538
4064
|
} | undefined;
|
4539
4065
|
}
|
4540
4066
|
|
@@ -4705,7 +4231,6 @@ export interface UiBackgroundProps {
|
|
4705
4231
|
textureMode?: TextureMode;
|
4706
4232
|
textureSlices?: BorderRect | undefined;
|
4707
4233
|
uvs?: number[];
|
4708
|
-
videoTexture?: UiVideoTexture;
|
4709
4234
|
}
|
4710
4235
|
|
4711
4236
|
// @public
|
@@ -4714,28 +4239,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4714
4239
|
variant?: 'primary' | 'secondary';
|
4715
4240
|
}
|
4716
4241
|
|
4717
|
-
// @public (undocumented)
|
4718
|
-
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4719
|
-
|
4720
4242
|
// @public (undocumented)
|
4721
4243
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4722
4244
|
|
4723
|
-
// @public (undocumented)
|
4724
|
-
export interface UiCanvasTexture {
|
4725
|
-
filterMode?: TextureFilterMode | undefined;
|
4726
|
-
// (undocumented)
|
4727
|
-
uiCanvasEntity: number;
|
4728
|
-
wrapMode?: TextureWrapMode | undefined;
|
4729
|
-
}
|
4730
|
-
|
4731
|
-
// @public (undocumented)
|
4732
|
-
export namespace UiCanvasTexture {
|
4733
|
-
// (undocumented)
|
4734
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4735
|
-
// (undocumented)
|
4736
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4737
|
-
}
|
4738
|
-
|
4739
4245
|
// @public (undocumented)
|
4740
4246
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4741
4247
|
|
@@ -4790,8 +4296,6 @@ export interface UiLabelProps {
|
|
4790
4296
|
color?: PBColor4 | undefined;
|
4791
4297
|
font?: UiFontType | undefined;
|
4792
4298
|
fontSize?: ScaleUnit | undefined;
|
4793
|
-
outlineColor?: PBColor4 | undefined;
|
4794
|
-
outlineWidth?: number | undefined;
|
4795
4299
|
textAlign?: TextAlignType | undefined;
|
4796
4300
|
textWrap?: UiTextWrapType | undefined;
|
4797
4301
|
value: string;
|
@@ -4800,9 +4304,6 @@ export interface UiLabelProps {
|
|
4800
4304
|
// @public
|
4801
4305
|
export type uint32 = number;
|
4802
4306
|
|
4803
|
-
// @public (undocumented)
|
4804
|
-
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4805
|
-
|
4806
4307
|
// @public (undocumented)
|
4807
4308
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4808
4309
|
|
@@ -4831,7 +4332,6 @@ export interface UiTransformProps {
|
|
4831
4332
|
// (undocumented)
|
4832
4333
|
borderWidth?: Partial<Position> | PositionUnit;
|
4833
4334
|
display?: DisplayType;
|
4834
|
-
elementId?: string;
|
4835
4335
|
flex?: number;
|
4836
4336
|
flexBasis?: number;
|
4837
4337
|
flexDirection?: FlexDirectionType;
|
@@ -4845,26 +4345,12 @@ export interface UiTransformProps {
|
|
4845
4345
|
maxWidth?: PositionUnit;
|
4846
4346
|
minHeight?: PositionUnit;
|
4847
4347
|
minWidth?: PositionUnit;
|
4848
|
-
opacity?: number;
|
4849
4348
|
overflow?: OverflowType;
|
4850
4349
|
padding?: Partial<Position> | PositionShorthand;
|
4851
4350
|
pointerFilter?: PointerFilterType;
|
4852
4351
|
position?: Partial<Position> | PositionShorthand;
|
4853
4352
|
positionType?: PositionType;
|
4854
|
-
scrollPosition?: PBVector2 | string;
|
4855
|
-
scrollVisible?: ScrollVisibleType;
|
4856
4353
|
width?: PositionUnit | 'auto';
|
4857
|
-
zIndex?: number;
|
4858
|
-
}
|
4859
|
-
|
4860
|
-
// @public
|
4861
|
-
export interface UiVideoTexture {
|
4862
|
-
// (undocumented)
|
4863
|
-
filterMode?: TextureFilterType;
|
4864
|
-
// (undocumented)
|
4865
|
-
videoPlayerEntity: Entity;
|
4866
|
-
// (undocumented)
|
4867
|
-
wrapMode?: TextureWrapType;
|
4868
4354
|
}
|
4869
4355
|
|
4870
4356
|
// @public (undocumented)
|