@dcl/playground-assets 7.6.8-12354882097.commit-0c727b8 → 7.6.8-12529128672.commit-d6adcb3
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 +580 -12
- package/dist/beta.d.ts +580 -12
- package/dist/index.bundled.d.ts +580 -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 +580 -12
- package/etc/playground-assets.api.json +7139 -1556
- package/etc/playground-assets.api.md +357 -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>>;
|
@@ -1187,6 +1246,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1187
1246
|
direction?: PBVector3;
|
1188
1247
|
};
|
1189
1248
|
|
1249
|
+
// @public (undocumented)
|
1250
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1251
|
+
|
1190
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)
|
1191
1253
|
//
|
1192
1254
|
// @public (undocumented)
|
@@ -1205,6 +1267,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1205
1267
|
// @public (undocumented)
|
1206
1268
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1207
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
|
+
|
1208
1286
|
// @public (undocumented)
|
1209
1287
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1210
1288
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1556,6 +1634,9 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1556
1634
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1557
1635
|
}
|
1558
1636
|
|
1637
|
+
// @public (undocumented)
|
1638
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1639
|
+
|
1559
1640
|
// @public
|
1560
1641
|
export type Listeners = {
|
1561
1642
|
onMouseDown?: Callback;
|
@@ -1801,6 +1882,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1801
1882
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1802
1883
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1803
1884
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1885
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1804
1886
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1805
1887
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1806
1888
|
}
|
@@ -1814,6 +1896,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1814
1896
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1815
1897
|
setBox(entity: Entity, uvs?: number[]): void;
|
1816
1898
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1899
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1817
1900
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1818
1901
|
setSphere(entity: Entity): void;
|
1819
1902
|
}
|
@@ -2208,6 +2291,9 @@ export interface PBAvatarModifierArea {
|
|
2208
2291
|
area: PBVector3 | undefined;
|
2209
2292
|
excludeIds: string[];
|
2210
2293
|
modifiers: AvatarModifierType[];
|
2294
|
+
// (undocumented)
|
2295
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2296
|
+
useColliderRange?: boolean | undefined;
|
2211
2297
|
}
|
2212
2298
|
|
2213
2299
|
// @public (undocumented)
|
@@ -2270,7 +2356,10 @@ export namespace PBCameraMode {
|
|
2270
2356
|
// @public (undocumented)
|
2271
2357
|
export interface PBCameraModeArea {
|
2272
2358
|
area: PBVector3 | undefined;
|
2359
|
+
// (undocumented)
|
2360
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2273
2361
|
mode: CameraType;
|
2362
|
+
useColliderRange?: boolean | undefined;
|
2274
2363
|
}
|
2275
2364
|
|
2276
2365
|
// @public (undocumented)
|
@@ -2334,6 +2423,21 @@ export namespace PBEngineInfo {
|
|
2334
2423
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2335
2424
|
}
|
2336
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
|
+
|
2337
2441
|
// @public (undocumented)
|
2338
2442
|
export interface PBGltfContainer {
|
2339
2443
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2351,8 +2455,13 @@ export namespace PBGltfContainer {
|
|
2351
2455
|
|
2352
2456
|
// @public (undocumented)
|
2353
2457
|
export interface PBGltfContainerLoadingState {
|
2458
|
+
animationNames: string[];
|
2354
2459
|
// (undocumented)
|
2355
2460
|
currentState: LoadingState;
|
2461
|
+
materialNames: string[];
|
2462
|
+
meshNames: string[];
|
2463
|
+
nodePaths: string[];
|
2464
|
+
skinNames: string[];
|
2356
2465
|
}
|
2357
2466
|
|
2358
2467
|
// @public (undocumented)
|
@@ -2363,6 +2472,35 @@ export namespace PBGltfContainerLoadingState {
|
|
2363
2472
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2364
2473
|
}
|
2365
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
|
+
|
2366
2504
|
// @public (undocumented)
|
2367
2505
|
export interface PBInputModifier {
|
2368
2506
|
// (undocumented)
|
@@ -2404,6 +2542,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2404
2542
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2405
2543
|
}
|
2406
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
|
+
|
2407
2561
|
// @public (undocumented)
|
2408
2562
|
export interface PBMainCamera {
|
2409
2563
|
virtualCameraEntity?: number | undefined;
|
@@ -2419,6 +2573,7 @@ export namespace PBMainCamera {
|
|
2419
2573
|
|
2420
2574
|
// @public (undocumented)
|
2421
2575
|
export interface PBMaterial {
|
2576
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2422
2577
|
// (undocumented)
|
2423
2578
|
material?: {
|
2424
2579
|
$case: "unlit";
|
@@ -2437,6 +2592,22 @@ export namespace PBMaterial {
|
|
2437
2592
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2438
2593
|
}
|
2439
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
|
+
|
2440
2611
|
// @public (undocumented)
|
2441
2612
|
export interface PBMaterial_PbrMaterial {
|
2442
2613
|
albedoColor?: PBColor4 | undefined;
|
@@ -2498,6 +2669,9 @@ export interface PBMeshCollider {
|
|
2498
2669
|
} | {
|
2499
2670
|
$case: "plane";
|
2500
2671
|
plane: PBMeshCollider_PlaneMesh;
|
2672
|
+
} | {
|
2673
|
+
$case: "gltf";
|
2674
|
+
gltf: PBMeshCollider_GltfMesh;
|
2501
2675
|
} | undefined;
|
2502
2676
|
}
|
2503
2677
|
|
@@ -2535,6 +2709,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2535
2709
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2536
2710
|
}
|
2537
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
|
+
|
2538
2726
|
// @public (undocumented)
|
2539
2727
|
export interface PBMeshCollider_PlaneMesh {
|
2540
2728
|
}
|
@@ -2574,6 +2762,9 @@ export interface PBMeshRenderer {
|
|
2574
2762
|
} | {
|
2575
2763
|
$case: "plane";
|
2576
2764
|
plane: PBMeshRenderer_PlaneMesh;
|
2765
|
+
} | {
|
2766
|
+
$case: "gltf";
|
2767
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2577
2768
|
} | undefined;
|
2578
2769
|
}
|
2579
2770
|
|
@@ -2612,6 +2803,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2612
2803
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2613
2804
|
}
|
2614
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
|
+
|
2615
2820
|
// @public (undocumented)
|
2616
2821
|
export interface PBMeshRenderer_PlaneMesh {
|
2617
2822
|
uvs: number[];
|
@@ -2857,6 +3062,21 @@ export namespace PBRealmInfo {
|
|
2857
3062
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2858
3063
|
}
|
2859
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
|
+
|
2860
3080
|
// @public (undocumented)
|
2861
3081
|
export interface PBTextShape {
|
2862
3082
|
font?: Font | undefined;
|
@@ -2906,6 +3126,9 @@ export interface PBTween {
|
|
2906
3126
|
} | {
|
2907
3127
|
$case: "scale";
|
2908
3128
|
scale: Scale;
|
3129
|
+
} | {
|
3130
|
+
$case: "textureMove";
|
3131
|
+
textureMove: TextureMove;
|
2909
3132
|
} | undefined;
|
2910
3133
|
playing?: boolean | undefined;
|
2911
3134
|
}
|
@@ -2968,6 +3191,23 @@ export namespace PBUiBackground {
|
|
2968
3191
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2969
3192
|
}
|
2970
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
|
+
|
2971
3211
|
// @public (undocumented)
|
2972
3212
|
export interface PBUiCanvasInformation {
|
2973
3213
|
devicePixelRatio: number;
|
@@ -3061,11 +3301,27 @@ export namespace PBUiInputResult {
|
|
3061
3301
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3062
3302
|
}
|
3063
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
|
+
|
3064
3318
|
// @public (undocumented)
|
3065
3319
|
export interface PBUiText {
|
3066
3320
|
color?: PBColor4 | undefined;
|
3067
3321
|
font?: Font | undefined;
|
3068
3322
|
fontSize?: number | undefined;
|
3323
|
+
outlineColor?: PBColor4 | undefined;
|
3324
|
+
outlineWidth?: number | undefined;
|
3069
3325
|
textAlign?: TextAlignMode | undefined;
|
3070
3326
|
textWrap?: TextWrap | undefined;
|
3071
3327
|
value: string;
|
@@ -3085,6 +3341,7 @@ export interface PBUiTransform {
|
|
3085
3341
|
alignItems?: YGAlign | undefined;
|
3086
3342
|
alignSelf: YGAlign;
|
3087
3343
|
display: YGDisplay;
|
3344
|
+
elementId?: string | undefined;
|
3088
3345
|
// (undocumented)
|
3089
3346
|
flexBasis: number;
|
3090
3347
|
flexBasisUnit: YGUnit;
|
@@ -3121,6 +3378,7 @@ export interface PBUiTransform {
|
|
3121
3378
|
// (undocumented)
|
3122
3379
|
minWidth: number;
|
3123
3380
|
minWidthUnit: YGUnit;
|
3381
|
+
opacity?: number | undefined;
|
3124
3382
|
overflow: YGOverflow;
|
3125
3383
|
// (undocumented)
|
3126
3384
|
paddingBottom: number;
|
@@ -3152,9 +3410,12 @@ export interface PBUiTransform {
|
|
3152
3410
|
positionType: YGPositionType;
|
3153
3411
|
// (undocumented)
|
3154
3412
|
rightOf: number;
|
3413
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3414
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3155
3415
|
// (undocumented)
|
3156
3416
|
width: number;
|
3157
3417
|
widthUnit: YGUnit;
|
3418
|
+
zIndex?: number | undefined;
|
3158
3419
|
}
|
3159
3420
|
|
3160
3421
|
// @public (undocumented)
|
@@ -3605,6 +3866,8 @@ export interface ReactBasedUiSystem {
|
|
3605
3866
|
// (undocumented)
|
3606
3867
|
destroy(): void;
|
3607
3868
|
// (undocumented)
|
3869
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
3870
|
+
// (undocumented)
|
3608
3871
|
setUiRenderer(ui: UiComponent): void;
|
3609
3872
|
}
|
3610
3873
|
|
@@ -3844,12 +4107,50 @@ export namespace Schemas {
|
|
3844
4107
|
}) => void;
|
3845
4108
|
}
|
3846
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
|
+
|
3847
4145
|
// @public (undocumented)
|
3848
4146
|
export interface Spec {
|
3849
4147
|
// (undocumented)
|
3850
4148
|
[key: string]: ISchema;
|
3851
4149
|
}
|
3852
4150
|
|
4151
|
+
// @public (undocumented)
|
4152
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4153
|
+
|
3853
4154
|
// @alpha
|
3854
4155
|
export const SyncComponents: ISyncComponents;
|
3855
4156
|
|
@@ -3959,6 +4260,30 @@ export interface TextureHelper {
|
|
3959
4260
|
// @public
|
3960
4261
|
export type TextureMode = 'nine-slices' | 'center' | 'stretch';
|
3961
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
|
+
|
3962
4287
|
// @public (undocumented)
|
3963
4288
|
export interface TextureUnion {
|
3964
4289
|
// (undocumented)
|
@@ -3971,6 +4296,9 @@ export interface TextureUnion {
|
|
3971
4296
|
} | {
|
3972
4297
|
$case: "videoTexture";
|
3973
4298
|
videoTexture: VideoTexture;
|
4299
|
+
} | {
|
4300
|
+
$case: "uiTexture";
|
4301
|
+
uiTexture: UiCanvasTexture;
|
3974
4302
|
} | undefined;
|
3975
4303
|
}
|
3976
4304
|
|
@@ -4147,9 +4475,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4147
4475
|
variant?: 'primary' | 'secondary';
|
4148
4476
|
}
|
4149
4477
|
|
4478
|
+
// @public (undocumented)
|
4479
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4480
|
+
|
4150
4481
|
// @public (undocumented)
|
4151
4482
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4152
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
|
+
|
4153
4500
|
// @public (undocumented)
|
4154
4501
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4155
4502
|
|
@@ -4204,6 +4551,8 @@ export interface UiLabelProps {
|
|
4204
4551
|
color?: PBColor4 | undefined;
|
4205
4552
|
font?: UiFontType | undefined;
|
4206
4553
|
fontSize?: ScaleUnit | undefined;
|
4554
|
+
outlineColor?: PBColor4 | undefined;
|
4555
|
+
outlineWidth?: number | undefined;
|
4207
4556
|
textAlign?: TextAlignType | undefined;
|
4208
4557
|
textWrap?: UiTextWrapType | undefined;
|
4209
4558
|
value: string;
|
@@ -4212,6 +4561,9 @@ export interface UiLabelProps {
|
|
4212
4561
|
// @public
|
4213
4562
|
export type uint32 = number;
|
4214
4563
|
|
4564
|
+
// @public (undocumented)
|
4565
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4566
|
+
|
4215
4567
|
// @public (undocumented)
|
4216
4568
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4217
4569
|
|
@@ -4234,6 +4586,7 @@ export interface UiTransformProps {
|
|
4234
4586
|
alignItems?: AlignType;
|
4235
4587
|
alignSelf?: AlignType;
|
4236
4588
|
display?: DisplayType;
|
4589
|
+
elementId?: string;
|
4237
4590
|
flex?: number;
|
4238
4591
|
flexBasis?: number;
|
4239
4592
|
flexDirection?: FlexDirectionType;
|
@@ -4247,12 +4600,16 @@ export interface UiTransformProps {
|
|
4247
4600
|
maxWidth?: PositionUnit;
|
4248
4601
|
minHeight?: PositionUnit;
|
4249
4602
|
minWidth?: PositionUnit;
|
4603
|
+
opacity?: number;
|
4250
4604
|
overflow?: OverflowType;
|
4251
4605
|
padding?: Partial<Position> | PositionShorthand;
|
4252
4606
|
pointerFilter?: PointerFilterType;
|
4253
4607
|
position?: Partial<Position> | PositionShorthand;
|
4254
4608
|
positionType?: PositionType;
|
4609
|
+
scrollPosition?: PBVector2 | string;
|
4610
|
+
scrollVisible?: ScrollVisibleType;
|
4255
4611
|
width?: PositionUnit | 'auto';
|
4612
|
+
zIndex?: number;
|
4256
4613
|
}
|
4257
4614
|
|
4258
4615
|
// @public (undocumented)
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.6.8-
|
4
|
+
"version": "7.6.8-12529128672.commit-d6adcb3",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.6.8-
|
8
|
-
"@dcl/sdk": "7.6.8-
|
7
|
+
"@dcl/js-runtime": "7.6.8-12529128672.commit-d6adcb3",
|
8
|
+
"@dcl/sdk": "7.6.8-12529128672.commit-d6adcb3"
|
9
9
|
},
|
10
10
|
"devDependencies": {
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
@@ -32,5 +32,5 @@
|
|
32
32
|
},
|
33
33
|
"types": "./dist/index.d.ts",
|
34
34
|
"typings": "./dist/index.d.ts",
|
35
|
-
"commit": "
|
35
|
+
"commit": "d6adcb304e6e3df4207e35172a722c2b02401ab7"
|
36
36
|
}
|