@dcl/playground-assets 7.8.6-14664638926.commit-7bb4ee2 → 7.8.6-14834806827.commit-cd5899c
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 +26 -816
- package/dist/beta.d.ts +25 -815
- package/dist/index.bundled.d.ts +25 -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 +26 -816
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +2437 -10172
- package/etc/playground-assets.api.md +22 -535
- 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>;
|
@@ -1364,8 +1247,9 @@ export interface IEngine {
|
|
1364
1247
|
getComponent<T>(componentId: number | string): ComponentDefinition<T>;
|
1365
1248
|
getComponentOrNull<T>(componentId: number | string): ComponentDefinition<T> | null;
|
1366
1249
|
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
1250
|
+
getEntityByName<T = never, K = T>(value: K & (T extends never ? never : string)): Entity;
|
1367
1251
|
// @alpha
|
1368
|
-
getEntityOrNullByName(label:
|
1252
|
+
getEntityOrNullByName<T = string>(label: T): Entity | null;
|
1369
1253
|
getEntityState(entity: Entity): EntityState;
|
1370
1254
|
// (undocumented)
|
1371
1255
|
_id: number;
|
@@ -1688,18 +1572,12 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1688
1572
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1689
1573
|
}
|
1690
1574
|
|
1691
|
-
// @public (undocumented)
|
1692
|
-
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1693
|
-
|
1694
1575
|
// @public
|
1695
1576
|
export type Listeners = {
|
1696
1577
|
onMouseDown?: Callback;
|
1697
1578
|
onMouseUp?: Callback;
|
1698
1579
|
onMouseEnter?: Callback;
|
1699
1580
|
onMouseLeave?: Callback;
|
1700
|
-
onMouseDrag?: Callback;
|
1701
|
-
onMouseDragLocked?: Callback;
|
1702
|
-
onMouseDragEnd?: Callback;
|
1703
1581
|
};
|
1704
1582
|
|
1705
1583
|
// @public (undocumented)
|
@@ -1939,7 +1817,6 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1939
1817
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1940
1818
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1941
1819
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1942
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1943
1820
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1944
1821
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1945
1822
|
}
|
@@ -1953,7 +1830,6 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1953
1830
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1954
1831
|
setBox(entity: Entity, uvs?: number[]): void;
|
1955
1832
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1956
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1957
1833
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1958
1834
|
setSphere(entity: Entity): void;
|
1959
1835
|
}
|
@@ -2191,19 +2067,6 @@ export const onVideoEvent: Observable<{
|
|
2191
2067
|
totalVideoLength: number;
|
2192
2068
|
}>;
|
2193
2069
|
|
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
2070
|
// @public
|
2208
2071
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2209
2072
|
|
@@ -2344,7 +2207,6 @@ export namespace PBAvatarEmoteCommand {
|
|
2344
2207
|
export interface PBAvatarEquippedData {
|
2345
2208
|
// (undocumented)
|
2346
2209
|
emoteUrns: string[];
|
2347
|
-
forceRender: string[];
|
2348
2210
|
// (undocumented)
|
2349
2211
|
wearableUrns: string[];
|
2350
2212
|
}
|
@@ -2362,9 +2224,6 @@ export interface PBAvatarModifierArea {
|
|
2362
2224
|
area: PBVector3 | undefined;
|
2363
2225
|
excludeIds: string[];
|
2364
2226
|
modifiers: AvatarModifierType[];
|
2365
|
-
// (undocumented)
|
2366
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
2367
|
-
useColliderRange?: boolean | undefined;
|
2368
2227
|
}
|
2369
2228
|
|
2370
2229
|
// @public (undocumented)
|
@@ -2382,7 +2241,6 @@ export interface PBAvatarShape {
|
|
2382
2241
|
expressionTriggerId?: string | undefined;
|
2383
2242
|
expressionTriggerTimestamp?: number | undefined;
|
2384
2243
|
eyeColor?: PBColor3 | undefined;
|
2385
|
-
forceRender: string[];
|
2386
2244
|
hairColor?: PBColor3 | undefined;
|
2387
2245
|
id: string;
|
2388
2246
|
name?: string | undefined;
|
@@ -2412,42 +2270,6 @@ export namespace PBBillboard {
|
|
2412
2270
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2413
2271
|
}
|
2414
2272
|
|
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
2273
|
// @public (undocumented)
|
2452
2274
|
export interface PBCameraMode {
|
2453
2275
|
mode: CameraType;
|
@@ -2464,10 +2286,7 @@ export namespace PBCameraMode {
|
|
2464
2286
|
// @public (undocumented)
|
2465
2287
|
export interface PBCameraModeArea {
|
2466
2288
|
area: PBVector3 | undefined;
|
2467
|
-
// (undocumented)
|
2468
|
-
cinematicSettings?: CinematicSettings | undefined;
|
2469
2289
|
mode: CameraType;
|
2470
|
-
useColliderRange?: boolean | undefined;
|
2471
2290
|
}
|
2472
2291
|
|
2473
2292
|
// @public (undocumented)
|
@@ -2531,21 +2350,6 @@ export namespace PBEngineInfo {
|
|
2531
2350
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2532
2351
|
}
|
2533
2352
|
|
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
2353
|
// @public (undocumented)
|
2550
2354
|
export interface PBGltfContainer {
|
2551
2355
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2563,13 +2367,8 @@ export namespace PBGltfContainer {
|
|
2563
2367
|
|
2564
2368
|
// @public (undocumented)
|
2565
2369
|
export interface PBGltfContainerLoadingState {
|
2566
|
-
animationNames: string[];
|
2567
2370
|
// (undocumented)
|
2568
2371
|
currentState: LoadingState;
|
2569
|
-
materialNames: string[];
|
2570
|
-
meshNames: string[];
|
2571
|
-
nodePaths: string[];
|
2572
|
-
skinNames: string[];
|
2573
2372
|
}
|
2574
2373
|
|
2575
2374
|
// @public (undocumented)
|
@@ -2580,35 +2379,6 @@ export namespace PBGltfContainerLoadingState {
|
|
2580
2379
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2581
2380
|
}
|
2582
2381
|
|
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
2382
|
// @public (undocumented)
|
2613
2383
|
export interface PBInputModifier {
|
2614
2384
|
// (undocumented)
|
@@ -2650,22 +2420,6 @@ export namespace PBInputModifier_StandardInput {
|
|
2650
2420
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2651
2421
|
}
|
2652
2422
|
|
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
2423
|
// @public (undocumented)
|
2670
2424
|
export interface PBMainCamera {
|
2671
2425
|
virtualCameraEntity?: number | undefined;
|
@@ -2681,7 +2435,6 @@ export namespace PBMainCamera {
|
|
2681
2435
|
|
2682
2436
|
// @public (undocumented)
|
2683
2437
|
export interface PBMaterial {
|
2684
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
2685
2438
|
// (undocumented)
|
2686
2439
|
material?: {
|
2687
2440
|
$case: "unlit";
|
@@ -2700,22 +2453,6 @@ export namespace PBMaterial {
|
|
2700
2453
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2701
2454
|
}
|
2702
2455
|
|
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
2456
|
// @public (undocumented)
|
2720
2457
|
export interface PBMaterial_PbrMaterial {
|
2721
2458
|
albedoColor?: PBColor4 | undefined;
|
@@ -2777,9 +2514,6 @@ export interface PBMeshCollider {
|
|
2777
2514
|
} | {
|
2778
2515
|
$case: "plane";
|
2779
2516
|
plane: PBMeshCollider_PlaneMesh;
|
2780
|
-
} | {
|
2781
|
-
$case: "gltf";
|
2782
|
-
gltf: PBMeshCollider_GltfMesh;
|
2783
2517
|
} | undefined;
|
2784
2518
|
}
|
2785
2519
|
|
@@ -2817,20 +2551,6 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2817
2551
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2818
2552
|
}
|
2819
2553
|
|
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
2554
|
// @public (undocumented)
|
2835
2555
|
export interface PBMeshCollider_PlaneMesh {
|
2836
2556
|
}
|
@@ -2870,9 +2590,6 @@ export interface PBMeshRenderer {
|
|
2870
2590
|
} | {
|
2871
2591
|
$case: "plane";
|
2872
2592
|
plane: PBMeshRenderer_PlaneMesh;
|
2873
|
-
} | {
|
2874
|
-
$case: "gltf";
|
2875
|
-
gltf: PBMeshRenderer_GltfMesh;
|
2876
2593
|
} | undefined;
|
2877
2594
|
}
|
2878
2595
|
|
@@ -2911,20 +2628,6 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2911
2628
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2912
2629
|
}
|
2913
2630
|
|
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
2631
|
// @public (undocumented)
|
2929
2632
|
export interface PBMeshRenderer_PlaneMesh {
|
2930
2633
|
uvs: number[];
|
@@ -3075,23 +2778,6 @@ export namespace PBPosition {
|
|
3075
2778
|
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
3076
2779
|
}
|
3077
2780
|
|
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
2781
|
// @public (undocumented)
|
3096
2782
|
export interface PBQuaternion {
|
3097
2783
|
// (undocumented)
|
@@ -3187,21 +2873,6 @@ export namespace PBRealmInfo {
|
|
3187
2873
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
3188
2874
|
}
|
3189
2875
|
|
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
2876
|
// @public (undocumented)
|
3206
2877
|
export interface PBTextShape {
|
3207
2878
|
font?: Font | undefined;
|
@@ -3235,32 +2906,6 @@ export namespace PBTextShape {
|
|
3235
2906
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
3236
2907
|
}
|
3237
2908
|
|
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
2909
|
// @public (undocumented)
|
3265
2910
|
export interface PBTween {
|
3266
2911
|
currentTime?: number | undefined;
|
@@ -3342,23 +2987,6 @@ export namespace PBUiBackground {
|
|
3342
2987
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
3343
2988
|
}
|
3344
2989
|
|
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
2990
|
// @public (undocumented)
|
3363
2991
|
export interface PBUiCanvasInformation {
|
3364
2992
|
devicePixelRatio: number;
|
@@ -3452,27 +3080,11 @@ export namespace PBUiInputResult {
|
|
3452
3080
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3453
3081
|
}
|
3454
3082
|
|
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
3083
|
// @public (undocumented)
|
3470
3084
|
export interface PBUiText {
|
3471
3085
|
color?: PBColor4 | undefined;
|
3472
3086
|
font?: Font | undefined;
|
3473
3087
|
fontSize?: number | undefined;
|
3474
|
-
outlineColor?: PBColor4 | undefined;
|
3475
|
-
outlineWidth?: number | undefined;
|
3476
3088
|
textAlign?: TextAlignMode | undefined;
|
3477
3089
|
textWrap?: TextWrap | undefined;
|
3478
3090
|
value: string;
|
@@ -3523,7 +3135,6 @@ export interface PBUiTransform {
|
|
3523
3135
|
borderTopWidth?: number | undefined;
|
3524
3136
|
borderTopWidthUnit?: YGUnit | undefined;
|
3525
3137
|
display: YGDisplay;
|
3526
|
-
elementId?: string | undefined;
|
3527
3138
|
// (undocumented)
|
3528
3139
|
flexBasis: number;
|
3529
3140
|
flexBasisUnit: YGUnit;
|
@@ -3560,7 +3171,6 @@ export interface PBUiTransform {
|
|
3560
3171
|
// (undocumented)
|
3561
3172
|
minWidth: number;
|
3562
3173
|
minWidthUnit: YGUnit;
|
3563
|
-
opacity?: number | undefined;
|
3564
3174
|
overflow: YGOverflow;
|
3565
3175
|
// (undocumented)
|
3566
3176
|
paddingBottom: number;
|
@@ -3592,12 +3202,9 @@ export interface PBUiTransform {
|
|
3592
3202
|
positionType: YGPositionType;
|
3593
3203
|
// (undocumented)
|
3594
3204
|
rightOf: number;
|
3595
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
3596
|
-
scrollVisible?: ShowScrollBar | undefined;
|
3597
3205
|
// (undocumented)
|
3598
3206
|
width: number;
|
3599
3207
|
widthUnit: YGUnit;
|
3600
|
-
zIndex?: number | undefined;
|
3601
3208
|
}
|
3602
3209
|
|
3603
3210
|
// @public (undocumented)
|
@@ -3709,19 +3316,6 @@ export namespace PBVisibilityComponent {
|
|
3709
3316
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3710
3317
|
}
|
3711
3318
|
|
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
3319
|
// @public
|
3726
3320
|
export namespace Plane {
|
3727
3321
|
// (undocumented)
|
@@ -3773,18 +3367,6 @@ export interface PointerEventsSystem {
|
|
3773
3367
|
}, cb: EventSystemCallback): void;
|
3774
3368
|
// @deprecated (undocumented)
|
3775
3369
|
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
3370
|
onPointerHoverEnter(pointerData: {
|
3789
3371
|
entity: Entity;
|
3790
3372
|
opts?: Partial<EventSystemOptions>;
|
@@ -3800,9 +3382,6 @@ export interface PointerEventsSystem {
|
|
3800
3382
|
// @deprecated (undocumented)
|
3801
3383
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3802
3384
|
removeOnPointerDown(entity: Entity): void;
|
3803
|
-
removeOnPointerDrag(entity: Entity): void;
|
3804
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
3805
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
3806
3385
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3807
3386
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3808
3387
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3816,12 +3395,6 @@ export const enum PointerEventType {
|
|
3816
3395
|
// (undocumented)
|
3817
3396
|
PET_DOWN = 1,
|
3818
3397
|
// (undocumented)
|
3819
|
-
PET_DRAG = 5,
|
3820
|
-
// (undocumented)
|
3821
|
-
PET_DRAG_END = 6,
|
3822
|
-
// (undocumented)
|
3823
|
-
PET_DRAG_LOCKED = 4,
|
3824
|
-
// (undocumented)
|
3825
3398
|
PET_HOVER_ENTER = 2,
|
3826
3399
|
// (undocumented)
|
3827
3400
|
PET_HOVER_LEAVE = 3,
|
@@ -3843,20 +3416,6 @@ export type PointerFilterType = 'none' | 'block';
|
|
3843
3416
|
// @public (undocumented)
|
3844
3417
|
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
3845
3418
|
|
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
3419
|
// @public
|
3861
3420
|
export interface Position {
|
3862
3421
|
// (undocumented)
|
@@ -3878,9 +3437,6 @@ export type PositionType = 'absolute' | 'relative';
|
|
3878
3437
|
// @public
|
3879
3438
|
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
|
3880
3439
|
|
3881
|
-
// @public (undocumented)
|
3882
|
-
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
|
3883
|
-
|
3884
3440
|
// 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
3441
|
//
|
3886
3442
|
// @public (undocumented)
|
@@ -4099,13 +3655,21 @@ export interface ReactBasedUiSystem {
|
|
4099
3655
|
// (undocumented)
|
4100
3656
|
destroy(): void;
|
4101
3657
|
// (undocumented)
|
4102
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4103
|
-
// (undocumented)
|
4104
3658
|
setUiRenderer(ui: UiComponent): void;
|
4105
3659
|
}
|
4106
3660
|
|
4107
3661
|
// @public (undocumented)
|
4108
3662
|
export namespace ReactEcs {
|
3663
|
+
// (undocumented)
|
3664
|
+
export type DependencyList = ReadonlyArray<any>;
|
3665
|
+
const // (undocumented)
|
3666
|
+
createElement: any;
|
3667
|
+
// (undocumented)
|
3668
|
+
export type Dispatch<T> = (action: SetStateAction<T>) => void;
|
3669
|
+
// (undocumented)
|
3670
|
+
export type EffectCallback = () => void | (() => void | undefined);
|
3671
|
+
// (undocumented)
|
3672
|
+
export type EffectHook = (effect: EffectCallback, deps?: DependencyList) => void;
|
4109
3673
|
// (undocumented)
|
4110
3674
|
export namespace JSX {
|
4111
3675
|
export interface Component {
|
@@ -4118,8 +3682,15 @@ export namespace ReactEcs {
|
|
4118
3682
|
// (undocumented)
|
4119
3683
|
export type ReactNode = Element | ReactElement | string | number | boolean | null | undefined | ReactNode[];
|
4120
3684
|
}
|
3685
|
+
// (undocumented)
|
3686
|
+
export type SetStateAction<T> = T | ((prevState: T) => T);
|
3687
|
+
// (undocumented)
|
3688
|
+
export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
|
4121
3689
|
const // (undocumented)
|
4122
|
-
|
3690
|
+
useEffect: EffectHook;
|
3691
|
+
const // (undocumented)
|
3692
|
+
useState: StateHook;
|
3693
|
+
{};
|
4123
3694
|
}
|
4124
3695
|
|
4125
3696
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
@@ -4340,50 +3911,12 @@ export namespace Schemas {
|
|
4340
3911
|
}) => void;
|
4341
3912
|
}
|
4342
3913
|
|
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
3914
|
// @public (undocumented)
|
4379
3915
|
export interface Spec {
|
4380
3916
|
// (undocumented)
|
4381
3917
|
[key: string]: ISchema;
|
4382
3918
|
}
|
4383
3919
|
|
4384
|
-
// @public (undocumented)
|
4385
|
-
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4386
|
-
|
4387
3920
|
// @alpha
|
4388
3921
|
export const SyncComponents: ISyncComponents;
|
4389
3922
|
|
@@ -4467,9 +4000,6 @@ export namespace Texture {
|
|
4467
4000
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
4468
4001
|
}
|
4469
4002
|
|
4470
|
-
// @public (undocumented)
|
4471
|
-
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4472
|
-
|
4473
4003
|
// @public (undocumented)
|
4474
4004
|
export const enum TextureFilterMode {
|
4475
4005
|
// (undocumented)
|
@@ -4532,9 +4062,6 @@ export interface TextureUnion {
|
|
4532
4062
|
} | {
|
4533
4063
|
$case: "videoTexture";
|
4534
4064
|
videoTexture: VideoTexture;
|
4535
|
-
} | {
|
4536
|
-
$case: "uiTexture";
|
4537
|
-
uiTexture: UiCanvasTexture;
|
4538
4065
|
} | undefined;
|
4539
4066
|
}
|
4540
4067
|
|
@@ -4705,7 +4232,6 @@ export interface UiBackgroundProps {
|
|
4705
4232
|
textureMode?: TextureMode;
|
4706
4233
|
textureSlices?: BorderRect | undefined;
|
4707
4234
|
uvs?: number[];
|
4708
|
-
videoTexture?: UiVideoTexture;
|
4709
4235
|
}
|
4710
4236
|
|
4711
4237
|
// @public
|
@@ -4714,28 +4240,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4714
4240
|
variant?: 'primary' | 'secondary';
|
4715
4241
|
}
|
4716
4242
|
|
4717
|
-
// @public (undocumented)
|
4718
|
-
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4719
|
-
|
4720
4243
|
// @public (undocumented)
|
4721
4244
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4722
4245
|
|
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
4246
|
// @public (undocumented)
|
4740
4247
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4741
4248
|
|
@@ -4790,8 +4297,6 @@ export interface UiLabelProps {
|
|
4790
4297
|
color?: PBColor4 | undefined;
|
4791
4298
|
font?: UiFontType | undefined;
|
4792
4299
|
fontSize?: ScaleUnit | undefined;
|
4793
|
-
outlineColor?: PBColor4 | undefined;
|
4794
|
-
outlineWidth?: number | undefined;
|
4795
4300
|
textAlign?: TextAlignType | undefined;
|
4796
4301
|
textWrap?: UiTextWrapType | undefined;
|
4797
4302
|
value: string;
|
@@ -4800,9 +4305,6 @@ export interface UiLabelProps {
|
|
4800
4305
|
// @public
|
4801
4306
|
export type uint32 = number;
|
4802
4307
|
|
4803
|
-
// @public (undocumented)
|
4804
|
-
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4805
|
-
|
4806
4308
|
// @public (undocumented)
|
4807
4309
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4808
4310
|
|
@@ -4831,7 +4333,6 @@ export interface UiTransformProps {
|
|
4831
4333
|
// (undocumented)
|
4832
4334
|
borderWidth?: Partial<Position> | PositionUnit;
|
4833
4335
|
display?: DisplayType;
|
4834
|
-
elementId?: string;
|
4835
4336
|
flex?: number;
|
4836
4337
|
flexBasis?: number;
|
4837
4338
|
flexDirection?: FlexDirectionType;
|
@@ -4845,26 +4346,12 @@ export interface UiTransformProps {
|
|
4845
4346
|
maxWidth?: PositionUnit;
|
4846
4347
|
minHeight?: PositionUnit;
|
4847
4348
|
minWidth?: PositionUnit;
|
4848
|
-
opacity?: number;
|
4849
4349
|
overflow?: OverflowType;
|
4850
4350
|
padding?: Partial<Position> | PositionShorthand;
|
4851
4351
|
pointerFilter?: PointerFilterType;
|
4852
4352
|
position?: Partial<Position> | PositionShorthand;
|
4853
4353
|
positionType?: PositionType;
|
4854
|
-
scrollPosition?: PBVector2 | string;
|
4855
|
-
scrollVisible?: ScrollVisibleType;
|
4856
4354
|
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
4355
|
}
|
4869
4356
|
|
4870
4357
|
// @public (undocumented)
|