@dcl/playground-assets 7.6.5-11817605002.commit-499b43b → 7.6.5-11859795746.commit-4bc5ec9

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.
@@ -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>>;
@@ -1185,6 +1244,9 @@ export type GlobalDirectionRaycastSystemOptions = {
1185
1244
  direction?: PBVector3;
1186
1245
  };
1187
1246
 
1247
+ // @public (undocumented)
1248
+ export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
1249
+
1188
1250
  // 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
1251
  //
1190
1252
  // @public (undocumented)
@@ -1203,6 +1265,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
1203
1265
  // @public (undocumented)
1204
1266
  export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
1205
1267
 
1268
+ // @public (undocumented)
1269
+ export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
1270
+
1271
+ // @public (undocumented)
1272
+ export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
1273
+
1274
+ // @public (undocumented)
1275
+ export const enum GltfNodeStateValue {
1276
+ // (undocumented)
1277
+ GNSV_FAILED = 1,
1278
+ // (undocumented)
1279
+ GNSV_PENDING = 0,
1280
+ // (undocumented)
1281
+ GNSV_READY = 2
1282
+ }
1283
+
1206
1284
  // @public (undocumented)
1207
1285
  export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
1208
1286
  addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
@@ -1541,6 +1619,9 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
1541
1619
  getOrNull(entity: Entity): DeepReadonly<T> | null;
1542
1620
  }
1543
1621
 
1622
+ // @public (undocumented)
1623
+ export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
1624
+
1544
1625
  // @public
1545
1626
  export type Listeners = {
1546
1627
  onMouseDown?: Callback;
@@ -1784,6 +1865,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
1784
1865
  export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
1785
1866
  setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1786
1867
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1868
+ setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1787
1869
  setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1788
1870
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1789
1871
  }
@@ -1797,6 +1879,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
1797
1879
  export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
1798
1880
  setBox(entity: Entity, uvs?: number[]): void;
1799
1881
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
1882
+ setGltfMesh(entity: Entity, source: string, meshName: string): void;
1800
1883
  setPlane(entity: Entity, uvs?: number[]): void;
1801
1884
  setSphere(entity: Entity): void;
1802
1885
  }
@@ -2191,6 +2274,9 @@ export interface PBAvatarModifierArea {
2191
2274
  area: PBVector3 | undefined;
2192
2275
  excludeIds: string[];
2193
2276
  modifiers: AvatarModifierType[];
2277
+ // (undocumented)
2278
+ movementSettings?: AvatarMovementSettings | undefined;
2279
+ useColliderRange?: boolean | undefined;
2194
2280
  }
2195
2281
 
2196
2282
  // @public (undocumented)
