@dcl/playground-assets 7.5.8-10944620790.commit-1bf6997 → 7.5.8-10967536696.commit-cfc4ce5
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 +537 -4
- package/dist/beta.d.ts +537 -4
- package/dist/index.bundled.d.ts +537 -4
- 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 +537 -4
- package/etc/playground-assets.api.json +6181 -985
- package/etc/playground-assets.api.md +328 -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>>;
|
@@ -1179,6 +1238,9 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1179
1238
|
direction?: PBVector3;
|
1180
1239
|
};
|
1181
1240
|
|
1241
|
+
// @public (undocumented)
|
1242
|
+
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1243
|
+
|
1182
1244
|
// 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)
|
1183
1245
|
//
|
1184
1246
|
// @public (undocumented)
|
@@ -1197,6 +1259,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1197
1259
|
// @public (undocumented)
|
1198
1260
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1199
1261
|
|
1262
|
+
// @public (undocumented)
|
1263
|
+
export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
1264
|
+
|
1265
|
+
// @public (undocumented)
|
1266
|
+
export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
1267
|
+
|
1268
|
+
// @public (undocumented)
|
1269
|
+
export const enum GltfNodeStateValue {
|
1270
|
+
// (undocumented)
|
1271
|
+
GNSV_FAILED = 1,
|
1272
|
+
// (undocumented)
|
1273
|
+
GNSV_PENDING = 0,
|
1274
|
+
// (undocumented)
|
1275
|
+
GNSV_READY = 2
|
1276
|
+
}
|
1277
|
+
|
1200
1278
|
// @public (undocumented)
|
1201
1279
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1202
1280
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1535,6 +1613,9 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1535
1613
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1536
1614
|
}
|
1537
1615
|
|
1616
|
+
// @public (undocumented)
|
1617
|
+
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1618
|
+
|
1538
1619
|
// @public
|
1539
1620
|
export type Listeners = {
|
1540
1621
|
onMouseDown?: Callback;
|
@@ -1778,6 +1859,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1778
1859
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1779
1860
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1780
1861
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1862
|
+
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1781
1863
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1782
1864
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1783
1865
|
}
|
@@ -1791,6 +1873,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1791
1873
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1792
1874
|
setBox(entity: Entity, uvs?: number[]): void;
|
1793
1875
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1876
|
+
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1794
1877
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1795
1878
|
setSphere(entity: Entity): void;
|
1796
1879
|
}
|
@@ -2185,6 +2268,9 @@ export interface PBAvatarModifierArea {
|
|
2185
2268
|
area: PBVector3 | undefined;
|
2186
2269
|
excludeIds: string[];
|
2187
2270
|
modifiers: AvatarModifierType[];
|
2271
|
+
// (undocumented)
|
2272
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
2273
|
+
useColliderRange?: boolean | undefined;
|
2188
2274
|
}
|
2189
2275
|
|
2190
2276
|
// @public (undocumented)
|
@@ -2247,7 +2333,10 @@ export namespace PBCameraMode {
|
|
2247
2333
|
// @public (undocumented)
|
2248
2334
|
export interface PBCameraModeArea {
|
2249
2335
|
area: PBVector3 | undefined;
|
2336
|
+
// (undocumented)
|
2337
|
+
cinematicSettings?: CinematicSettings | undefined;
|
2250
2338
|
mode: CameraType;
|
2339
|
+
useColliderRange?: boolean | undefined;
|
2251
2340
|
}
|
2252
2341
|
|
2253
2342
|
// @public (undocumented)
|
@@ -2311,6 +2400,21 @@ export namespace PBEngineInfo {
|
|
2311
2400
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2312
2401
|
}
|
2313
2402
|
|
2403
|
+
// @public (undocumented)
|
2404
|
+
export interface PBGlobalLight {
|
2405
|
+
ambientBrightness?: number | undefined;
|
2406
|
+
ambientColor?: PBColor3 | undefined;
|
2407
|
+
direction?: PBVector3 | undefined;
|
2408
|
+
}
|
2409
|
+
|
2410
|
+
// @public (undocumented)
|
2411
|
+
export namespace PBGlobalLight {
|
2412
|
+
// (undocumented)
|
2413
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
2414
|
+
// (undocumented)
|
2415
|
+
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
2416
|
+
}
|
2417
|
+
|
2314
2418
|
// @public (undocumented)
|
2315
2419
|
export interface PBGltfContainer {
|
2316
2420
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2328,8 +2432,13 @@ export namespace PBGltfContainer {
|
|
2328
2432
|
|
2329
2433
|
// @public (undocumented)
|
2330
2434
|
export interface PBGltfContainerLoadingState {
|
2435
|
+
animationNames: string[];
|
2331
2436
|
// (undocumented)
|
2332
2437
|
currentState: LoadingState;
|
2438
|
+
materialNames: string[];
|
2439
|
+
meshNames: string[];
|
2440
|
+
nodePaths: string[];
|
2441
|
+
skinNames: string[];
|
2333
2442
|
}
|
2334
2443
|
|
2335
2444
|
// @public (undocumented)
|
@@ -2340,6 +2449,35 @@ export namespace PBGltfContainerLoadingState {
|
|
2340
2449
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2341
2450
|
}
|
2342
2451
|
|
2452
|
+
// @public (undocumented)
|
2453
|
+
export interface PBGltfNode {
|
2454
|
+
path: string;
|
2455
|
+
}
|
2456
|
+
|
2457
|
+
// @public (undocumented)
|
2458
|
+
export namespace PBGltfNode {
|
2459
|
+
// (undocumented)
|
2460
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
2461
|
+
// (undocumented)
|
2462
|
+
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
2463
|
+
}
|
2464
|
+
|
2465
|
+
// @public (undocumented)
|
2466
|
+
export interface PBGltfNodeState {
|
2467
|
+
// (undocumented)
|
2468
|
+
error?: string | undefined;
|
2469
|
+
// (undocumented)
|
2470
|
+
state: GltfNodeStateValue;
|
2471
|
+
}
|
2472
|
+
|
2473
|
+
// @public (undocumented)
|
2474
|
+
export namespace PBGltfNodeState {
|
2475
|
+
// (undocumented)
|
2476
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
2477
|
+
// (undocumented)
|
2478
|
+
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
2479
|
+
}
|
2480
|
+
|
2343
2481
|
// @public (undocumented)
|
2344
2482
|
export interface PBInputModifier {
|
2345
2483
|
// (undocumented)
|
@@ -2381,6 +2519,22 @@ export namespace PBInputModifier_StandardInput {
|
|
2381
2519
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2382
2520
|
}
|
2383
2521
|
|
2522
|
+
// @public (undocumented)
|
2523
|
+
export interface PBLight {
|
2524
|
+
color?: PBColor3 | undefined;
|
2525
|
+
enabled?: boolean | undefined;
|
2526
|
+
illuminance?: number | undefined;
|
2527
|
+
shadows?: boolean | undefined;
|
2528
|
+
}
|
2529
|
+
|
2530
|
+
// @public (undocumented)
|
2531
|
+
export namespace PBLight {
|
2532
|
+
// (undocumented)
|
2533
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
2534
|
+
// (undocumented)
|
2535
|
+
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
2536
|
+
}
|
2537
|
+
|
2384
2538
|
// @public (undocumented)
|
2385
2539
|
export interface PBMainCamera {
|
2386
2540
|
virtualCameraEntity?: number | undefined;
|
@@ -2396,6 +2550,7 @@ export namespace PBMainCamera {
|
|
2396
2550
|
|
2397
2551
|
// @public (undocumented)
|
2398
2552
|
export interface PBMaterial {
|
2553
|
+
gltf?: PBMaterial_GltfMaterial | undefined;
|
2399
2554
|
// (undocumented)
|
2400
2555
|
material?: {
|
2401
2556
|
$case: "unlit";
|
@@ -2414,6 +2569,22 @@ export namespace PBMaterial {
|
|
2414
2569
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2415
2570
|
}
|
2416
2571
|
|
2572
|
+
// @public (undocumented)
|
2573
|
+
export interface PBMaterial_GltfMaterial {
|
2574
|
+
// (undocumented)
|
2575
|
+
gltfSrc: string;
|
2576
|
+
// (undocumented)
|
2577
|
+
name: string;
|
2578
|
+
}
|
2579
|
+
|
2580
|
+
// @public (undocumented)
|
2581
|
+
export namespace PBMaterial_GltfMaterial {
|
2582
|
+
// (undocumented)
|
2583
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
2584
|
+
// (undocumented)
|
2585
|
+
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
2586
|
+
}
|
2587
|
+
|
2417
2588
|
// @public (undocumented)
|
2418
2589
|
export interface PBMaterial_PbrMaterial {
|
2419
2590
|
albedoColor?: PBColor4 | undefined;
|
@@ -2473,6 +2644,9 @@ export interface PBMeshCollider {
|
|
2473
2644
|
} | {
|
2474
2645
|
$case: "plane";
|
2475
2646
|
plane: PBMeshCollider_PlaneMesh;
|
2647
|
+
} | {
|
2648
|
+
$case: "gltf";
|
2649
|
+
gltf: PBMeshCollider_GltfMesh;
|
2476
2650
|
} | undefined;
|
2477
2651
|
}
|
2478
2652
|
|
@@ -2510,6 +2684,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2510
2684
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2511
2685
|
}
|
2512
2686
|
|
2687
|
+
// @public (undocumented)
|
2688
|
+
export interface PBMeshCollider_GltfMesh {
|
2689
|
+
gltfSrc: string;
|
2690
|
+
name: string;
|
2691
|
+
}
|
2692
|
+
|
2693
|
+
// @public (undocumented)
|
2694
|
+
export namespace PBMeshCollider_GltfMesh {
|
2695
|
+
// (undocumented)
|
2696
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2697
|
+
// (undocumented)
|
2698
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2699
|
+
}
|
2700
|
+
|
2513
2701
|
// @public (undocumented)
|
2514
2702
|
export interface PBMeshCollider_PlaneMesh {
|
2515
2703
|
}
|
@@ -2549,6 +2737,9 @@ export interface PBMeshRenderer {
|
|
2549
2737
|
} | {
|
2550
2738
|
$case: "plane";
|
2551
2739
|
plane: PBMeshRenderer_PlaneMesh;
|
2740
|
+
} | {
|
2741
|
+
$case: "gltf";
|
2742
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2552
2743
|
} | undefined;
|
2553
2744
|
}
|
2554
2745
|
|
@@ -2587,6 +2778,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2587
2778
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2588
2779
|
}
|
2589
2780
|
|
2781
|
+
// @public (undocumented)
|
2782
|
+
export interface PBMeshRenderer_GltfMesh {
|
2783
|
+
gltfSrc: string;
|
2784
|
+
name: string;
|
2785
|
+
}
|
2786
|
+
|
2787
|
+
// @public (undocumented)
|
2788
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2789
|
+
// (undocumented)
|
2790
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2791
|
+
// (undocumented)
|
2792
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2793
|
+
}
|
2794
|
+
|
2590
2795
|
// @public (undocumented)
|
2591
2796
|
export interface PBMeshRenderer_PlaneMesh {
|
2592
2797
|
uvs: number[];
|
@@ -2829,6 +3034,21 @@ export namespace PBRealmInfo {
|
|
2829
3034
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2830
3035
|
}
|
2831
3036
|
|
3037
|
+
// @public (undocumented)
|
3038
|
+
export interface PBSpotlight {
|
3039
|
+
angle: number;
|
3040
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3041
|
+
innerAngle?: number | undefined;
|
3042
|
+
}
|
3043
|
+
|
3044
|
+
// @public (undocumented)
|
3045
|
+
export namespace PBSpotlight {
|
3046
|
+
// (undocumented)
|
3047
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
3048
|
+
// (undocumented)
|
3049
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
3050
|
+
}
|
3051
|
+
|
2832
3052
|
// @public (undocumented)
|
2833
3053
|
export interface PBTextShape {
|
2834
3054
|
font?: Font | undefined;
|
@@ -2940,6 +3160,23 @@ export namespace PBUiBackground {
|
|
2940
3160
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2941
3161
|
}
|
2942
3162
|
|
3163
|
+
// @public (undocumented)
|
3164
|
+
export interface PBUiCanvas {
|
3165
|
+
color?: PBColor4 | undefined;
|
3166
|
+
// (undocumented)
|
3167
|
+
height: number;
|
3168
|
+
// (undocumented)
|
3169
|
+
width: number;
|
3170
|
+
}
|
3171
|
+
|
3172
|
+
// @public (undocumented)
|
3173
|
+
export namespace PBUiCanvas {
|
3174
|
+
// (undocumented)
|
3175
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3176
|
+
// (undocumented)
|
3177
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3178
|
+
}
|
3179
|
+
|
2943
3180
|
// @public (undocumented)
|
2944
3181
|
export interface PBUiCanvasInformation {
|
2945
3182
|
devicePixelRatio: number;
|
@@ -3033,11 +3270,27 @@ export namespace PBUiInputResult {
|
|
3033
3270
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3034
3271
|
}
|
3035
3272
|
|
3273
|
+
// @public (undocumented)
|
3274
|
+
export interface PBUiScrollResult {
|
3275
|
+
// (undocumented)
|
3276
|
+
value: PBVector2 | undefined;
|
3277
|
+
}
|
3278
|
+
|
3279
|
+
// @public (undocumented)
|
3280
|
+
export namespace PBUiScrollResult {
|
3281
|
+
// (undocumented)
|
3282
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3283
|
+
// (undocumented)
|
3284
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3285
|
+
}
|
3286
|
+
|
3036
3287
|
// @public (undocumented)
|
3037
3288
|
export interface PBUiText {
|
3038
3289
|
color?: PBColor4 | undefined;
|
3039
3290
|
font?: Font | undefined;
|
3040
3291
|
fontSize?: number | undefined;
|
3292
|
+
outlineColor?: PBColor4 | undefined;
|
3293
|
+
outlineWidth?: number | undefined;
|
3041
3294
|
textAlign?: TextAlignMode | undefined;
|
3042
3295
|
textWrap?: TextWrap | undefined;
|
3043
3296
|
value: string;
|
@@ -3057,6 +3310,7 @@ export interface PBUiTransform {
|
|
3057
3310
|
alignItems?: YGAlign | undefined;
|
3058
3311
|
alignSelf: YGAlign;
|
3059
3312
|
display: YGDisplay;
|
3313
|
+
elementId?: string | undefined;
|
3060
3314
|
// (undocumented)
|
3061
3315
|
flexBasis: number;
|
3062
3316
|
flexBasisUnit: YGUnit;
|
@@ -3093,6 +3347,7 @@ export interface PBUiTransform {
|
|
3093
3347
|
// (undocumented)
|
3094
3348
|
minWidth: number;
|
3095
3349
|
minWidthUnit: YGUnit;
|
3350
|
+
opacity?: number | undefined;
|
3096
3351
|
overflow: YGOverflow;
|
3097
3352
|
// (undocumented)
|
3098
3353
|
paddingBottom: number;
|
@@ -3124,6 +3379,8 @@ export interface PBUiTransform {
|
|
3124
3379
|
positionType: YGPositionType;
|
3125
3380
|
// (undocumented)
|
3126
3381
|
rightOf: number;
|
3382
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3383
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3127
3384
|
// (undocumented)
|
3128
3385
|
width: number;
|
3129
3386
|
widthUnit: YGUnit;
|
@@ -3567,6 +3824,8 @@ export interface ReactBasedUiSystem {
|
|
3567
3824
|
// (undocumented)
|
3568
3825
|
destroy(): void;
|
3569
3826
|
// (undocumented)
|
3827
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
3828
|
+
// (undocumented)
|
3570
3829
|
setUiRenderer(ui: UiComponent): void;
|
3571
3830
|
}
|
3572
3831
|
|
@@ -3806,12 +4065,50 @@ export namespace Schemas {
|
|
3806
4065
|
}) => void;
|
3807
4066
|
}
|
3808
4067
|
|
4068
|
+
// @public (undocumented)
|
4069
|
+
export interface ScrollPositionValue {
|
4070
|
+
// (undocumented)
|
4071
|
+
value?: {
|
4072
|
+
$case: "position";
|
4073
|
+
position: PBVector2;
|
4074
|
+
} | {
|
4075
|
+
$case: "reference";
|
4076
|
+
reference: string;
|
4077
|
+
} | undefined;
|
4078
|
+
}
|
4079
|
+
|
4080
|
+
// @public (undocumented)
|
4081
|
+
export namespace ScrollPositionValue {
|
4082
|
+
// (undocumented)
|
4083
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4084
|
+
// (undocumented)
|
4085
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4086
|
+
}
|
4087
|
+
|
4088
|
+
// @public
|
4089
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4090
|
+
|
4091
|
+
// @public (undocumented)
|
4092
|
+
export const enum ShowScrollBar {
|
4093
|
+
// (undocumented)
|
4094
|
+
SSB_BOTH = 0,
|
4095
|
+
// (undocumented)
|
4096
|
+
SSB_HIDDEN = 3,
|
4097
|
+
// (undocumented)
|
4098
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4099
|
+
// (undocumented)
|
4100
|
+
SSB_ONLY_VERTICAL = 1
|
4101
|
+
}
|
4102
|
+
|
3809
4103
|
// @public (undocumented)
|
3810
4104
|
export interface Spec {
|
3811
4105
|
// (undocumented)
|
3812
4106
|
[key: string]: ISchema;
|
3813
4107
|
}
|
3814
4108
|
|
4109
|
+
// @public (undocumented)
|
4110
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4111
|
+
|
3815
4112
|
// @alpha
|
3816
4113
|
export const SyncComponents: ISyncComponents;
|
3817
4114
|
|
@@ -3931,6 +4228,9 @@ export interface TextureUnion {
|
|
3931
4228
|
} | {
|
3932
4229
|
$case: "videoTexture";
|
3933
4230
|
videoTexture: VideoTexture;
|
4231
|
+
} | {
|
4232
|
+
$case: "uiTexture";
|
4233
|
+
uiTexture: UiCanvasTexture;
|
3934
4234
|
} | undefined;
|
3935
4235
|
}
|
3936
4236
|
|
@@ -4107,9 +4407,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4107
4407
|
variant?: 'primary' | 'secondary';
|
4108
4408
|
}
|
4109
4409
|
|
4410
|
+
// @public (undocumented)
|
4411
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4412
|
+
|
4110
4413
|
// @public (undocumented)
|
4111
4414
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4112
4415
|
|
4416
|
+
// @public (undocumented)
|
4417
|
+
export interface UiCanvasTexture {
|
4418
|
+
filterMode?: TextureFilterMode | undefined;
|
4419
|
+
// (undocumented)
|
4420
|
+
uiCanvasEntity: number;
|
4421
|
+
wrapMode?: TextureWrapMode | undefined;
|
4422
|
+
}
|
4423
|
+
|
4424
|
+
// @public (undocumented)
|
4425
|
+
export namespace UiCanvasTexture {
|
4426
|
+
// (undocumented)
|
4427
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4428
|
+
// (undocumented)
|
4429
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4430
|
+
}
|
4431
|
+
|
4113
4432
|
// @public (undocumented)
|
4114
4433
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4115
4434
|
|
@@ -4164,6 +4483,8 @@ export interface UiLabelProps {
|
|
4164
4483
|
color?: PBColor4 | undefined;
|
4165
4484
|
font?: UiFontType | undefined;
|
4166
4485
|
fontSize?: ScaleUnit | undefined;
|
4486
|
+
outlineColor?: PBColor4 | undefined;
|
4487
|
+
outlineWidth?: number | undefined;
|
4167
4488
|
textAlign?: TextAlignType | undefined;
|
4168
4489
|
textWrap?: UiTextWrapType | undefined;
|
4169
4490
|
value: string;
|
@@ -4172,6 +4493,9 @@ export interface UiLabelProps {
|
|
4172
4493
|
// @public
|
4173
4494
|
export type uint32 = number;
|
4174
4495
|
|
4496
|
+
// @public (undocumented)
|
4497
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4498
|
+
|
4175
4499
|
// @public (undocumented)
|
4176
4500
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4177
4501
|
|
@@ -4194,6 +4518,7 @@ export interface UiTransformProps {
|
|
4194
4518
|
alignItems?: AlignType;
|
4195
4519
|
alignSelf?: AlignType;
|
4196
4520
|
display?: DisplayType;
|
4521
|
+
elementId?: string;
|
4197
4522
|
flex?: number;
|
4198
4523
|
flexBasis?: number;
|
4199
4524
|
flexDirection?: FlexDirectionType;
|
@@ -4207,11 +4532,14 @@ export interface UiTransformProps {
|
|
4207
4532
|
maxWidth?: PositionUnit;
|
4208
4533
|
minHeight?: PositionUnit;
|
4209
4534
|
minWidth?: PositionUnit;
|
4535
|
+
opacity?: number;
|
4210
4536
|
overflow?: OverflowType;
|
4211
4537
|
padding?: Partial<Position> | PositionShorthand;
|
4212
4538
|
pointerFilter?: PointerFilterType;
|
4213
4539
|
position?: Partial<Position> | PositionShorthand;
|
4214
4540
|
positionType?: PositionType;
|
4541
|
+
scrollPosition?: PBVector2 | string;
|
4542
|
+
scrollVisible?: ScrollVisibleType;
|
4215
4543
|
width?: PositionUnit | 'auto';
|
4216
4544
|
}
|
4217
4545
|
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.5.8-
|
4
|
+
"version": "7.5.8-10967536696.commit-cfc4ce5",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.5.8-
|
8
|
-
"@dcl/sdk": "7.5.8-
|
7
|
+
"@dcl/js-runtime": "7.5.8-10967536696.commit-cfc4ce5",
|
8
|
+
"@dcl/sdk": "7.5.8-10967536696.commit-cfc4ce5"
|
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": "cfc4ce582d4a6a7a7c137a4ee47fb42ad8596dbc"
|
36
36
|
}
|