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