@@ -2253,7 +2339,10 @@ export namespace PBCameraMode {
2253
2339
  // @public (undocumented)
2254
2340
  export interface PBCameraModeArea {
2255
2341
  area: PBVector3 | undefined;
2342
+ // (undocumented)
2343
+ cinematicSettings?: CinematicSettings | undefined;
2256
2344
  mode: CameraType;
2345
+ useColliderRange?: boolean | undefined;
2257
2346
  }
2258
2347
 
2259
2348
  // @public (undocumented)
@@ -2317,6 +2406,21 @@ export namespace PBEngineInfo {
2317
2406
  export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
2318
2407
  }
2319
2408
 
2409
+ // @public (undocumented)
2410
+ export interface PBGlobalLight {
2411
+ ambientBrightness?: number | undefined;
2412
+ ambientColor?: PBColor3 | undefined;
2413
+ direction?: PBVector3 | undefined;
2414
+ }
2415
+
2416
+ // @public (undocumented)
2417
+ export namespace PBGlobalLight {
2418
+ // (undocumented)
2419
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
2420
+ // (undocumented)
2421
+ export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
2422
+ }
2423
+
2320
2424
  // @public (undocumented)
2321
2425
  export interface PBGltfContainer {
2322
2426
  invisibleMeshesCollisionMask?: number | undefined;
@@ -2334,8 +2438,13 @@ export namespace PBGltfContainer {
2334
2438
 
2335
2439
  // @public (undocumented)
2336
2440
  export interface PBGltfContainerLoadingState {
2441
+ animationNames: string[];
2337
2442
  // (undocumented)
2338
2443
  currentState: LoadingState;
2444
+ materialNames: string[];
2445
+ meshNames: string[];
2446
+ nodePaths: string[];
2447
+ skinNames: string[];
2339
2448
  }
2340
2449
 
2341
2450
  // @public (undocumented)
@@ -2346,6 +2455,35 @@ export namespace PBGltfContainerLoadingState {
2346
2455
  export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
2347
2456
  }
2348
2457
 
2458
+ // @public (undocumented)
2459
+ export interface PBGltfNode {
2460
+ path: string;
2461
+ }
2462
+
2463
+ // @public (undocumented)
2464
+ export namespace PBGltfNode {
2465
+ // (undocumented)
2466
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
2467
+ // (undocumented)
2468
+ export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
2469
+ }
2470
+
2471
+ // @public (undocumented)
2472
+ export interface PBGltfNodeState {
2473
+ // (undocumented)
2474
+ error?: string | undefined;
2475
+ // (undocumented)
2476
+ state: GltfNodeStateValue;
2477
+ }
2478
+
2479
+ // @public (undocumented)
2480
+ export namespace PBGltfNodeState {
2481
+ // (undocumented)
2482
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
2483
+ // (undocumented)
2484
+ export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
2485
+ }
2486
+
2349
2487
  // @public (undocumented)
2350
2488
  export interface PBInputModifier {
2351
2489
  // (undocumented)
@@ -2387,6 +2525,22 @@ export namespace PBInputModifier_StandardInput {
2387
2525
  export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
2388
2526
  }
2389
2527
 
2528
+ // @public (undocumented)
2529
+ export interface PBLight {
2530
+ color?: PBColor3 | undefined;
2531
+ enabled?: boolean | undefined;
2532
+ illuminance?: number | undefined;
2533
+ shadows?: boolean | undefined;
2534
+ }
2535
+
2536
+ // @public (undocumented)
2537
+ export namespace PBLight {
2538
+ // (undocumented)
2539
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
2540
+ // (undocumented)
2541
+ export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
2542
+ }
2543
+
2390
2544
  // @public (undocumented)
2391
2545
  export interface PBMainCamera {
2392
2546
  virtualCameraEntity?: number | undefined;
@@ -2402,6 +2556,7 @@ export namespace PBMainCamera {
2402
2556
 
2403
2557
  // @public (undocumented)
2404
2558
  export interface PBMaterial {
2559
+ gltf?: PBMaterial_GltfMaterial | undefined;
2405
2560
  // (undocumented)
2406
2561
  material?: {
2407
2562
  $case: "unlit";
@@ -2420,6 +2575,22 @@ export namespace PBMaterial {
2420
2575
  export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
2421
2576
  }
2422
2577
 
2578
+ // @public (undocumented)
2579
+ export interface PBMaterial_GltfMaterial {
2580
+ // (undocumented)
2581
+ gltfSrc: string;
2582
+ // (undocumented)
2583
+ name: string;
2584
+ }
2585
+
2586
+ // @public (undocumented)
2587
+ export namespace PBMaterial_GltfMaterial {
2588
+ // (undocumented)
2589
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
2590
+ // (undocumented)
2591
+ export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
2592
+ }
2593
+
2423
2594
  // @public (undocumented)
2424
2595
  export interface PBMaterial_PbrMaterial {
2425
2596
  albedoColor?: PBColor4 | undefined;
@@ -2481,6 +2652,9 @@ export interface PBMeshCollider {
2481
2652
  } | {
2482
2653
  $case: "plane";
2483
2654
  plane: PBMeshCollider_PlaneMesh;
2655
+ } | {
2656
+ $case: "gltf";
2657
+ gltf: PBMeshCollider_GltfMesh;
2484
2658
  } | undefined;
2485
2659
  }
2486
2660
 
@@ -2518,6 +2692,20 @@ export namespace PBMeshCollider_CylinderMesh {
2518
2692
  export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
2519
2693
  }
2520
2694
 
2695
+ // @public (undocumented)
2696
+ export interface PBMeshCollider_GltfMesh {
2697
+ gltfSrc: string;
2698
+ name: string;
2699
+ }
2700
+
2701
+ // @public (undocumented)
2702
+ export namespace PBMeshCollider_GltfMesh {
2703
+ // (undocumented)
2704
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
2705
+ // (undocumented)
2706
+ export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
2707
+ }
2708
+
2521
2709
  // @public (undocumented)
2522
2710
  export interface PBMeshCollider_PlaneMesh {
2523
2711
  }
@@ -2557,6 +2745,9 @@ export interface PBMeshRenderer {
2557
2745
  } | {
2558
2746
  $case: "plane";
2559
2747
  plane: PBMeshRenderer_PlaneMesh;
2748
+ } | {
2749
+ $case: "gltf";
2750
+ gltf: PBMeshRenderer_GltfMesh;
2560
2751
  } | undefined;
2561
2752
  }
2562
2753
 
@@ -2595,6 +2786,20 @@ export namespace PBMeshRenderer_CylinderMesh {
2595
2786
  export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
2596
2787
  }
2597
2788
 
2789
+ // @public (undocumented)
2790
+ export interface PBMeshRenderer_GltfMesh {
2791
+ gltfSrc: string;
2792
+ name: string;
2793
+ }
2794
+
2795
+ // @public (undocumented)
2796
+ export namespace PBMeshRenderer_GltfMesh {
2797
+ // (undocumented)
2798
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
2799
+ // (undocumented)
2800
+ export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
2801
+ }
2802
+
2598
2803
  // @public (undocumented)
2599
2804
  export interface PBMeshRenderer_PlaneMesh {
2600
2805
  uvs: number[];
@@ -2840,6 +3045,21 @@ export namespace PBRealmInfo {
2840
3045
  export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
2841
3046
  }
2842
3047
 
3048
+ // @public (undocumented)
3049
+ export interface PBSpotlight {
3050
+ angle: number;
3051
+ // Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
3052
+ innerAngle?: number | undefined;
3053
+ }
3054
+
3055
+ // @public (undocumented)
3056
+ export namespace PBSpotlight {
3057
+ // (undocumented)
3058
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
3059
+ // (undocumented)
3060
+ export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
3061
+ }
3062
+
2843
3063
  // @public (undocumented)
2844
3064
  export interface PBTextShape {
2845
3065
  font?: Font | undefined;
@@ -2951,6 +3171,23 @@ export namespace PBUiBackground {
2951
3171
  export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
2952
3172
  }
2953
3173
 
3174
+ // @public (undocumented)
3175
+ export interface PBUiCanvas {
3176
+ color?: PBColor4 | undefined;
3177
+ // (undocumented)
3178
+ height: number;
3179
+ // (undocumented)
3180
+ width: number;
3181
+ }
3182
+
3183
+ // @public (undocumented)
3184
+ export namespace PBUiCanvas {
3185
+ // (undocumented)
3186
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
3187
+ // (undocumented)
3188
+ export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
3189
+ }
3190
+
2954
3191
  // @public (undocumented)
2955
3192
  export interface PBUiCanvasInformation {
2956
3193
  devicePixelRatio: number;
@@ -3044,11 +3281,27 @@ export namespace PBUiInputResult {
3044
3281
  export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
3045
3282
  }
3046
3283
 
3284
+ // @public (undocumented)
3285
+ export interface PBUiScrollResult {
3286
+ // (undocumented)
3287
+ value: PBVector2 | undefined;
3288
+ }
3289
+
3290
+ // @public (undocumented)
3291
+ export namespace PBUiScrollResult {
3292
+ // (undocumented)
3293
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
3294
+ // (undocumented)
3295
+ export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
3296
+ }
3297
+
3047
3298
  // @public (undocumented)
3048
3299
  export interface PBUiText {
3049
3300
  color?: PBColor4 | undefined;
3050
3301
  font?: Font | undefined;
3051
3302
  fontSize?: number | undefined;
3303
+ outlineColor?: PBColor4 | undefined;
3304
+ outlineWidth?: number | undefined;
3052
3305
  textAlign?: TextAlignMode | undefined;
3053
3306
  textWrap?: TextWrap | undefined;
3054
3307
  value: string;
@@ -3068,6 +3321,7 @@ export interface PBUiTransform {
3068
3321
  alignItems?: YGAlign | undefined;
3069
3322
  alignSelf: YGAlign;
3070
3323
  display: YGDisplay;
3324
+ elementId?: string | undefined;
3071
3325
  // (undocumented)
3072
3326
  flexBasis: number;
3073
3327
  flexBasisUnit: YGUnit;
@@ -3104,6 +3358,7 @@ export interface PBUiTransform {
3104
3358
  // (undocumented)
3105
3359
  minWidth: number;
3106
3360
  minWidthUnit: YGUnit;
3361
+ opacity?: number | undefined;
3107
3362
  overflow: YGOverflow;
3108
3363
  // (undocumented)
3109
3364
  paddingBottom: number;
@@ -3135,6 +3390,8 @@ export interface PBUiTransform {
3135
3390
  positionType: YGPositionType;
3136
3391
  // (undocumented)
3137
3392
  rightOf: number;
3393
+ scrollPosition?: ScrollPositionValue | undefined;
3394
+ scrollVisible?: ShowScrollBar | undefined;
3138
3395
  // (undocumented)
3139
3396
  width: number;
3140
3397
  widthUnit: YGUnit;
@@ -3578,6 +3835,8 @@ export interface ReactBasedUiSystem {
3578
3835
  // (undocumented)
3579
3836
  destroy(): void;
3580
3837
  // (undocumented)
3838
+ setTextureRenderer(entity: Entity, ui: UiComponent): void;
3839
+ // (undocumented)
3581
3840
  setUiRenderer(ui: UiComponent): void;
3582
3841
  }
3583
3842
 
@@ -3817,12 +4076,50 @@ export namespace Schemas {
3817
4076
  }) => void;
3818
4077
  }
3819
4078
 
4079
+ // @public (undocumented)
4080
+ export interface ScrollPositionValue {
4081
+ // (undocumented)
4082
+ value?: {
4083
+ $case: "position";
4084
+ position: PBVector2;
4085
+ } | {
4086
+ $case: "reference";
4087
+ reference: string;
4088
+ } | undefined;
4089
+ }
4090
+
4091
+ // @public (undocumented)
4092
+ export namespace ScrollPositionValue {
4093
+ // (undocumented)
4094
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
4095
+ // (undocumented)
4096
+ export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
4097
+ }
4098
+
4099
+ // @public
4100
+ export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
4101
+
4102
+ // @public (undocumented)
4103
+ export const enum ShowScrollBar {
4104
+ // (undocumented)
4105
+ SSB_BOTH = 0,
4106
+ // (undocumented)
4107
+ SSB_HIDDEN = 3,
4108
+ // (undocumented)
4109
+ SSB_ONLY_HORIZONTAL = 2,
4110
+ // (undocumented)
4111
+ SSB_ONLY_VERTICAL = 1
4112
+ }
4113
+
3820
4114
  // @public (undocumented)
3821
4115
  export interface Spec {
3822
4116
  // (undocumented)
3823
4117
  [key: string]: ISchema;
3824
4118
  }
3825
4119
 
4120
+ // @public (undocumented)
4121
+ export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
4122
+
3826
4123
  // @alpha
3827
4124
  export const SyncComponents: ISyncComponents;
3828
4125
 
@@ -3891,8 +4188,10 @@ export const TextShape: LastWriteWinElementSetComponentDefinition<PBTextShape>;
3891
4188
  // @public (undocumented)
3892
4189
  export interface Texture {
3893
4190
  filterMode?: TextureFilterMode | undefined;
4191
+ offset?: PBVector2 | undefined;
3894
4192
  // (undocumented)
3895
4193
  src: string;
4194
+ tiling?: PBVector2 | undefined;
3896
4195
  wrapMode?: TextureWrapMode | undefined;
3897
4196
  }
3898
4197
 
@@ -3942,6 +4241,9 @@ export interface TextureUnion {
3942
4241
  } | {
3943
4242
  $case: "videoTexture";
3944
4243
  videoTexture: VideoTexture;
4244
+ } | {
4245
+ $case: "uiTexture";
4246
+ uiTexture: UiCanvasTexture;
3945
4247
  } | undefined;
3946
4248
  }
3947
4249
 
@@ -4118,9 +4420,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
4118
4420
  variant?: 'primary' | 'secondary';
4119
4421
  }
4120
4422
 
4423
+ // @public (undocumented)
4424
+ export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
4425
+
4121
4426
  // @public (undocumented)
4122
4427
  export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
4123
4428
 
4429
+ // @public (undocumented)
4430
+ export interface UiCanvasTexture {
4431
+ filterMode?: TextureFilterMode | undefined;
4432
+ // (undocumented)
4433
+ uiCanvasEntity: number;
4434
+ wrapMode?: TextureWrapMode | undefined;
4435
+ }
4436
+
4437
+ // @public (undocumented)
4438
+ export namespace UiCanvasTexture {
4439
+ // (undocumented)
4440
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
4441
+ // (undocumented)
4442
+ export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
4443
+ }
4444
+
4124
4445
  // @public (undocumented)
4125
4446
  export type UiComponent = () => ReactEcs.JSX.ReactNode;
4126
4447
 
@@ -4175,6 +4496,8 @@ export interface UiLabelProps {
4175
4496
  color?: PBColor4 | undefined;
4176
4497
  font?: UiFontType | undefined;
4177
4498
  fontSize?: ScaleUnit | undefined;
4499
+ outlineColor?: PBColor4 | undefined;
4500
+ outlineWidth?: number | undefined;
4178
4501
  textAlign?: TextAlignType | undefined;
4179
4502
  textWrap?: UiTextWrapType | undefined;
4180
4503
  value: string;
@@ -4183,6 +4506,9 @@ export interface UiLabelProps {
4183
4506
  // @public
4184
4507
  export type uint32 = number;
4185
4508
 
4509
+ // @public (undocumented)
4510
+ export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
4511
+
4186
4512
  // @public (undocumented)
4187
4513
  export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
4188
4514
 
@@ -4205,6 +4531,7 @@ export interface UiTransformProps {
4205
4531
  alignItems?: AlignType;
4206
4532
  alignSelf?: AlignType;
4207
4533
  display?: DisplayType;
4534
+ elementId?: string;
4208
4535
  flex?: number;
4209
4536
  flexBasis?: number;
4210
4537
  flexDirection?: FlexDirectionType;
@@ -4218,11 +4545,14 @@ export interface UiTransformProps {
4218
4545
  maxWidth?: PositionUnit;
4219
4546
  minHeight?: PositionUnit;
4220
4547
  minWidth?: PositionUnit;
4548
+ opacity?: number;
4221
4549
  overflow?: OverflowType;
4222
4550
  padding?: Partial<Position> | PositionShorthand;
4223
4551
  pointerFilter?: PointerFilterType;
4224
4552
  position?: Partial<Position> | PositionShorthand;
4225
4553
  positionType?: PositionType;
4554
+ scrollPosition?: PBVector2 | string;
4555
+ scrollVisible?: ScrollVisibleType;
4226
4556
  width?: PositionUnit | 'auto';
4227
4557
  }
4228
4558
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.6.5-11817605002.commit-499b43b",
4
+ "version": "7.6.5-11859795746.commit-4bc5ec9",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.6.5-11817605002.commit-499b43b",
8
- "@dcl/sdk": "7.6.5-11817605002.commit-499b43b"
7
+ "@dcl/js-runtime": "7.6.5-11859795746.commit-4bc5ec9",
8
+ "@dcl/sdk": "7.6.5-11859795746.commit-4bc5ec9"
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": "499b43b62a9439b544aba4ca0917acb8863b899d"
35
+ "commit": "4bc5ec930a34c2f52fd50a6ba0ac58db98cdd094"
36
36
  }