@dcl/playground-assets 7.6.8-12260048919.commit-4123b99 → 7.6.8-12415739875.commit-c9a0fe7
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 +618 -12
- package/dist/beta.d.ts +618 -12
- package/dist/index.bundled.d.ts +618 -12
- 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 +618 -12
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +8573 -2684
- package/etc/playground-assets.api.md +371 -0
- package/package.json +4 -4
@@ -136,6 +136,13 @@ 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
|
|
@@ -151,6 +158,28 @@ export const enum AvatarModifierType {
|
|
151
158
|
AMT_HIDE_AVATARS = 0
|
152
159
|
}
|
153
160
|
|
161
|
+
// @public (undocumented)
|
162
|
+
export interface AvatarMovementSettings {
|
163
|
+
allowWeightedMovement?: boolean | undefined;
|
164
|
+
// (undocumented)
|
165
|
+
controlMode?: AvatarControlType | undefined;
|
166
|
+
friction?: number | undefined;
|
167
|
+
gravity?: number | undefined;
|
168
|
+
jumpHeight?: number | undefined;
|
169
|
+
maxFallSpeed?: number | undefined;
|
170
|
+
runSpeed?: number | undefined;
|
171
|
+
turnSpeed?: number | undefined;
|
172
|
+
walkSpeed?: number | undefined;
|
173
|
+
}
|
174
|
+
|
175
|
+
// @public (undocumented)
|
176
|
+
export namespace AvatarMovementSettings {
|
177
|
+
// (undocumented)
|
178
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
179
|
+
// (undocumented)
|
180
|
+
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
181
|
+
}
|
182
|
+
|
154
183
|
// @public (undocumented)
|
155
184
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
156
185
|
|
@@ -395,6 +424,29 @@ export const enum CameraType {
|
|
395
424
|
// @public (undocumented)
|
396
425
|
export type Children = ReactEcs.JSX.ReactNode;
|
397
426
|
|
427
|
+
// @public (undocumented)
|
428
|
+
export interface CinematicSettings {
|
429
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
430
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
431
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
432
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
433
|
+
allowManualRotation?: boolean | undefined;
|
434
|
+
cameraEntity: number;
|
435
|
+
pitchRange?: number | undefined;
|
436
|
+
rollRange?: number | undefined;
|
437
|
+
yawRange?: number | undefined;
|
438
|
+
zoomMax?: number | undefined;
|
439
|
+
zoomMin?: number | undefined;
|
440
|
+
}
|
441
|
+
|
442
|
+
// @public (undocumented)
|
443
|
+
export namespace CinematicSettings {
|
444
|
+
// (undocumented)
|
445
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
446
|
+
// (undocumented)
|
447
|
+
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
448
|
+
}
|
449
|
+
|
398
450
|
// @public (undocumented)
|
399
451
|
export const enum ColliderLayer {
|
400
452
|
// (undocumented)
|
@@ -624,9 +676,13 @@ export const componentDefinitionByName: {
|
|
624
676
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
625
677
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
626
678
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
679
|
+
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
627
680
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
628
681
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
682
|
+
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
683
|
+
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
629
684
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
685
|
+
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
630
686
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
631
687
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
632
688
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -639,16 +695,19 @@ export const componentDefinitionByName: {
|
|
639
695
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
640
696
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
641
697
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
698
|
+
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
642
699
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
643
700
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
644
701
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
645
702
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
646
703
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
704
|
+
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
647
705
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
648
706
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
649
707
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
650
708
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
651
709
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
710
|
+
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
652
711
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
653
712
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
654
713
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1082,6 +1141,8 @@ export type EntityComponents = {
|
|
1082
1141
|
uiDropdown: PBUiDropdown;
|
1083
1142
|
onMouseDown: Callback;
|
1084
1143
|
onMouseUp: Callback;
|
1144
|
+
onMouseEnter: Callback;
|
1145
|
+
onMouseLeave: Callback;
|
1085
1146
|
};
|
1086
1147
|
|
1087
1148
|
// @public (undocumented)
|
@@ -1185,6 +1246,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1185
1246
|
direction?: PBVector3;
|
1186
1247
|
};
|
1187
1248
|
|
1249
|
+
// @public (undocumented)
|
1250
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1251
|
+
|
1188
1252
|
// 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)
|
1189
1253
|
//
|
1190
1254
|
// @public (undocumented)
|
@@ -1203,6 +1267,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1203
1267
|
// @public (undocumented)
|
1204
1268
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1205
1269
|
|
1270
|
+
// @public (undocumented)
|
1271
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1272
|
+
|
1273
|
+
// @public (undocumented)
|
1274
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1275
|
+
|
1276
|
+
// @public (undocumented)
|
1277
|
+
export const enum GltfNodeStateValue {
|
1278
|
+
// (undocumented)
|
1279
|
+
GNSV_FAILED = 1,
|
1280
|
+
// (undocumented)
|
1281
|
+
GNSV_PENDING = 0,
|
1282
|
+
// (undocumented)
|
1283
|
+
GNSV_READY = 2
|
1284
|
+
}
|
1285
|
+
|
1206
1286
|
// @public (undocumented)
|
1207
1287
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1208
1288
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1554,10 +1634,15 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1554
1634
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1555
1635
|
}
|
1556
1636
|
|
1637
|
+
// @public (undocumented)
|
1638
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1639
|
+
|
1557
1640
|
// @public
|
1558
1641
|
export type Listeners = {
|
1559
1642
|
onMouseDown?: Callback;
|
1560
1643
|
onMouseUp?: Callback;
|
1644
|
+
onMouseEnter?: Callback;
|
1645
|
+
onMouseLeave?: Callback;
|
1561
1646
|
};
|
1562
1647
|
|
1563
1648
|
// @public (undocumented)
|
@@ -1797,6 +1882,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1797
1882
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1798
1883
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1799
1884
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1885
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1800
1886
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1801
1887
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1802
1888
|
}
|
@@ -1810,6 +1896,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1810
1896
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1811
1897
|
setBox(entity: Entity, uvs?: number[]): void;
|
1812
1898
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1899
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1813
1900
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1814
1901
|
setSphere(entity: Entity): void;
|
1815
1902
|
}
|
@@ -2204,6 +2291,9 @@ export interface PBAvatarModifierArea {
|
|
2204
2291
|
area: PBVector3 | undefined;
|
2205
2292
|
excludeIds: string[];
|
2206
2293
|
modifiers: AvatarModifierType[];
|
2294
|
+
// (undocumented)
|
2295
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2296
|
+
useColliderRange?: boolean | undefined;
|
2207
2297
|
}
|
2208
2298
|
|
2209
2299
|
// @public (undocumented)
|
@@ -2266,7 +2356,10 @@ export namespace PBCameraMode {
|
|
2266
2356
|
// @public (undocumented)
|
2267
2357
|
export interface PBCameraModeArea {
|
2268
2358
|
area: PBVector3 | undefined;
|
2359
|
+
// (undocumented)
|
2360
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2269
2361
|
mode: CameraType;
|
2362
|
+
useColliderRange?: boolean | undefined;
|
2270
2363
|
}
|
2271
2364
|
|
2272
2365
|
// @public (undocumented)
|
@@ -2330,6 +2423,21 @@ export namespace PBEngineInfo {
|
|
2330
2423
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2331
2424
|
}
|
2332
2425
|
|
2426
|
+
// @public (undocumented)
|
2427
|
+
export interface PBGlobalLight {
|
2428
|
+
ambientBrightness?: number | undefined;
|
2429
|
+
ambientColor?: PBColor3 | undefined;
|
2430
|
+
direction?: PBVector3 | undefined;
|
2431
|
+
}
|
2432
|
+
|
2433
|
+
// @public (undocumented)
|
2434
|
+
export namespace PBGlobalLight {
|
2435
|
+
// (undocumented)
|
2436
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2437
|
+
// (undocumented)
|
2438
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2439
|
+
}
|
2440
|
+
|
2333
2441
|
// @public (undocumented)
|
2334
2442
|
export interface PBGltfContainer {
|
2335
2443
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2347,8 +2455,13 @@ export namespace PBGltfContainer {
|
|
2347
2455
|
|
2348
2456
|
// @public (undocumented)
|
2349
2457
|
export interface PBGltfContainerLoadingState {
|
2458
|
+
animationNames: string[];
|
2350
2459
|
// (undocumented)
|
2351
2460
|
currentState: LoadingState;
|
2461
|
+
materialNames: string[];
|
2462
|
+
meshNames: string[];
|
2463
|
+
nodePaths: string[];
|
2464
|
+
skinNames: string[];
|
2352
2465
|
}
|
2353
2466
|
|
2354
2467
|
// @public (undocumented)
|
@@ -2359,6 +2472,35 @@ export namespace PBGltfContainerLoadingState {
|
|
2359
2472
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2360
2473
|
}
|
2361
2474
|
|
2475
|
+
// @public (undocumented)
|
2476
|
+
export interface PBGltfNode {
|
2477
|
+
path: string;
|
2478
|
+
}
|
2479
|
+
|
2480
|
+
// @public (undocumented)
|
2481
|
+
export namespace PBGltfNode {
|
2482
|
+
// (undocumented)
|
2483
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2484
|
+
// (undocumented)
|
2485
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2486
|
+
}
|
2487
|
+
|
2488
|
+
// @public (undocumented)
|
2489
|
+
export interface PBGltfNodeState {
|
2490
|
+
// (undocumented)
|
2491
|
+
error?: string | undefined;
|
2492
|
+
// (undocumented)
|
2493
|
+
state: GltfNodeStateValue;
|
2494
|
+
}
|
2495
|
+
|
2496
|
+
// @public (undocumented)
|
2497
|
+
export namespace PBGltfNodeState {
|
2498
|
+
// (undocumented)
|
2499
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2500
|
+
// (undocumented)
|
2501
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2502
|
+
}
|
2503
|
+
|
2362
2504
|
// @public (undocumented)
|
2363
2505
|
export interface PBInputModifier {
|
2364
2506
|
// (undocumented)
|
@@ -2400,6 +2542,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2400
2542
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2401
2543
|
}
|
2402
2544
|
|
2545
|
+
// @public (undocumented)
|
2546
|
+
export interface PBLight {
|
2547
|
+
color?: PBColor3 | undefined;
|
2548
|
+
enabled?: boolean | undefined;
|
2549
|
+
illuminance?: number | undefined;
|
2550
|
+
shadows?: boolean | undefined;
|
2551
|
+
}
|
2552
|
+
|
2553
|
+
// @public (undocumented)
|
2554
|
+
export namespace PBLight {
|
2555
|
+
// (undocumented)
|
2556
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
2557
|
+
// (undocumented)
|
2558
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
2559
|
+
}
|
2560
|
+
|
2403
2561
|
// @public (undocumented)
|
2404
2562
|
export interface PBMainCamera {
|
2405
2563
|
virtualCameraEntity?: number | undefined;
|
@@ -2415,6 +2573,7 @@ export namespace PBMainCamera {
|
|
2415
2573
|
|
2416
2574
|
// @public (undocumented)
|
2417
2575
|
export interface PBMaterial {
|
2576
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2418
2577
|
// (undocumented)
|
2419
2578
|
material?: {
|
2420
2579
|
$case: "unlit";
|
@@ -2433,6 +2592,22 @@ export namespace PBMaterial {
|
|
2433
2592
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2434
2593
|
}
|
2435
2594
|
|
2595
|
+
// @public (undocumented)
|
2596
|
+
export interface PBMaterial_GltfMaterial {
|
2597
|
+
// (undocumented)
|
2598
|
+
gltfSrc: string;
|
2599
|
+
// (undocumented)
|
2600
|
+
name: string;
|
2601
|
+
}
|
2602
|
+
|
2603
|
+
// @public (undocumented)
|
2604
|
+
export namespace PBMaterial_GltfMaterial {
|
2605
|
+
// (undocumented)
|
2606
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2607
|
+
// (undocumented)
|
2608
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2609
|
+
}
|
2610
|
+
|
2436
2611
|
// @public (undocumented)
|
2437
2612
|
export interface PBMaterial_PbrMaterial {
|
2438
2613
|
albedoColor?: PBColor4 | undefined;
|
@@ -2494,6 +2669,9 @@ export interface PBMeshCollider {
|
|
2494
2669
|
} | {
|
2495
2670
|
$case: "plane";
|
2496
2671
|
plane: PBMeshCollider_PlaneMesh;
|
2672
|
+
} | {
|
2673
|
+
$case: "gltf";
|
2674
|
+
gltf: PBMeshCollider_GltfMesh;
|
2497
2675
|
} | undefined;
|
2498
2676
|
}
|
2499
2677
|
|
@@ -2531,6 +2709,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2531
2709
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2532
2710
|
}
|
2533
2711
|
|
2712
|
+
// @public (undocumented)
|
2713
|
+
export interface PBMeshCollider_GltfMesh {
|
2714
|
+
gltfSrc: string;
|
2715
|
+
name: string;
|
2716
|
+
}
|
2717
|
+
|
2718
|
+
// @public (undocumented)
|
2719
|
+
export namespace PBMeshCollider_GltfMesh {
|
2720
|
+
// (undocumented)
|
2721
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2722
|
+
// (undocumented)
|
2723
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2724
|
+
}
|
2725
|
+
|
2534
2726
|
// @public (undocumented)
|
2535
2727
|
export interface PBMeshCollider_PlaneMesh {
|
2536
2728
|
}
|
@@ -2570,6 +2762,9 @@ export interface PBMeshRenderer {
|
|
2570
2762
|
} | {
|
2571
2763
|
$case: "plane";
|
2572
2764
|
plane: PBMeshRenderer_PlaneMesh;
|
2765
|
+
} | {
|
2766
|
+
$case: "gltf";
|
2767
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2573
2768
|
} | undefined;
|
2574
2769
|
}
|
2575
2770
|
|
@@ -2608,6 +2803,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2608
2803
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2609
2804
|
}
|
2610
2805
|
|
2806
|
+
// @public (undocumented)
|
2807
|
+
export interface PBMeshRenderer_GltfMesh {
|
2808
|
+
gltfSrc: string;
|
2809
|
+
name: string;
|
2810
|
+
}
|
2811
|
+
|
2812
|
+
// @public (undocumented)
|
2813
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2814
|
+
// (undocumented)
|
2815
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2816
|
+
// (undocumented)
|
2817
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2818
|
+
}
|
2819
|
+
|
2611
2820
|
// @public (undocumented)
|
2612
2821
|
export interface PBMeshRenderer_PlaneMesh {
|
2613
2822
|
uvs: number[];
|
@@ -2853,6 +3062,21 @@ export namespace PBRealmInfo {
|
|
2853
3062
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2854
3063
|
}
|
2855
3064
|
|
3065
|
+
// @public (undocumented)
|
3066
|
+
export interface PBSpotlight {
|
3067
|
+
angle: number;
|
3068
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3069
|
+
innerAngle?: number | undefined;
|
3070
|
+
}
|
3071
|
+
|
3072
|
+
// @public (undocumented)
|
3073
|
+
export namespace PBSpotlight {
|
3074
|
+
// (undocumented)
|
3075
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
3076
|
+
// (undocumented)
|
3077
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
3078
|
+
}
|
3079
|
+
|
2856
3080
|
// @public (undocumented)
|
2857
3081
|
export interface PBTextShape {
|
2858
3082
|
font?: Font | undefined;
|
@@ -2902,6 +3126,9 @@ export interface PBTween {
|
|
2902
3126
|
} | {
|
2903
3127
|
$case: "scale";
|
2904
3128
|
scale: Scale;
|
3129
|
+
} | {
|
3130
|
+
$case: "textureMove";
|
3131
|
+
textureMove: TextureMove;
|
2905
3132
|
} | undefined;
|
2906
3133
|
playing?: boolean | undefined;
|
2907
3134
|
}
|
@@ -2964,6 +3191,23 @@ export namespace PBUiBackground {
|
|
2964
3191
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2965
3192
|
}
|
2966
3193
|
|
3194
|
+
// @public (undocumented)
|
3195
|
+
export interface PBUiCanvas {
|
3196
|
+
color?: PBColor4 | undefined;
|
3197
|
+
// (undocumented)
|
3198
|
+
height: number;
|
3199
|
+
// (undocumented)
|
3200
|
+
width: number;
|
3201
|
+
}
|
3202
|
+
|
3203
|
+
// @public (undocumented)
|
3204
|
+
export namespace PBUiCanvas {
|
3205
|
+
// (undocumented)
|
3206
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3207
|
+
// (undocumented)
|
3208
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3209
|
+
}
|
3210
|
+
|
2967
3211
|
// @public (undocumented)
|
2968
3212
|
export interface PBUiCanvasInformation {
|
2969
3213
|
devicePixelRatio: number;
|
@@ -3057,11 +3301,27 @@ export namespace PBUiInputResult {
|
|
3057
3301
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3058
3302
|
}
|
3059
3303
|
|
3304
|
+
// @public (undocumented)
|
3305
|
+
export interface PBUiScrollResult {
|
3306
|
+
// (undocumented)
|
3307
|
+
value: PBVector2 | undefined;
|
3308
|
+
}
|
3309
|
+
|
3310
|
+
// @public (undocumented)
|
3311
|
+
export namespace PBUiScrollResult {
|
3312
|
+
// (undocumented)
|
3313
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3314
|
+
// (undocumented)
|
3315
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3316
|
+
}
|
3317
|
+
|
3060
3318
|
// @public (undocumented)
|
3061
3319
|
export interface PBUiText {
|
3062
3320
|
color?: PBColor4 | undefined;
|
3063
3321
|
font?: Font | undefined;
|
3064
3322
|
fontSize?: number | undefined;
|
3323
|
+
outlineColor?: PBColor4 | undefined;
|
3324
|
+
outlineWidth?: number | undefined;
|
3065
3325
|
textAlign?: TextAlignMode | undefined;
|
3066
3326
|
textWrap?: TextWrap | undefined;
|
3067
3327
|
value: string;
|
@@ -3081,6 +3341,7 @@ export interface PBUiTransform {
|
|
3081
3341
|
alignItems?: YGAlign | undefined;
|
3082
3342
|
alignSelf: YGAlign;
|
3083
3343
|
display: YGDisplay;
|
3344
|
+
elementId?: string | undefined;
|
3084
3345
|
// (undocumented)
|
3085
3346
|
flexBasis: number;
|
3086
3347
|
flexBasisUnit: YGUnit;
|
@@ -3117,6 +3378,7 @@ export interface PBUiTransform {
|
|
3117
3378
|
// (undocumented)
|
3118
3379
|
minWidth: number;
|
3119
3380
|
minWidthUnit: YGUnit;
|
3381
|
+
opacity?: number | undefined;
|
3120
3382
|
overflow: YGOverflow;
|
3121
3383
|
// (undocumented)
|
3122
3384
|
paddingBottom: number;
|
@@ -3148,9 +3410,12 @@ export interface PBUiTransform {
|
|
3148
3410
|
positionType: YGPositionType;
|
3149
3411
|
// (undocumented)
|
3150
3412
|
rightOf: number;
|
3413
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3414
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3151
3415
|
// (undocumented)
|
3152
3416
|
width: number;
|
3153
3417
|
widthUnit: YGUnit;
|
3418
|
+
zIndex?: number | undefined;
|
3154
3419
|
}
|
3155
3420
|
|
3156
3421
|
// @public (undocumented)
|
@@ -3313,6 +3578,14 @@ export interface PointerEventsSystem {
|
|
3313
3578
|
}, cb: EventSystemCallback): void;
|
3314
3579
|
// @deprecated (undocumented)
|
3315
3580
|
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3581
|
+
onPointerHoverEnter(pointerData: {
|
3582
|
+
entity: Entity;
|
3583
|
+
opts?: Partial<EventSystemOptions>;
|
3584
|
+
}, cb: EventSystemCallback): void;
|
3585
|
+
onPointerHoverLeave(pointerData: {
|
3586
|
+
entity: Entity;
|
3587
|
+
opts?: Partial<EventSystemOptions>;
|
3588
|
+
}, cb: EventSystemCallback): void;
|
3316
3589
|
onPointerUp(pointerData: {
|
3317
3590
|
entity: Entity;
|
3318
3591
|
opts?: Partial<EventSystemOptions>;
|
@@ -3320,6 +3593,8 @@ export interface PointerEventsSystem {
|
|
3320
3593
|
// @deprecated (undocumented)
|
3321
3594
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
3322
3595
|
removeOnPointerDown(entity: Entity): void;
|
3596
|
+
removeOnPointerHoverEnter(entity: Entity): void;
|
3597
|
+
removeOnPointerHoverLeave(entity: Entity): void;
|
3323
3598
|
removeOnPointerUp(entity: Entity): void;
|
3324
3599
|
}
|
3325
3600
|
|
@@ -3591,6 +3866,8 @@ export interface ReactBasedUiSystem {
|
|
3591
3866
|
// (undocumented)
|
3592
3867
|
destroy(): void;
|
3593
3868
|
// (undocumented)
|
3869
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
3870
|
+
// (undocumented)
|
3594
3871
|
setUiRenderer(ui: UiComponent): void;
|
3595
3872
|
}
|
3596
3873
|
|
@@ -3830,12 +4107,50 @@ export namespace Schemas {
|
|
3830
4107
|
}) => void;
|
3831
4108
|
}
|
3832
4109
|
|
4110
|
+
// @public (undocumented)
|
4111
|
+
export interface ScrollPositionValue {
|
4112
|
+
// (undocumented)
|
4113
|
+
value?: {
|
4114
|
+
$case: "position";
|
4115
|
+
position: PBVector2;
|
4116
|
+
} | {
|
4117
|
+
$case: "reference";
|
4118
|
+
reference: string;
|
4119
|
+
} | undefined;
|
4120
|
+
}
|
4121
|
+
|
4122
|
+
// @public (undocumented)
|
4123
|
+
export namespace ScrollPositionValue {
|
4124
|
+
// (undocumented)
|
4125
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4126
|
+
// (undocumented)
|
4127
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4128
|
+
}
|
4129
|
+
|
4130
|
+
// @public
|
4131
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4132
|
+
|
4133
|
+
// @public (undocumented)
|
4134
|
+
export const enum ShowScrollBar {
|
4135
|
+
// (undocumented)
|
4136
|
+
SSB_BOTH = 0,
|
4137
|
+
// (undocumented)
|
4138
|
+
SSB_HIDDEN = 3,
|
4139
|
+
// (undocumented)
|
4140
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4141
|
+
// (undocumented)
|
4142
|
+
SSB_ONLY_VERTICAL = 1
|
4143
|
+
}
|
4144
|
+
|
3833
4145
|
// @public (undocumented)
|
3834
4146
|
export interface Spec {
|
3835
4147
|
// (undocumented)
|
3836
4148
|
[key: string]: ISchema;
|
3837
4149
|
}
|
3838
4150
|
|
4151
|
+
// @public (undocumented)
|
4152
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4153
|
+
|
3839
4154
|
// @alpha
|
3840
4155
|
export const SyncComponents: ISyncComponents;
|
3841
4156
|
|
@@ -3945,6 +4260,30 @@ export interface TextureHelper {
|
|
3945
4260
|
// @public
|
3946
4261
|
export type TextureMode = 'nine-slices' | 'center' | 'stretch';
|
3947
4262
|
|
4263
|
+
// @public (undocumented)
|
4264
|
+
export interface TextureMove {
|
4265
|
+
// (undocumented)
|
4266
|
+
end: PBVector2 | undefined;
|
4267
|
+
movementType?: TextureMovementType | undefined;
|
4268
|
+
// (undocumented)
|
4269
|
+
start: PBVector2 | undefined;
|
4270
|
+
}
|
4271
|
+
|
4272
|
+
// @public (undocumented)
|
4273
|
+
export namespace TextureMove {
|
4274
|
+
// (undocumented)
|
4275
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
|
4276
|
+
// (undocumented)
|
4277
|
+
export function encode(message: TextureMove, writer?: _m0.Writer): _m0.Writer;
|
4278
|
+
}
|
4279
|
+
|
4280
|
+
// @public (undocumented)
|
4281
|
+
export const enum TextureMovementType {
|
4282
|
+
TMT_OFFSET = 0,
|
4283
|
+
// (undocumented)
|
4284
|
+
TMT_TILING = 1
|
4285
|
+
}
|
4286
|
+
|
3948
4287
|
// @public (undocumented)
|
3949
4288
|
export interface TextureUnion {
|
3950
4289
|
// (undocumented)
|
@@ -3957,6 +4296,9 @@ export interface TextureUnion {
|
|
3957
4296
|
} | {
|
3958
4297
|
$case: "videoTexture";
|
3959
4298
|
videoTexture: VideoTexture;
|
4299
|
+
} | {
|
4300
|
+
$case: "uiTexture";
|
4301
|
+
uiTexture: UiCanvasTexture;
|
3960
4302
|
} | undefined;
|
3961
4303
|
}
|
3962
4304
|
|
@@ -4133,9 +4475,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4133
4475
|
variant?: 'primary' | 'secondary';
|
4134
4476
|
}
|
4135
4477
|
|
4478
|
+
// @public (undocumented)
|
4479
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4480
|
+
|
4136
4481
|
// @public (undocumented)
|
4137
4482
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4138
4483
|
|
4484
|
+
// @public (undocumented)
|
4485
|
+
export interface UiCanvasTexture {
|
4486
|
+
filterMode?: TextureFilterMode | undefined;
|
4487
|
+
// (undocumented)
|
4488
|
+
uiCanvasEntity: number;
|
4489
|
+
wrapMode?: TextureWrapMode | undefined;
|
4490
|
+
}
|
4491
|
+
|
4492
|
+
// @public (undocumented)
|
4493
|
+
export namespace UiCanvasTexture {
|
4494
|
+
// (undocumented)
|
4495
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4496
|
+
// (undocumented)
|
4497
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4498
|
+
}
|
4499
|
+
|
4139
4500
|
// @public (undocumented)
|
4140
4501
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4141
4502
|
|
@@ -4190,6 +4551,8 @@ export interface UiLabelProps {
|
|
4190
4551
|
color?: PBColor4 | undefined;
|
4191
4552
|
font?: UiFontType | undefined;
|
4192
4553
|
fontSize?: ScaleUnit | undefined;
|
4554
|
+
outlineColor?: PBColor4 | undefined;
|
4555
|
+
outlineWidth?: number | undefined;
|
4193
4556
|
textAlign?: TextAlignType | undefined;
|
4194
4557
|
textWrap?: UiTextWrapType | undefined;
|
4195
4558
|
value: string;
|
@@ -4198,6 +4561,9 @@ export interface UiLabelProps {
|
|
4198
4561
|
// @public
|
4199
4562
|
export type uint32 = number;
|
4200
4563
|
|
4564
|
+
// @public (undocumented)
|
4565
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4566
|
+
|
4201
4567
|
// @public (undocumented)
|
4202
4568
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4203
4569
|
|
@@ -4220,6 +4586,7 @@ export interface UiTransformProps {
|
|
4220
4586
|
alignItems?: AlignType;
|
4221
4587
|
alignSelf?: AlignType;
|
4222
4588
|
display?: DisplayType;
|
4589
|
+
elementId?: string;
|
4223
4590
|
flex?: number;
|
4224
4591
|
flexBasis?: number;
|
4225
4592
|
flexDirection?: FlexDirectionType;
|
@@ -4233,12 +4600,16 @@ export interface UiTransformProps {
|
|
4233
4600
|
maxWidth?: PositionUnit;
|
4234
4601
|
minHeight?: PositionUnit;
|
4235
4602
|
minWidth?: PositionUnit;
|
4603
|
+
opacity?: number;
|
4236
4604
|
overflow?: OverflowType;
|
4237
4605
|
padding?: Partial<Position> | PositionShorthand;
|
4238
4606
|
pointerFilter?: PointerFilterType;
|
4239
4607
|
position?: Partial<Position> | PositionShorthand;
|
4240
4608
|
positionType?: PositionType;
|
4609
|
+
scrollPosition?: PBVector2 | string;
|
4610
|
+
scrollVisible?: ScrollVisibleType;
|
4241
4611
|
width?: PositionUnit | 'auto';
|
4612
|
+
zIndex?: number;
|
4242
4613
|
}
|
4243
4614
|
|
4244
4615
|
// @public (undocumented)
|