@dcl/playground-assets 7.7.9 → 7.7.10-13859848918.commit-407cb6b
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 +809 -9
- package/dist/beta.d.ts +809 -9
- package/dist/index.bundled.d.ts +809 -9
- 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 +809 -9
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +10113 -2035
- package/etc/playground-assets.api.md +532 -2
- 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
|
+
|
154
|
+
// @public (undocumented)
|
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
|
+
//
|
142
160
|
// @public (undocumented)
|
143
|
-
export
|
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 {
|
@@ -347,6 +402,12 @@ export interface ByteBuffer {
|
|
347
402
|
// @public
|
348
403
|
export type Callback = () => void;
|
349
404
|
|
405
|
+
// @public (undocumented)
|
406
|
+
export const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
407
|
+
|
408
|
+
// @public (undocumented)
|
409
|
+
export const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
410
|
+
|
350
411
|
// @public (undocumented)
|
351
412
|
export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
352
413
|
|
@@ -395,6 +456,29 @@ export const enum CameraType {
|
|
395
456
|
// @public (undocumented)
|
396
457
|
export type Children = ReactEcs.JSX.ReactNode;
|
397
458
|
|
459
|
+
// @public (undocumented)
|
460
|
+
export interface CinematicSettings {
|
461
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
462
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
463
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
464
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
465
|
+
allowManualRotation?: boolean | undefined;
|
466
|
+
cameraEntity: number;
|
467
|
+
pitchRange?: number | undefined;
|
468
|
+
rollRange?: number | undefined;
|
469
|
+
yawRange?: number | undefined;
|
470
|
+
zoomMax?: number | undefined;
|
471
|
+
zoomMin?: number | undefined;
|
472
|
+
}
|
473
|
+
|
474
|
+
// @public (undocumented)
|
475
|
+
export namespace CinematicSettings {
|
476
|
+
// (undocumented)
|
477
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
478
|
+
// (undocumented)
|
479
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
480
|
+
}
|
481
|
+
|
398
482
|
// @public (undocumented)
|
399
483
|
export const enum ColliderLayer {
|
400
484
|
// (undocumented)
|
@@ -621,12 +705,18 @@ export const componentDefinitionByName: {
|
|
621
705
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
622
706
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
623
707
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
708
|
+
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
709
|
+
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
624
710
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
625
711
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
626
712
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
713
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
627
714
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
628
715
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
716
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
717
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
629
718
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
719
|
+
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
630
720
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
631
721
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
632
722
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -636,19 +726,24 @@ export const componentDefinitionByName: {
|
|
636
726
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
637
727
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
638
728
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
729
|
+
"core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
|
639
730
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
640
731
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
641
732
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
733
|
+
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
642
734
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
735
|
+
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
643
736
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
644
737
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
645
738
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
646
739
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
740
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
647
741
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
648
742
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
649
743
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
650
744
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
651
745
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
746
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
652
747
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
653
748
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
654
749
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1087,6 +1182,9 @@ export type EntityComponents = {
|
|
1087
1182
|
onMouseUp: Callback;
|
1088
1183
|
onMouseEnter: Callback;
|
1089
1184
|
onMouseLeave: Callback;
|
1185
|
+
onMouseDrag: Callback;
|
1186
|
+
onMouseDragLocked: Callback;
|
1187
|
+
onMouseDragEnd: Callback;
|
1090
1188
|
};
|
1091
1189
|
|
1092
1190
|
// @public (undocumented)
|
@@ -1190,6 +1288,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1190
1288
|
direction?: PBVector3;
|
1191
1289
|
};
|
1192
1290
|
|
1291
|
+
// @public (undocumented)
|
1292
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1293
|
+
|
1193
1294
|
// Warning: (ae-missing-release-tag) "GlobalTargetRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1194
1295
|
//
|
1195
1296
|
// @public (undocumented)
|
@@ -1208,6 +1309,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1208
1309
|
// @public (undocumented)
|
1209
1310
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1210
1311
|
|
1312
|
+
// @public (undocumented)
|
1313
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1314
|
+
|
1315
|
+
// @public (undocumented)
|
1316
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1317
|
+
|
1318
|
+
// @public (undocumented)
|
1319
|
+
export const enum GltfNodeStateValue {
|
1320
|
+
// (undocumented)
|
1321
|
+
GNSV_FAILED = 1,
|
1322
|
+
// (undocumented)
|
1323
|
+
GNSV_PENDING = 0,
|
1324
|
+
// (undocumented)
|
1325
|
+
GNSV_READY = 2
|
1326
|
+
}
|
1327
|
+
|
1211
1328
|
// @public (undocumented)
|
1212
1329
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1213
1330
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1559,12 +1676,18 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1559
1676
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1560
1677
|
}
|
1561
1678
|
|
1679
|
+
// @public (undocumented)
|
1680
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1681
|
+
|
1562
1682
|
// @public
|
1563
1683
|
export type Listeners = {
|
1564
1684
|
onMouseDown?: Callback;
|
1565
1685
|
onMouseUp?: Callback;
|
1566
1686
|
onMouseEnter?: Callback;
|
1567
1687
|
onMouseLeave?: Callback;
|
1688
|
+
onMouseDrag?: Callback;
|
1689
|
+
onMouseDragLocked?: Callback;
|
1690
|
+
onMouseDragEnd?: Callback;
|
1568
1691
|
};
|
1569
1692
|
|
1570
1693
|
// @public (undocumented)
|
@@ -1804,6 +1927,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1804
1927
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1805
1928
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1806
1929
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1930
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1807
1931
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1808
1932
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1809
1933
|
}
|
@@ -1817,6 +1941,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1817
1941
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1818
1942
|
setBox(entity: Entity, uvs?: number[]): void;
|
1819
1943
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1944
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1820
1945
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1821
1946
|
setSphere(entity: Entity): void;
|
1822
1947
|
}
|
@@ -2054,6 +2179,19 @@ export const onVideoEvent: Observable<{
|
|
2054
2179
|
totalVideoLength: number;
|
2055
2180
|
}>;
|
2056
2181
|
|
2182
|
+
// @public (undocumented)
|
2183
|
+
export interface Orthographic {
|
2184
|
+
verticalRange?: number | undefined;
|
2185
|
+
}
|
2186
|
+
|
2187
|
+
// @public (undocumented)
|
2188
|
+
export namespace Orthographic {
|
2189
|
+
// (undocumented)
|
2190
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
2191
|
+
// (undocumented)
|
2192
|
+
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
2193
|
+
}
|
2194
|
+
|
2057
2195
|
// @public
|
2058
2196
|
export type OverflowType = 'hidden' | 'scroll' | 'visible';
|
2059
2197
|
|
@@ -2194,6 +2332,7 @@ export namespace PBAvatarEmoteCommand {
|
|
2194
2332
|
export interface PBAvatarEquippedData {
|
2195
2333
|
// (undocumented)
|
2196
2334
|
emoteUrns: string[];
|
2335
|
+
forceRender: string[];
|
2197
2336
|
// (undocumented)
|
2198
2337
|
wearableUrns: string[];
|
2199
2338
|
}
|
@@ -2211,6 +2350,9 @@ export interface PBAvatarModifierArea {
|
|
2211
2350
|
area: PBVector3 | undefined;
|
2212
2351
|
excludeIds: string[];
|
2213
2352
|
modifiers: AvatarModifierType[];
|
2353
|
+
// (undocumented)
|
2354
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2355
|
+
useColliderRange?: boolean | undefined;
|
2214
2356
|
}
|
2215
2357
|
|
2216
2358
|
// @public (undocumented)
|
@@ -2228,6 +2370,7 @@ export interface PBAvatarShape {
|
|
2228
2370
|
expressionTriggerId?: string | undefined;
|
2229
2371
|
expressionTriggerTimestamp?: number | undefined;
|
2230
2372
|
eyeColor?: PBColor3 | undefined;
|
2373
|
+
forceRender: string[];
|
2231
2374
|
hairColor?: PBColor3 | undefined;
|
2232
2375
|
id: string;
|
2233
2376
|
name?: string | undefined;
|
@@ -2257,6 +2400,42 @@ export namespace PBBillboard {
|
|
2257
2400
|
export function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
|
2258
2401
|
}
|
2259
2402
|
|
2403
|
+
// @public (undocumented)
|
2404
|
+
export interface PBCameraLayer {
|
2405
|
+
// (undocumented)
|
2406
|
+
ambientBrightnessOverride?: number | undefined;
|
2407
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2408
|
+
ambientColorOverride?: PBColor3 | undefined;
|
2409
|
+
directionalLight?: boolean | undefined;
|
2410
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
2411
|
+
layer: number;
|
2412
|
+
showAvatars?: boolean | undefined;
|
2413
|
+
showFog?: boolean | undefined;
|
2414
|
+
showSkybox?: boolean | undefined;
|
2415
|
+
}
|
2416
|
+
|
2417
|
+
// @public (undocumented)
|
2418
|
+
export namespace PBCameraLayer {
|
2419
|
+
// (undocumented)
|
2420
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
2421
|
+
// (undocumented)
|
2422
|
+
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
2423
|
+
}
|
2424
|
+
|
2425
|
+
// @public (undocumented)
|
2426
|
+
export interface PBCameraLayers {
|
2427
|
+
// (undocumented)
|
2428
|
+
layers: number[];
|
2429
|
+
}
|
2430
|
+
|
2431
|
+
// @public (undocumented)
|
2432
|
+
export namespace PBCameraLayers {
|
2433
|
+
// (undocumented)
|
2434
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
2435
|
+
// (undocumented)
|
2436
|
+
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
2437
|
+
}
|
2438
|
+
|
2260
2439
|
// @public (undocumented)
|
2261
2440
|
export interface PBCameraMode {
|
2262
2441
|
mode: CameraType;
|
@@ -2273,7 +2452,10 @@ export namespace PBCameraMode {
|
|
2273
2452
|
// @public (undocumented)
|
2274
2453
|
export interface PBCameraModeArea {
|
2275
2454
|
area: PBVector3 | undefined;
|
2455
|
+
// (undocumented)
|
2456
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2276
2457
|
mode: CameraType;
|
2458
|
+
useColliderRange?: boolean | undefined;
|
2277
2459
|
}
|
2278
2460
|
|
2279
2461
|
// @public (undocumented)
|
@@ -2337,6 +2519,21 @@ export namespace PBEngineInfo {
|
|
2337
2519
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2338
2520
|
}
|
2339
2521
|
|
2522
|
+
// @public (undocumented)
|
2523
|
+
export interface PBGlobalLight {
|
2524
|
+
ambientBrightness?: number | undefined;
|
2525
|
+
ambientColor?: PBColor3 | undefined;
|
2526
|
+
direction?: PBVector3 | undefined;
|
2527
|
+
}
|
2528
|
+
|
2529
|
+
// @public (undocumented)
|
2530
|
+
export namespace PBGlobalLight {
|
2531
|
+
// (undocumented)
|
2532
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2533
|
+
// (undocumented)
|
2534
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2535
|
+
}
|
2536
|
+
|
2340
2537
|
// @public (undocumented)
|
2341
2538
|
export interface PBGltfContainer {
|
2342
2539
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2354,8 +2551,13 @@ export namespace PBGltfContainer {
|
|
2354
2551
|
|
2355
2552
|
// @public (undocumented)
|
2356
2553
|
export interface PBGltfContainerLoadingState {
|
2554
|
+
animationNames: string[];
|
2357
2555
|
// (undocumented)
|
2358
2556
|
currentState: LoadingState;
|
2557
|
+
materialNames: string[];
|
2558
|
+
meshNames: string[];
|
2559
|
+
nodePaths: string[];
|
2560
|
+
skinNames: string[];
|
2359
2561
|
}
|
2360
2562
|
|
2361
2563
|
// @public (undocumented)
|
@@ -2366,6 +2568,35 @@ export namespace PBGltfContainerLoadingState {
|
|
2366
2568
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2367
2569
|
}
|
2368
2570
|
|
2571
|
+
// @public (undocumented)
|
2572
|
+
export interface PBGltfNode {
|
2573
|
+
path: string;
|
2574
|
+
}
|
2575
|
+
|
2576
|
+
// @public (undocumented)
|
2577
|
+
export namespace PBGltfNode {
|
2578
|
+
// (undocumented)
|
2579
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2580
|
+
// (undocumented)
|
2581
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2582
|
+
}
|
2583
|
+
|
2584
|
+
// @public (undocumented)
|
2585
|
+
export interface PBGltfNodeState {
|
2586
|
+
// (undocumented)
|
2587
|
+
error?: string | undefined;
|
2588
|
+
// (undocumented)
|
2589
|
+
state: GltfNodeStateValue;
|
2590
|
+
}
|
2591
|
+
|
2592
|
+
// @public (undocumented)
|
2593
|
+
export namespace PBGltfNodeState {
|
2594
|
+
// (undocumented)
|
2595
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2596
|
+
// (undocumented)
|
2597
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2598
|
+
}
|
2599
|
+
|
2369
2600
|
// @public (undocumented)
|
2370
2601
|
export interface PBInputModifier {
|
2371
2602
|
// (undocumented)
|
@@ -2407,6 +2638,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2407
2638
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2408
2639
|
}
|
2409
2640
|
|
2641
|
+
// @public (undocumented)
|
2642
|
+
export interface PBLight {
|
2643
|
+
color?: PBColor3 | undefined;
|
2644
|
+
enabled?: boolean | undefined;
|
2645
|
+
illuminance?: number | undefined;
|
2646
|
+
shadows?: boolean | undefined;
|
2647
|
+
}
|
2648
|
+
|
2649
|
+
// @public (undocumented)
|
2650
|
+
export namespace PBLight {
|
2651
|
+
// (undocumented)
|
2652
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
2653
|
+
// (undocumented)
|
2654
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
2655
|
+
}
|
2656
|
+
|
2410
2657
|
// @public (undocumented)
|
2411
2658
|
export interface PBMainCamera {
|
2412
2659
|
virtualCameraEntity?: number | undefined;
|
@@ -2422,6 +2669,7 @@ export namespace PBMainCamera {
|
|
2422
2669
|
|
2423
2670
|
// @public (undocumented)
|
2424
2671
|
export interface PBMaterial {
|
2672
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2425
2673
|
// (undocumented)
|
2426
2674
|
material?: {
|
2427
2675
|
$case: "unlit";
|
@@ -2440,6 +2688,22 @@ export namespace PBMaterial {
|
|
2440
2688
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2441
2689
|
}
|
2442
2690
|
|
2691
|
+
// @public (undocumented)
|
2692
|
+
export interface PBMaterial_GltfMaterial {
|
2693
|
+
// (undocumented)
|
2694
|
+
gltfSrc: string;
|
2695
|
+
// (undocumented)
|
2696
|
+
name: string;
|
2697
|
+
}
|
2698
|
+
|
2699
|
+
// @public (undocumented)
|
2700
|
+
export namespace PBMaterial_GltfMaterial {
|
2701
|
+
// (undocumented)
|
2702
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2703
|
+
// (undocumented)
|
2704
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2705
|
+
}
|
2706
|
+
|
2443
2707
|
// @public (undocumented)
|
2444
2708
|
export interface PBMaterial_PbrMaterial {
|
2445
2709
|
albedoColor?: PBColor4 | undefined;
|
@@ -2501,6 +2765,9 @@ export interface PBMeshCollider {
|
|
2501
2765
|
} | {
|
2502
2766
|
$case: "plane";
|
2503
2767
|
plane: PBMeshCollider_PlaneMesh;
|
2768
|
+
} | {
|
2769
|
+
$case: "gltf";
|
2770
|
+
gltf: PBMeshCollider_GltfMesh;
|
2504
2771
|
} | undefined;
|
2505
2772
|
}
|
2506
2773
|
|
@@ -2538,6 +2805,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2538
2805
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2539
2806
|
}
|
2540
2807
|
|
2808
|
+
// @public (undocumented)
|
2809
|
+
export interface PBMeshCollider_GltfMesh {
|
2810
|
+
gltfSrc: string;
|
2811
|
+
name: string;
|
2812
|
+
}
|
2813
|
+
|
2814
|
+
// @public (undocumented)
|
2815
|
+
export namespace PBMeshCollider_GltfMesh {
|
2816
|
+
// (undocumented)
|
2817
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2818
|
+
// (undocumented)
|
2819
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2820
|
+
}
|
2821
|
+
|
2541
2822
|
// @public (undocumented)
|
2542
2823
|
export interface PBMeshCollider_PlaneMesh {
|
2543
2824
|
}
|
@@ -2577,6 +2858,9 @@ export interface PBMeshRenderer {
|
|
2577
2858
|
} | {
|
2578
2859
|
$case: "plane";
|
2579
2860
|
plane: PBMeshRenderer_PlaneMesh;
|
2861
|
+
} | {
|
2862
|
+
$case: "gltf";
|
2863
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2580
2864
|
} | undefined;
|
2581
2865
|
}
|
2582
2866
|
|
@@ -2615,6 +2899,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2615
2899
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2616
2900
|
}
|
2617
2901
|
|
2902
|
+
// @public (undocumented)
|
2903
|
+
export interface PBMeshRenderer_GltfMesh {
|
2904
|
+
gltfSrc: string;
|
2905
|
+
name: string;
|
2906
|
+
}
|
2907
|
+
|
2908
|
+
// @public (undocumented)
|
2909
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2910
|
+
// (undocumented)
|
2911
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2912
|
+
// (undocumented)
|
2913
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2914
|
+
}
|
2915
|
+
|
2618
2916
|
// @public (undocumented)
|
2619
2917
|
export interface PBMeshRenderer_PlaneMesh {
|
2620
2918
|
uvs: number[];
|
@@ -2765,6 +3063,23 @@ export namespace PBPosition {
|
|
2765
3063
|
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
2766
3064
|
}
|
2767
3065
|
|
3066
|
+
// @public (undocumented)
|
3067
|
+
export interface PBPrimaryPointerInfo {
|
3068
|
+
// (undocumented)
|
3069
|
+
pointerType?: PointerType | undefined;
|
3070
|
+
screenCoordinates?: PBVector2 | undefined;
|
3071
|
+
screenDelta?: PBVector2 | undefined;
|
3072
|
+
worldRayDirection?: PBVector3 | undefined;
|
3073
|
+
}
|
3074
|
+
|
3075
|
+
// @public (undocumented)
|
3076
|
+
export namespace PBPrimaryPointerInfo {
|
3077
|
+
// (undocumented)
|
3078
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
|
3079
|
+
// (undocumented)
|
3080
|
+
export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
|
3081
|
+
}
|
3082
|
+
|
2768
3083
|
// @public (undocumented)
|
2769
3084
|
export interface PBQuaternion {
|
2770
3085
|
// (undocumented)
|
@@ -2860,6 +3175,21 @@ export namespace PBRealmInfo {
|
|
2860
3175
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2861
3176
|
}
|
2862
3177
|
|
3178
|
+
// @public (undocumented)
|
3179
|
+
export interface PBSpotlight {
|
3180
|
+
angle: number;
|
3181
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3182
|
+
innerAngle?: number | undefined;
|
3183
|
+
}
|
3184
|
+
|
3185
|
+
// @public (undocumented)
|
3186
|
+
export namespace PBSpotlight {
|
3187
|
+
// (undocumented)
|
3188
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
3189
|
+
// (undocumented)
|
3190
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
3191
|
+
}
|
3192
|
+
|
2863
3193
|
// @public (undocumented)
|
2864
3194
|
export interface PBTextShape {
|
2865
3195
|
font?: Font | undefined;
|
@@ -2893,6 +3223,31 @@ export namespace PBTextShape {
|
|
2893
3223
|
export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
2894
3224
|
}
|
2895
3225
|
|
3226
|
+
// @public (undocumented)
|
3227
|
+
export interface PBTextureCamera {
|
3228
|
+
clearColor?: PBColor4 | undefined;
|
3229
|
+
farPlane?: number | undefined;
|
3230
|
+
height?: number | undefined;
|
3231
|
+
layer?: number | undefined;
|
3232
|
+
// (undocumented)
|
3233
|
+
mode?: {
|
3234
|
+
$case: "perspective";
|
3235
|
+
perspective: Perspective;
|
3236
|
+
} | {
|
3237
|
+
$case: "orthographic";
|
3238
|
+
orthographic: Orthographic;
|
3239
|
+
} | undefined;
|
3240
|
+
width?: number | undefined;
|
3241
|
+
}
|
3242
|
+
|
3243
|
+
// @public (undocumented)
|
3244
|
+
export namespace PBTextureCamera {
|
3245
|
+
// (undocumented)
|
3246
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
3247
|
+
// (undocumented)
|
3248
|
+
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
3249
|
+
}
|
3250
|
+
|
2896
3251
|
// @public (undocumented)
|
2897
3252
|
export interface PBTween {
|
2898
3253
|
currentTime?: number | undefined;
|
@@ -2974,6 +3329,23 @@ export namespace PBUiBackground {
|
|
2974
3329
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2975
3330
|
}
|
2976
3331
|
|
3332
|
+
// @public (undocumented)
|
3333
|
+
export interface PBUiCanvas {
|
3334
|
+
color?: PBColor4 | undefined;
|
3335
|
+
// (undocumented)
|
3336
|
+
height: number;
|
3337
|
+
// (undocumented)
|
3338
|
+
width: number;
|
3339
|
+
}
|
3340
|
+
|
3341
|
+
// @public (undocumented)
|
3342
|
+
export namespace PBUiCanvas {
|
3343
|
+
// (undocumented)
|
3344
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3345
|
+
// (undocumented)
|
3346
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3347
|
+
}
|
3348
|
+
|
2977
3349
|
// @public (undocumented)
|
2978
3350
|
export interface PBUiCanvasInformation {
|
2979
3351
|
devicePixelRatio: number;
|
@@ -3067,11 +3439,27 @@ export namespace PBUiInputResult {
|
|
3067
3439
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3068
3440
|
}
|
3069
3441
|
|
3442
|
+
// @public (undocumented)
|
3443
|
+
export interface PBUiScrollResult {
|
3444
|
+
// (undocumented)
|
3445
|
+
value: PBVector2 | undefined;
|
3446
|
+
}
|
3447
|
+
|
3448
|
+
// @public (undocumented)
|
3449
|
+
export namespace PBUiScrollResult {
|
3450
|
+
// (undocumented)
|
3451
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3452
|
+
// (undocumented)
|
3453
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3454
|
+
}
|
3455
|
+
|
3070
3456
|
// @public (undocumented)
|
3071
3457
|
export interface PBUiText {
|
3072
3458
|
color?: PBColor4 | undefined;
|
3073
3459
|
font?: Font | undefined;
|
3074
3460
|
fontSize?: number | undefined;
|
3461
|
+
outlineColor?: PBColor4 | undefined;
|
3462
|
+
outlineWidth?: number | undefined;
|
3075
3463
|
textAlign?: TextAlignMode | undefined;
|
3076
3464
|
textWrap?: TextWrap | undefined;
|
3077
3465
|
value: string;
|
@@ -3091,6 +3479,7 @@ export interface PBUiTransform {
|
|
3091
3479
|
alignItems?: YGAlign | undefined;
|
3092
3480
|
alignSelf: YGAlign;
|
3093
3481
|
display: YGDisplay;
|
3482
|
+
elementId?: string | undefined;
|
3094
3483
|
// (undocumented)
|
3095
3484
|
flexBasis: number;
|
3096
3485
|
flexBasisUnit: YGUnit;
|
@@ -3127,6 +3516,7 @@ export interface PBUiTransform {
|
|
3127
3516
|
// (undocumented)
|
3128
3517
|
minWidth: number;
|
3129
3518
|
minWidthUnit: YGUnit;
|
3519
|
+
opacity?: number | undefined;
|
3130
3520
|
overflow: YGOverflow;
|
3131
3521
|
// (undocumented)
|
3132
3522
|
paddingBottom: number;
|
@@ -3158,9 +3548,12 @@ export interface PBUiTransform {
|
|
3158
3548
|
positionType: YGPositionType;
|
3159
3549
|
// (undocumented)
|
3160
3550
|
rightOf: number;
|
3551
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3552
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3161
3553
|
// (undocumented)
|
3162
3554
|
width: number;
|
3163
3555
|
widthUnit: YGUnit;
|
3556
|
+
zIndex?: number | undefined;
|
3164
3557
|
}
|
3165
3558
|
|
3166
3559
|
// @public (undocumented)
|
@@ -3272,6 +3665,19 @@ export namespace PBVisibilityComponent {
|
|
3272
3665
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
3273
3666
|
}
|
3274
3667
|
|
3668
|
+
// @public (undocumented)
|
3669
|
+
export interface Perspective {
|
3670
|
+
fieldOfView?: number | undefined;
|
3671
|
+
}
|
3672
|
+
|
3673
|
+
// @public (undocumented)
|
3674
|
+
export namespace Perspective {
|
3675
|
+
// (undocumented)
|
3676
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
3677
|
+
// (undocumented)
|
3678
|
+
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
3679
|
+
}
|
3680
|
+
|
3275
3681
|
// @public
|
3276
3682
|
export namespace Plane {
|
3277
3683
|
// (undocumented)
|
@@ -3323,6 +3729,18 @@ export interface PointerEventsSystem {
|
|
3323
3729
|
}, cb: EventSystemCallback): void;
|
3324
3730
|
// @deprecated (undocumented)
|
3325
3731
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3732
|
+
onPointerDrag(pointerData: {
|
3733
|
+
entity: Entity;
|
3734
|
+
opts?: Partial<EventSystemOptions>;
|
3735
|
+
}, cb: EventSystemCallback): void;
|
3736
|
+
onPointerDragEnd(pointerData: {
|
3737
|
+
entity: Entity;
|
3738
|
+
opts?: Partial<EventSystemOptions>;
|
3739
|
+
}, cb: EventSystemCallback): void;
|
3740
|
+
onPointerDragLocked(pointerData: {
|
3741
|
+
entity: Entity;
|
3742
|
+
opts?: Partial<EventSystemOptions>;
|
3743
|
+
}, cb: EventSystemCallback): void;
|
3326
3744
|
onPointerHoverEnter(pointerData: {
|
3327
3745
|
entity: Entity;
|
3328
3746
|
opts?: Partial<EventSystemOptions>;
|
@@ -3338,6 +3756,9 @@ export interface PointerEventsSystem {
|
|
3338
3756
|
// @deprecated (undocumented)
|
3339
3757
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3340
3758
|
removeOnPointerDown(entity: Entity): void;
|
3759
|
+
removeOnPointerDrag(entity: Entity): void;
|
3760
|
+
removeOnPointerDragEnd(entity: Entity): void;
|
3761
|
+
removeOnPointerDragLocked(entity: Entity): void;
|
3341
3762
|
removeOnPointerHoverEnter(entity: Entity): void;
|
3342
3763
|
removeOnPointerHoverLeave(entity: Entity): void;
|
3343
3764
|
removeOnPointerUp(entity: Entity): void;
|
@@ -3351,6 +3772,12 @@ export const enum PointerEventType {
|
|
3351
3772
|
// (undocumented)
|
3352
3773
|
PET_DOWN = 1,
|
3353
3774
|
// (undocumented)
|
3775
|
+
PET_DRAG = 5,
|
3776
|
+
// (undocumented)
|
3777
|
+
PET_DRAG_END = 6,
|
3778
|
+
// (undocumented)
|
3779
|
+
PET_DRAG_LOCKED = 4,
|
3780
|
+
// (undocumented)
|
3354
3781
|
PET_HOVER_ENTER = 2,
|
3355
3782
|
// (undocumented)
|
3356
3783
|
PET_HOVER_LEAVE = 3,
|
@@ -3372,6 +3799,20 @@ export type PointerFilterType = 'none' | 'block';
|
|
3372
3799
|
// @public (undocumented)
|
3373
3800
|
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
3374
3801
|
|
3802
|
+
// @public (undocumented)
|
3803
|
+
export const enum PointerType {
|
3804
|
+
// (undocumented)
|
3805
|
+
POT_MOUSE = 1,
|
3806
|
+
// (undocumented)
|
3807
|
+
POT_NONE = 0,
|
3808
|
+
// (undocumented)
|
3809
|
+
POT_PAD = 2,
|
3810
|
+
// (undocumented)
|
3811
|
+
POT_TOUCH = 3,
|
3812
|
+
// (undocumented)
|
3813
|
+
POT_WAND = 4
|
3814
|
+
}
|
3815
|
+
|
3375
3816
|
// @public
|
3376
3817
|
export interface Position {
|
3377
3818
|
// (undocumented)
|
@@ -3393,6 +3834,9 @@ export type PositionType = 'absolute' | 'relative';
|
|
3393
3834
|
// @public
|
3394
3835
|
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
|
3395
3836
|
|
3837
|
+
// @public (undocumented)
|
3838
|
+
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
|
3839
|
+
|
3396
3840
|
// Warning: (ae-missing-release-tag) "ProcessMessageResultType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
3397
3841
|
//
|
3398
3842
|
// @public (undocumented)
|
@@ -3611,6 +4055,8 @@ export interface ReactBasedUiSystem {
|
|
3611
4055
|
// (undocumented)
|
3612
4056
|
destroy(): void;
|
3613
4057
|
// (undocumented)
|
4058
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
4059
|
+
// (undocumented)
|
3614
4060
|
setUiRenderer(ui: UiComponent): void;
|
3615
4061
|
}
|
3616
4062
|
|
@@ -3850,12 +4296,50 @@ export namespace Schemas {
|
|
3850
4296
|
}) => void;
|
3851
4297
|
}
|
3852
4298
|
|
4299
|
+
// @public (undocumented)
|
4300
|
+
export interface ScrollPositionValue {
|
4301
|
+
// (undocumented)
|
4302
|
+
value?: {
|
4303
|
+
$case: "position";
|
4304
|
+
position: PBVector2;
|
4305
|
+
} | {
|
4306
|
+
$case: "reference";
|
4307
|
+
reference: string;
|
4308
|
+
} | undefined;
|
4309
|
+
}
|
4310
|
+
|
4311
|
+
// @public (undocumented)
|
4312
|
+
export namespace ScrollPositionValue {
|
4313
|
+
// (undocumented)
|
4314
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4315
|
+
// (undocumented)
|
4316
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4317
|
+
}
|
4318
|
+
|
4319
|
+
// @public
|
4320
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4321
|
+
|
4322
|
+
// @public (undocumented)
|
4323
|
+
export const enum ShowScrollBar {
|
4324
|
+
// (undocumented)
|
4325
|
+
SSB_BOTH = 0,
|
4326
|
+
// (undocumented)
|
4327
|
+
SSB_HIDDEN = 3,
|
4328
|
+
// (undocumented)
|
4329
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4330
|
+
// (undocumented)
|
4331
|
+
SSB_ONLY_VERTICAL = 1
|
4332
|
+
}
|
4333
|
+
|
3853
4334
|
// @public (undocumented)
|
3854
4335
|
export interface Spec {
|
3855
4336
|
// (undocumented)
|
3856
4337
|
[key: string]: ISchema;
|
3857
4338
|
}
|
3858
4339
|
|
4340
|
+
// @public (undocumented)
|
4341
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4342
|
+
|
3859
4343
|
// @alpha
|
3860
4344
|
export const SyncComponents: ISyncComponents;
|
3861
4345
|
|
@@ -3939,6 +4423,9 @@ export namespace Texture {
|
|
3939
4423
|
export function encode(message: Texture, writer?: _m0.Writer): _m0.Writer;
|
3940
4424
|
}
|
3941
4425
|
|
4426
|
+
// @public (undocumented)
|
4427
|
+
export const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
4428
|
+
|
3942
4429
|
// @public (undocumented)
|
3943
4430
|
export const enum TextureFilterMode {
|
3944
4431
|
// (undocumented)
|
@@ -4001,6 +4488,9 @@ export interface TextureUnion {
|
|
4001
4488
|
} | {
|
4002
4489
|
$case: "videoTexture";
|
4003
4490
|
videoTexture: VideoTexture;
|
4491
|
+
} | {
|
4492
|
+
$case: "uiTexture";
|
4493
|
+
uiTexture: UiCanvasTexture;
|
4004
4494
|
} | undefined;
|
4005
4495
|
}
|
4006
4496
|
|
@@ -4171,6 +4661,7 @@ export interface UiBackgroundProps {
|
|
4171
4661
|
textureMode?: TextureMode;
|
4172
4662
|
textureSlices?: BorderRect | undefined;
|
4173
4663
|
uvs?: number[];
|
4664
|
+
videoTexture?: UiVideoTexture;
|
4174
4665
|
}
|
4175
4666
|
|
4176
4667
|
// @public
|
@@ -4179,9 +4670,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4179
4670
|
variant?: 'primary' | 'secondary';
|
4180
4671
|
}
|
4181
4672
|
|
4673
|
+
// @public (undocumented)
|
4674
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4675
|
+
|
4182
4676
|
// @public (undocumented)
|
4183
4677
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4184
4678
|
|
4679
|
+
// @public (undocumented)
|
4680
|
+
export interface UiCanvasTexture {
|
4681
|
+
filterMode?: TextureFilterMode | undefined;
|
4682
|
+
// (undocumented)
|
4683
|
+
uiCanvasEntity: number;
|
4684
|
+
wrapMode?: TextureWrapMode | undefined;
|
4685
|
+
}
|
4686
|
+
|
4687
|
+
// @public (undocumented)
|
4688
|
+
export namespace UiCanvasTexture {
|
4689
|
+
// (undocumented)
|
4690
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4691
|
+
// (undocumented)
|
4692
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4693
|
+
}
|
4694
|
+
|
4185
4695
|
// @public (undocumented)
|
4186
4696
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4187
4697
|
|
@@ -4236,6 +4746,8 @@ export interface UiLabelProps {
|
|
4236
4746
|
color?: PBColor4 | undefined;
|
4237
4747
|
font?: UiFontType | undefined;
|
4238
4748
|
fontSize?: ScaleUnit | undefined;
|
4749
|
+
outlineColor?: PBColor4 | undefined;
|
4750
|
+
outlineWidth?: number | undefined;
|
4239
4751
|
textAlign?: TextAlignType | undefined;
|
4240
4752
|
textWrap?: UiTextWrapType | undefined;
|
4241
4753
|
value: string;
|
@@ -4244,6 +4756,9 @@ export interface UiLabelProps {
|
|
4244
4756
|
// @public
|
4245
4757
|
export type uint32 = number;
|
4246
4758
|
|
4759
|
+
// @public (undocumented)
|
4760
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4761
|
+
|
4247
4762
|
// @public (undocumented)
|
4248
4763
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4249
4764
|
|
@@ -4266,6 +4781,7 @@ export interface UiTransformProps {
|
|
4266
4781
|
alignItems?: AlignType;
|
4267
4782
|
alignSelf?: AlignType;
|
4268
4783
|
display?: DisplayType;
|
4784
|
+
elementId?: string;
|
4269
4785
|
flex?: number;
|
4270
4786
|
flexBasis?: number;
|
4271
4787
|
flexDirection?: FlexDirectionType;
|
@@ -4279,12 +4795,26 @@ export interface UiTransformProps {
|
|
4279
4795
|
maxWidth?: PositionUnit;
|
4280
4796
|
minHeight?: PositionUnit;
|
4281
4797
|
minWidth?: PositionUnit;
|
4798
|
+
opacity?: number;
|
4282
4799
|
overflow?: OverflowType;
|
4283
4800
|
padding?: Partial<Position> | PositionShorthand;
|
4284
4801
|
pointerFilter?: PointerFilterType;
|
4285
4802
|
position?: Partial<Position> | PositionShorthand;
|
4286
4803
|
positionType?: PositionType;
|
4804
|
+
scrollPosition?: PBVector2 | string;
|
4805
|
+
scrollVisible?: ScrollVisibleType;
|
4287
4806
|
width?: PositionUnit | 'auto';
|
4807
|
+
zIndex?: number;
|
4808
|
+
}
|
4809
|
+
|
4810
|
+
// @public
|
4811
|
+
export interface UiVideoTexture {
|
4812
|
+
// (undocumented)
|
4813
|
+
filterMode?: TextureFilterType;
|
4814
|
+
// (undocumented)
|
4815
|
+
videoPlayerEntity: Entity;
|
4816
|
+
// (undocumented)
|
4817
|
+
wrapMode?: TextureWrapType;
|
4288
4818
|
}
|
4289
4819
|
|
4290
4820
|
// @public (undocumented)
|