@dcl/playground-assets 7.8.1-14131012904.commit-6157fcb → 7.8.2-14264974837.commit-e768832
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 +815 -18
- package/dist/beta.d.ts +815 -18
- package/dist/index.bundled.d.ts +815 -18
- 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 +815 -18
- package/etc/playground-assets.api.json +10141 -2299
- package/etc/playground-assets.api.md +534 -20
- package/package.json +4 -4
@@ -136,11 +136,31 @@ 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
|
|
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
|
+
|
142
154
|
// @public (undocumented)
|
143
|
-
export
|
155
|
+
export interface AvatarEquippedDataComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType> {
|
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
|
+
};
|
144
164
|
|
145
165
|
// @public (undocumented)
|
146
166
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
@@ -152,7 +172,42 @@ export const enum AvatarModifierType {
|
|
152
172
|
}
|
153
173
|
|
154
174
|
// @public (undocumented)
|
155
|
-
export
|
175
|
+
export interface AvatarMovementSettings {
|
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
|
+
};
|
156
211
|
|
157
212
|
// @public (undocumented)
|
158
213
|
export interface AvatarTexture {
|
@@ -359,6 +414,12 @@ export interface ByteBuffer {
|
|
359
414
|
// @public
|
360
415
|
export type Callback = () => void;
|
361
416
|
|
417
|
+
// @public (undocumented)
|
418
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
419
|
+
|
420
|
+
// @public (undocumented)
|
421
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
422
|
+
|
362
423
|
// @public (undocumented)
|
363
424
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
364
425
|
|
@@ -407,6 +468,29 @@ export const enum CameraType {
|
|
407
468
|
// @public (undocumented)
|
408
469
|
export type Children = ReactEcs.JSX.ReactNode;
|
409
470
|
|
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
|
+
|
410
494
|
// @public (undocumented)
|
411
495
|
export const enum ColliderLayer {
|
412
496
|
// (undocumented)
|
@@ -633,12 +717,18 @@ export const componentDefinitionByName: {
|
|
633
717
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
634
718
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
635
719
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
720
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
721
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
636
722
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
637
723
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
638
724
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
725
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
639
726
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
640
727
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
728
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
729
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
641
730
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
731
|
+
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
642
732
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
643
733
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
644
734
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -648,19 +738,24 @@ export const componentDefinitionByName: {
|
|
648
738
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
649
739
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
650
740
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
741
|
+
"core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
|
651
742
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
652
743
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
653
744
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
745
|
+
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
654
746
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
747
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
655
748
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
656
749
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
657
750
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
658
751
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
752
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
659
753
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
660
754
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
661
755
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
662
756
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
663
757
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
758
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
664
759
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
665
760
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
666
761
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1099,6 +1194,9 @@ export type EntityComponents = {
|
|
1099
1194
|
onMouseUp: Callback;
|
1100
1195
|
onMouseEnter: Callback;
|
1101
1196
|
onMouseLeave: Callback;
|
1197
|
+
onMouseDrag: Callback;
|
1198
|
+
onMouseDragLocked: Callback;
|
1199
|
+
onMouseDragEnd: Callback;
|
1102
1200
|
};
|
1103
1201
|
|
1104
1202
|
// @public (undocumented)
|
@@ -1202,6 +1300,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1202
1300
|
direction?: PBVector3;
|
1203
1301
|
};
|
1204
1302
|
|
1303
|
+
// @public (undocumented)
|
1304
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1305
|
+
|
1205
1306
|
// 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)
|
1206
1307
|
//
|
1207
1308
|
// @public (undocumented)
|
@@ -1220,6 +1321,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1220
1321
|
// @public (undocumented)
|
1221
1322
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1222
1323
|
|
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
|
+
|
1223
1340
|
// @public (undocumented)
|
1224
1341
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1225
1342
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1571,12 +1688,18 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1571
1688
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1572
1689
|
}
|
1573
1690
|
|
1691
|
+
// @public (undocumented)
|
1692
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1693
|
+
|
1574
1694
|
// @public
|
1575
1695
|
export type Listeners = {
|
1576
1696
|
onMouseDown?: Callback;
|
1577
1697
|
onMouseUp?: Callback;
|
1578
1698
|
onMouseEnter?: Callback;
|
1579
1699
|
onMouseLeave?: Callback;
|
1700
|
+
onMouseDrag?: Callback;
|
1701
|
+
onMouseDragLocked?: Callback;
|
1702
|
+
onMouseDragEnd?: Callback;
|
1580
1703
|
};
|
1581
1704
|
|
1582
1705
|
// @public (undocumented)
|
@@ -1816,6 +1939,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1816
1939
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1817
1940
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1818
1941
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1942
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1819
1943
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1820
1944
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1821
1945
|
}
|
@@ -1829,6 +1953,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1829
1953
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1830
1954
|
setBox(entity: Entity, uvs?: number[]): void;
|
1831
1955
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1956
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1832
1957
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1833
1958
|
setSphere(entity: Entity): void;
|
1834
1959
|
}
|
@@ -2066,6 +2191,19 @@ export const onVideoEvent: Observable<{
|
|
2066
2191
|
totalVideoLength: number;
|
2067
2192
|
}>;
|
2068
2193
|
|
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
|
+
|
2069
2207
|
// @public
|
2070
2208
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2071
2209
|
|
@@ -2206,6 +2344,7 @@ export namespace PBAvatarEmoteCommand {
|
|
2206
2344
|
export interface PBAvatarEquippedData {
|
2207
2345
|
// (undocumented)
|
2208
2346
|
emoteUrns: string[];
|
2347
|
+
forceRender: string[];
|
2209
2348
|
// (undocumented)
|
2210
2349
|
wearableUrns: string[];
|
2211
2350
|
}
|
@@ -2223,6 +2362,9 @@ export interface PBAvatarModifierArea {
|
|
2223
2362
|
area: PBVector3 | undefined;
|
2224
2363
|
excludeIds: string[];
|
2225
2364
|
modifiers: AvatarModifierType[];
|
2365
|
+
// (undocumented)
|
2366
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2367
|
+
useColliderRange?: boolean | undefined;
|
2226
2368
|
}
|
2227
2369
|
|
2228
2370
|
// @public (undocumented)
|
@@ -2240,6 +2382,7 @@ export interface PBAvatarShape {
|
|
2240
2382
|
expressionTriggerId?: string | undefined;
|
2241
2383
|
expressionTriggerTimestamp?: number | undefined;
|
2242
2384
|
eyeColor?: PBColor3 | undefined;
|
2385
|
+
forceRender: string[];
|
2243
2386
|
hairColor?: PBColor3 | undefined;
|
2244
2387
|
id: string;
|
2245
2388
|
name?: string | undefined;
|
@@ -2269,6 +2412,42 @@ export namespace PBBillboard {
|
|
2269
2412
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2270
2413
|
}
|
2271
2414
|
|
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
|
+
|
2272
2451
|
// @public (undocumented)
|
2273
2452
|
export interface PBCameraMode {
|
2274
2453
|
mode: CameraType;
|
@@ -2285,7 +2464,10 @@ export namespace PBCameraMode {
|
|
2285
2464
|
// @public (undocumented)
|
2286
2465
|
export interface PBCameraModeArea {
|
2287
2466
|
area: PBVector3 | undefined;
|
2467
|
+
// (undocumented)
|
2468
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2288
2469
|
mode: CameraType;
|
2470
|
+
useColliderRange?: boolean | undefined;
|
2289
2471
|
}
|
2290
2472
|
|
2291
2473
|
// @public (undocumented)
|
@@ -2349,6 +2531,21 @@ export namespace PBEngineInfo {
|
|
2349
2531
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2350
2532
|
}
|
2351
2533
|
|
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
|
+
|
2352
2549
|
// @public (undocumented)
|
2353
2550
|
export interface PBGltfContainer {
|
2354
2551
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2366,8 +2563,13 @@ export namespace PBGltfContainer {
|
|
2366
2563
|
|
2367
2564
|
// @public (undocumented)
|
2368
2565
|
export interface PBGltfContainerLoadingState {
|
2566
|
+
animationNames: string[];
|
2369
2567
|
// (undocumented)
|
2370
2568
|
currentState: LoadingState;
|
2569
|
+
materialNames: string[];
|
2570
|
+
meshNames: string[];
|
2571
|
+
nodePaths: string[];
|
2572
|
+
skinNames: string[];
|
2371
2573
|
}
|
2372
2574
|
|
2373
2575
|
// @public (undocumented)
|
@@ -2378,6 +2580,35 @@ export namespace PBGltfContainerLoadingState {
|
|
2378
2580
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2379
2581
|
}
|
2380
2582
|
|
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
|
+
|
2381
2612
|
// @public (undocumented)
|
2382
2613
|
export interface PBInputModifier {
|
2383
2614
|
// (undocumented)
|
@@ -2419,6 +2650,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2419
2650
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2420
2651
|
}
|
2421
2652
|
|
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
|
+
|
2422
2669
|
// @public (undocumented)
|
2423
2670
|
export interface PBMainCamera {
|
2424
2671
|
virtualCameraEntity?: number | undefined;
|
@@ -2434,6 +2681,7 @@ export namespace PBMainCamera {
|
|
2434
2681
|
|
2435
2682
|
// @public (undocumented)
|
2436
2683
|
export interface PBMaterial {
|
2684
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2437
2685
|
// (undocumented)
|
2438
2686
|
material?: {
|
2439
2687
|
$case: "unlit";
|
@@ -2452,6 +2700,22 @@ export namespace PBMaterial {
|
|
2452
2700
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2453
2701
|
}
|
2454
2702
|
|
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
|
+
|
2455
2719
|
// @public (undocumented)
|
2456
2720
|
export interface PBMaterial_PbrMaterial {
|
2457
2721
|
albedoColor?: PBColor4 | undefined;
|
@@ -2513,6 +2777,9 @@ export interface PBMeshCollider {
|
|
2513
2777
|
} | {
|
2514
2778
|
$case: "plane";
|
2515
2779
|
plane: PBMeshCollider_PlaneMesh;
|
2780
|
+
} | {
|
2781
|
+
$case: "gltf";
|
2782
|
+
gltf: PBMeshCollider_GltfMesh;
|
2516
2783
|
} | undefined;
|
2517
2784
|
}
|
2518
2785
|
|
@@ -2550,6 +2817,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2550
2817
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2551
2818
|
}
|
2552
2819
|
|
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
|
+
|
2553
2834
|
// @public (undocumented)
|
2554
2835
|
export interface PBMeshCollider_PlaneMesh {
|
2555
2836
|
}
|
@@ -2589,6 +2870,9 @@ export interface PBMeshRenderer {
|
|
2589
2870
|
} | {
|
2590
2871
|
$case: "plane";
|
2591
2872
|
plane: PBMeshRenderer_PlaneMesh;
|
2873
|
+
} | {
|
2874
|
+
$case: "gltf";
|
2875
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2592
2876
|
} | undefined;
|
2593
2877
|
}
|
2594
2878
|
|
@@ -2627,6 +2911,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2627
2911
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2628
2912
|
}
|
2629
2913
|
|
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
|
+
|
2630
2928
|
// @public (undocumented)
|
2631
2929
|
export interface PBMeshRenderer_PlaneMesh {
|
2632
2930
|
uvs: number[];
|
@@ -2777,6 +3075,23 @@ export namespace PBPosition {
|
|
2777
3075
|
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
2778
3076
|
}
|
2779
3077
|
|
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
|
+
|
2780
3095
|
// @public (undocumented)
|
2781
3096
|
export interface PBQuaternion {
|
2782
3097
|
// (undocumented)
|
@@ -2872,6 +3187,21 @@ export namespace PBRealmInfo {
|
|
2872
3187
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2873
3188
|
}
|
2874
3189
|
|
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
|
+
|
2875
3205
|
// @public (undocumented)
|
2876
3206
|
export interface PBTextShape {
|
2877
3207
|
font?: Font | undefined;
|
@@ -2905,6 +3235,32 @@ export namespace PBTextShape {
|
|
2905
3235
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
2906
3236
|
}
|
2907
3237
|
|
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
|
+
|
2908
3264
|
// @public (undocumented)
|
2909
3265
|
export interface PBTween {
|
2910
3266
|
currentTime?: number | undefined;
|
@@ -2986,6 +3342,23 @@ export namespace PBUiBackground {
|
|
2986
3342
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2987
3343
|
}
|
2988
3344
|
|
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
|
+
|
2989
3362
|
// @public (undocumented)
|
2990
3363
|
export interface PBUiCanvasInformation {
|
2991
3364
|
devicePixelRatio: number;
|
@@ -3079,11 +3452,27 @@ export namespace PBUiInputResult {
|
|
3079
3452
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3080
3453
|
}
|
3081
3454
|
|
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
|
+
|
3082
3469
|
// @public (undocumented)
|
3083
3470
|
export interface PBUiText {
|
3084
3471
|
color?: PBColor4 | undefined;
|
3085
3472
|
font?: Font | undefined;
|
3086
3473
|
fontSize?: number | undefined;
|
3474
|
+
outlineColor?: PBColor4 | undefined;
|
3475
|
+
outlineWidth?: number | undefined;
|
3087
3476
|
textAlign?: TextAlignMode | undefined;
|
3088
3477
|
textWrap?: TextWrap | undefined;
|
3089
3478
|
value: string;
|
@@ -3134,6 +3523,7 @@ export interface PBUiTransform {
|
|
3134
3523
|
borderTopWidth?: number | undefined;
|
3135
3524
|
borderTopWidthUnit?: YGUnit | undefined;
|
3136
3525
|
display: YGDisplay;
|
3526
|
+
elementId?: string | undefined;
|
3137
3527
|
// (undocumented)
|
3138
3528
|
flexBasis: number;
|
3139
3529
|
flexBasisUnit: YGUnit;
|
@@ -3170,6 +3560,7 @@ export interface PBUiTransform {
|
|
3170
3560
|
// (undocumented)
|
3171
3561
|
minWidth: number;
|
3172
3562
|
minWidthUnit: YGUnit;
|
3563
|
+
opacity?: number | undefined;
|
3173
3564
|
overflow: YGOverflow;
|
3174
3565
|
// (undocumented)
|
3175
3566
|
paddingBottom: number;
|
@@ -3201,9 +3592,12 @@ export interface PBUiTransform {
|
|
3201
3592
|
positionType: YGPositionType;
|
3202
3593
|
// (undocumented)
|
3203
3594
|
rightOf: number;
|
3595
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3596
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3204
3597
|
// (undocumented)
|
3205
3598
|
width: number;
|
3206
3599
|
widthUnit: YGUnit;
|
3600
|
+
zIndex?: number | undefined;
|
3207
3601
|
}
|
3208
3602
|
|
3209
3603
|
// @public (undocumented)
|
@@ -3315,6 +3709,19 @@ export namespace PBVisibilityComponent {
|
|
3315
3709
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3316
3710
|
}
|
3317
3711
|
|
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
|
+
|
3318
3725
|
// @public
|
3319
3726
|
export namespace Plane {
|
3320
3727
|
// (undocumented)
|
@@ -3366,6 +3773,18 @@ export interface PointerEventsSystem {
|
|
3366
3773
|
}, cb: EventSystemCallback): void;
|
3367
3774
|
// @deprecated (undocumented)
|
3368
3775
|
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;
|
3369
3788
|
onPointerHoverEnter(pointerData: {
|
3370
3789
|
entity: Entity;
|
3371
3790
|
opts?: Partial<EventSystemOptions>;
|
@@ -3381,6 +3800,9 @@ export interface PointerEventsSystem {
|
|
3381
3800
|
// @deprecated (undocumented)
|
3382
3801
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3383
3802
|
removeOnPointerDown(entity: Entity): void;
|
3803
|
+
removeOnPointerDrag(entity: Entity): void;
|
3804
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
3805
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
3384
3806
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3385
3807
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3386
3808
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3394,6 +3816,12 @@ export const enum PointerEventType {
|
|
3394
3816
|
// (undocumented)
|
3395
3817
|
PET_DOWN = 1,
|
3396
3818
|
// (undocumented)
|
3819
|
+
PET_DRAG = 5,
|
3820
|
+
// (undocumented)
|
3821
|
+
PET_DRAG_END = 6,
|
3822
|
+
// (undocumented)
|
3823
|
+
PET_DRAG_LOCKED = 4,
|
3824
|
+
// (undocumented)
|
3397
3825
|
PET_HOVER_ENTER = 2,
|
3398
3826
|
// (undocumented)
|
3399
3827
|
PET_HOVER_LEAVE = 3,
|
@@ -3415,6 +3843,20 @@ export type PointerFilterType = 'none' | 'block';
|
|
3415
3843
|
// @public (undocumented)
|
3416
3844
|
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
3417
3845
|
|
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
|
+
|
3418
3860
|
// @public
|
3419
3861
|
export interface Position {
|
3420
3862
|
// (undocumented)
|
@@ -3436,6 +3878,9 @@ export type PositionType = 'absolute' | 'relative';
|
|
3436
3878
|
// @public
|
3437
3879
|
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
|
3438
3880
|
|
3881
|
+
// @public (undocumented)
|
3882
|
+
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
|
3883
|
+
|
3439
3884
|
// 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)
|
3440
3885
|
//
|
3441
3886
|
// @public (undocumented)
|
@@ -3654,21 +4099,13 @@ export interface ReactBasedUiSystem {
|
|
3654
4099
|
// (undocumented)
|
3655
4100
|
destroy(): void;
|
3656
4101
|
// (undocumented)
|
4102
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4103
|
+
// (undocumented)
|
3657
4104
|
setUiRenderer(ui: UiComponent): void;
|
3658
4105
|
}
|
3659
4106
|
|
3660
4107
|
// @public (undocumented)
|
3661
4108
|
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;
|
3672
4109
|
// (undocumented)
|
3673
4110
|
export namespace JSX {
|
3674
4111
|
export interface Component {
|
@@ -3681,15 +4118,8 @@ export namespace ReactEcs {
|
|
3681
4118
|
// (undocumented)
|
3682
4119
|
export type ReactNode = Element | ReactElement | string | number | boolean | null | undefined | ReactNode[];
|
3683
4120
|
}
|
3684
|
-
// (undocumented)
|
3685
|
-
export type SetStateAction<T> = T | ((prevState: T) => T);
|
3686
|
-
// (undocumented)
|
3687
|
-
export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
|
3688
4121
|
const // (undocumented)
|
3689
|
-
|
3690
|
-
const // (undocumented)
|
3691
|
-
useState: StateHook;
|
3692
|
-
{};
|
4122
|
+
createElement: any;
|
3693
4123
|
}
|
3694
4124
|
|
3695
4125
|
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
@@ -3910,12 +4340,50 @@ export namespace Schemas {
|
|
3910
4340
|
}) => void;
|
3911
4341
|
}
|
3912
4342
|
|
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
|
+
|
3913
4378
|
// @public (undocumented)
|
3914
4379
|
export interface Spec {
|
3915
4380
|
// (undocumented)
|
3916
4381
|
[key: string]: ISchema;
|
3917
4382
|
}
|
3918
4383
|
|
4384
|
+
// @public (undocumented)
|
4385
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4386
|
+
|
3919
4387
|
// @alpha
|
3920
4388
|
export const SyncComponents: ISyncComponents;
|
3921
4389
|
|
@@ -3999,6 +4467,9 @@ export namespace Texture {
|
|
3999
4467
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
4000
4468
|
}
|
4001
4469
|
|
4470
|
+
// @public (undocumented)
|
4471
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4472
|
+
|
4002
4473
|
// @public (undocumented)
|
4003
4474
|
export const enum TextureFilterMode {
|
4004
4475
|
// (undocumented)
|
@@ -4061,6 +4532,9 @@ export interface TextureUnion {
|
|
4061
4532
|
} | {
|
4062
4533
|
$case: "videoTexture";
|
4063
4534
|
videoTexture: VideoTexture;
|
4535
|
+
} | {
|
4536
|
+
$case: "uiTexture";
|
4537
|
+
uiTexture: UiCanvasTexture;
|
4064
4538
|
} | undefined;
|
4065
4539
|
}
|
4066
4540
|
|
@@ -4231,6 +4705,7 @@ export interface UiBackgroundProps {
|
|
4231
4705
|
textureMode?: TextureMode;
|
4232
4706
|
textureSlices?: BorderRect | undefined;
|
4233
4707
|
uvs?: number[];
|
4708
|
+
videoTexture?: UiVideoTexture;
|
4234
4709
|
}
|
4235
4710
|
|
4236
4711
|
// @public
|
@@ -4239,9 +4714,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4239
4714
|
variant?: 'primary' | 'secondary';
|
4240
4715
|
}
|
4241
4716
|
|
4717
|
+
// @public (undocumented)
|
4718
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4719
|
+
|
4242
4720
|
// @public (undocumented)
|
4243
4721
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4244
4722
|
|
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
|
+
|
4245
4739
|
// @public (undocumented)
|
4246
4740
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4247
4741
|
|
@@ -4296,6 +4790,8 @@ export interface UiLabelProps {
|
|
4296
4790
|
color?: PBColor4 | undefined;
|
4297
4791
|
font?: UiFontType | undefined;
|
4298
4792
|
fontSize?: ScaleUnit | undefined;
|
4793
|
+
outlineColor?: PBColor4 | undefined;
|
4794
|
+
outlineWidth?: number | undefined;
|
4299
4795
|
textAlign?: TextAlignType | undefined;
|
4300
4796
|
textWrap?: UiTextWrapType | undefined;
|
4301
4797
|
value: string;
|
@@ -4304,6 +4800,9 @@ export interface UiLabelProps {
|
|
4304
4800
|
// @public
|
4305
4801
|
export type uint32 = number;
|
4306
4802
|
|
4803
|
+
// @public (undocumented)
|
4804
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4805
|
+
|
4307
4806
|
// @public (undocumented)
|
4308
4807
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4309
4808
|
|
@@ -4332,6 +4831,7 @@ export interface UiTransformProps {
|
|
4332
4831
|
// (undocumented)
|
4333
4832
|
borderWidth?: Partial<Position> | PositionUnit;
|
4334
4833
|
display?: DisplayType;
|
4834
|
+
elementId?: string;
|
4335
4835
|
flex?: number;
|
4336
4836
|
flexBasis?: number;
|
4337
4837
|
flexDirection?: FlexDirectionType;
|
@@ -4345,12 +4845,26 @@ export interface UiTransformProps {
|
|
4345
4845
|
maxWidth?: PositionUnit;
|
4346
4846
|
minHeight?: PositionUnit;
|
4347
4847
|
minWidth?: PositionUnit;
|
4848
|
+
opacity?: number;
|
4348
4849
|
overflow?: OverflowType;
|
4349
4850
|
padding?: Partial<Position> | PositionShorthand;
|
4350
4851
|
pointerFilter?: PointerFilterType;
|
4351
4852
|
position?: Partial<Position> | PositionShorthand;
|
4352
4853
|
positionType?: PositionType;
|
4854
|
+
scrollPosition?: PBVector2 | string;
|
4855
|
+
scrollVisible?: ScrollVisibleType;
|
4353
4856
|
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;
|
4354
4868
|
}
|
4355
4869
|
|
4356
4870
|
// @public (undocumented)
|