@dcl/playground-assets 7.5.7-10205937504.commit-c73f444 → 7.5.7-10236687718.commit-e3a6b5c

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
 
@@ -367,6 +396,29 @@ export const enum CameraType {
367
396
  // @public (undocumented)
368
397
  export type Children = ReactEcs.JSX.ReactNode;
369
398
 
399
+ // @public (undocumented)
400
+ export interface CinematicSettings {
401
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
402
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
403
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
404
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
405
+ allowManualRotation?: boolean | undefined;
406
+ cameraEntity: number;
407
+ pitchRange?: number | undefined;
408
+ rollRange?: number | undefined;
409
+ yawRange?: number | undefined;
410
+ zoomMax?: number | undefined;
411
+ zoomMin?: number | undefined;
412
+ }
413
+
414
+ // @public (undocumented)
415
+ export namespace CinematicSettings {
416
+ // (undocumented)
417
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
418
+ // (undocumented)
419
+ export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
420
+ }
421
+
370
422
  // @public (undocumented)
371
423
  export const enum ColliderLayer {
372
424
  // (undocumented)
@@ -598,6 +650,8 @@ export const componentDefinitionByName: {
598
650
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
599
651
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
600
652
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
653
+ "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
654
+ "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
601
655
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
602
656
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
603
657
  "core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
@@ -619,6 +673,7 @@ export const componentDefinitionByName: {
619
673
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
620
674
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
621
675
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
676
+ "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
622
677
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
623
678
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
624
679
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -1166,6 +1221,22 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
1166
1221
  // @public (undocumented)
1167
1222
  export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
1168
1223
 
1224
+ // @public (undocumented)
1225
+ export const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
1226
+
1227
+ // @public (undocumented)
1228
+ export const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
1229
+
1230
+ // @public (undocumented)
1231
+ export const enum GltfNodeStateValue {
1232
+ // (undocumented)
1233
+ GNSV_FAILED = 1,
1234
+ // (undocumented)
1235
+ GNSV_PENDING = 0,
1236
+ // (undocumented)
1237
+ GNSV_READY = 2
1238
+ }
1239
+
1169
1240
  // @public (undocumented)
1170
1241
  export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
1171
1242
  addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
@@ -1741,6 +1812,7 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
1741
1812
  export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
1742
1813
  setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1743
1814
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1815
+ setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1744
1816
  setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1745
1817
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1746
1818
  }
@@ -1754,6 +1826,7 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
1754
1826
  export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
1755
1827
  setBox(entity: Entity, uvs?: number[]): void;
1756
1828
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
1829
+ setGltfMesh(entity: Entity, source: string, meshName: string): void;
1757
1830
  setPlane(entity: Entity, uvs?: number[]): void;
1758
1831
  setSphere(entity: Entity): void;
1759
1832
  }
@@ -2148,6 +2221,9 @@ export interface PBAvatarModifierArea {
2148
2221
  area: PBVector3 | undefined;
2149
2222
  excludeIds: string[];
2150
2223
  modifiers: AvatarModifierType[];
2224
+ // (undocumented)
2225
+ movementSettings?: AvatarMovementSettings | undefined;
2226
+ useColliderRange?: boolean | undefined;
2151
2227
  }
2152
2228
 
2153
2229
  // @public (undocumented)
@@ -2210,7 +2286,10 @@ export namespace PBCameraMode {
2210
2286
  // @public (undocumented)
2211
2287
  export interface PBCameraModeArea {
2212
2288
  area: PBVector3 | undefined;
2289
+ // (undocumented)
2290
+ cinematicSettings?: CinematicSettings | undefined;
2213
2291
  mode: CameraType;
2292
+ useColliderRange?: boolean | undefined;
2214
2293
  }
2215
2294
 
2216
2295
  // @public (undocumented)
@@ -2291,8 +2370,13 @@ export namespace PBGltfContainer {
2291
2370
 
2292
2371
  // @public (undocumented)
2293
2372
  export interface PBGltfContainerLoadingState {
2373
+ animationNames: string[];
2294
2374
  // (undocumented)
2295
2375
  currentState: LoadingState;
2376
+ materialNames: string[];
2377
+ meshNames: string[];
2378
+ nodePaths: string[];
2379
+ skinNames: string[];
2296
2380
  }
2297
2381
 
2298
2382
  // @public (undocumented)
@@ -2303,8 +2387,38 @@ export namespace PBGltfContainerLoadingState {
2303
2387
  export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
2304
2388
  }
2305
2389
 
2390
+ // @public (undocumented)
2391
+ export interface PBGltfNode {
2392
+ path: string;
2393
+ }
2394
+
2395
+ // @public (undocumented)
2396
+ export namespace PBGltfNode {
2397
+ // (undocumented)
2398
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
2399
+ // (undocumented)
2400
+ export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
2401
+ }
2402
+
2403
+ // @public (undocumented)
2404
+ export interface PBGltfNodeState {
2405
+ // (undocumented)
2406
+ error?: string | undefined;
2407
+ // (undocumented)
2408
+ state: GltfNodeStateValue;
2409
+ }
2410
+
2411
+ // @public (undocumented)
2412
+ export namespace PBGltfNodeState {
2413
+ // (undocumented)
2414
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
2415
+ // (undocumented)
2416
+ export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
2417
+ }
2418
+
2306
2419
  // @public (undocumented)
2307
2420
  export interface PBMaterial {
2421
+ gltf?: PBMaterial_GltfMaterial | undefined;
2308
2422
  // (undocumented)
2309
2423
  material?: {
2310
2424
  $case: "unlit";
@@ -2323,6 +2437,22 @@ export namespace PBMaterial {
2323
2437
  export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
2324
2438
  }
2325
2439
 
2440
+ // @public (undocumented)
2441
+ export interface PBMaterial_GltfMaterial {
2442
+ // (undocumented)
2443
+ gltfSrc: string;
2444
+ // (undocumented)
2445
+ name: string;
2446
+ }
2447
+
2448
+ // @public (undocumented)
2449
+ export namespace PBMaterial_GltfMaterial {
2450
+ // (undocumented)
2451
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
2452
+ // (undocumented)
2453
+ export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
2454
+ }
2455
+
2326
2456
  // @public (undocumented)
2327
2457
  export interface PBMaterial_PbrMaterial {
2328
2458
  albedoColor?: PBColor4 | undefined;
@@ -2382,6 +2512,9 @@ export interface PBMeshCollider {
2382
2512
  } | {
2383
2513
  $case: "plane";
2384
2514
  plane: PBMeshCollider_PlaneMesh;
2515
+ } | {
2516
+ $case: "gltf";
2517
+ gltf: PBMeshCollider_GltfMesh;
2385
2518
  } | undefined;
2386
2519
  }
2387
2520
 
@@ -2419,6 +2552,20 @@ export namespace PBMeshCollider_CylinderMesh {
2419
2552
  export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
2420
2553
  }
2421
2554
 
2555
+ // @public (undocumented)
2556
+ export interface PBMeshCollider_GltfMesh {
2557
+ gltfSrc: string;
2558
+ name: string;
2559
+ }
2560
+
2561
+ // @public (undocumented)
2562
+ export namespace PBMeshCollider_GltfMesh {
2563
+ // (undocumented)
2564
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
2565
+ // (undocumented)
2566
+ export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
2567
+ }
2568
+
2422
2569
  // @public (undocumented)
2423
2570
  export interface PBMeshCollider_PlaneMesh {
2424
2571
  }
@@ -2458,6 +2605,9 @@ export interface PBMeshRenderer {
2458
2605
  } | {
2459
2606
  $case: "plane";
2460
2607
  plane: PBMeshRenderer_PlaneMesh;
2608
+ } | {
2609
+ $case: "gltf";
2610
+ gltf: PBMeshRenderer_GltfMesh;
2461
2611
  } | undefined;
2462
2612
  }
2463
2613
 
@@ -2496,6 +2646,20 @@ export namespace PBMeshRenderer_CylinderMesh {
2496
2646
  export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
2497
2647
  }
2498
2648
 
2649
+ // @public (undocumented)
2650
+ export interface PBMeshRenderer_GltfMesh {
2651
+ gltfSrc: string;
2652
+ name: string;
2653
+ }
2654
+
2655
+ // @public (undocumented)
2656
+ export namespace PBMeshRenderer_GltfMesh {
2657
+ // (undocumented)
2658
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
2659
+ // (undocumented)
2660
+ export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
2661
+ }
2662
+
2499
2663
  // @public (undocumented)
2500
2664
  export interface PBMeshRenderer_PlaneMesh {
2501
2665
  uvs: number[];
@@ -2942,11 +3106,27 @@ export namespace PBUiInputResult {
2942
3106
  export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
2943
3107
  }
2944
3108
 
3109
+ // @public (undocumented)
3110
+ export interface PBUiScrollResult {
3111
+ // (undocumented)
3112
+ value: PBVector2 | undefined;
3113
+ }
3114
+
3115
+ // @public (undocumented)
3116
+ export namespace PBUiScrollResult {
3117
+ // (undocumented)
3118
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
3119
+ // (undocumented)
3120
+ export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
3121
+ }
3122
+
2945
3123
  // @public (undocumented)
2946
3124
  export interface PBUiText {
2947
3125
  color?: PBColor4 | undefined;
2948
3126
  font?: Font | undefined;
2949
3127
  fontSize?: number | undefined;
3128
+ outlineColor?: PBColor4 | undefined;
3129
+ outlineWidth?: number | undefined;
2950
3130
  textAlign?: TextAlignMode | undefined;
2951
3131
  textWrap?: TextWrap | undefined;
2952
3132
  value: string;
@@ -2966,6 +3146,7 @@ export interface PBUiTransform {
2966
3146
  alignItems?: YGAlign | undefined;
2967
3147
  alignSelf: YGAlign;
2968
3148
  display: YGDisplay;
3149
+ elementId?: string | undefined;
2969
3150
  // (undocumented)
2970
3151
  flexBasis: number;
2971
3152
  flexBasisUnit: YGUnit;
@@ -3002,6 +3183,7 @@ export interface PBUiTransform {
3002
3183
  // (undocumented)
3003
3184
  minWidth: number;
3004
3185
  minWidthUnit: YGUnit;
3186
+ opacity?: number | undefined;
3005
3187
  overflow: YGOverflow;
3006
3188
  // (undocumented)
3007
3189
  paddingBottom: number;
@@ -3033,6 +3215,8 @@ export interface PBUiTransform {
3033
3215
  positionType: YGPositionType;
3034
3216
  // (undocumented)
3035
3217
  rightOf: number;
3218
+ scrollPosition?: ScrollPositionValue | undefined;
3219
+ scrollVisible?: ShowScrollBar | undefined;
3036
3220
  // (undocumented)
3037
3221
  width: number;
3038
3222
  widthUnit: YGUnit;
@@ -3699,6 +3883,41 @@ export namespace Schemas {
3699
3883
  }) => void;
3700
3884
  }
3701
3885
 
3886
+ // @public (undocumented)
3887
+ export interface ScrollPositionValue {
3888
+ // (undocumented)
3889
+ value?: {
3890
+ $case: "position";
3891
+ position: PBVector2;
3892
+ } | {
3893
+ $case: "reference";
3894
+ reference: string;
3895
+ } | undefined;
3896
+ }
3897
+
3898
+ // @public (undocumented)
3899
+ export namespace ScrollPositionValue {
3900
+ // (undocumented)
3901
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
3902
+ // (undocumented)
3903
+ export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
3904
+ }
3905
+
3906
+ // @public
3907
+ export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
3908
+
3909
+ // @public (undocumented)
3910
+ export const enum ShowScrollBar {
3911
+ // (undocumented)
3912
+ SSB_BOTH = 0,
3913
+ // (undocumented)
3914
+ SSB_HIDDEN = 3,
3915
+ // (undocumented)
3916
+ SSB_ONLY_HORIZONTAL = 2,
3917
+ // (undocumented)
3918
+ SSB_ONLY_VERTICAL = 1
3919
+ }
3920
+
3702
3921
  // @public (undocumented)
3703
3922
  export interface Spec {
3704
3923
  // (undocumented)
@@ -4057,6 +4276,8 @@ export interface UiLabelProps {
4057
4276
  color?: PBColor4 | undefined;
4058
4277
  font?: UiFontType | undefined;
4059
4278
  fontSize?: ScaleUnit | undefined;
4279
+ outlineColor?: PBColor4 | undefined;
4280
+ outlineWidth?: number | undefined;
4060
4281
  textAlign?: TextAlignType | undefined;
4061
4282
  textWrap?: UiTextWrapType | undefined;
4062
4283
  value: string;
@@ -4065,6 +4286,9 @@ export interface UiLabelProps {
4065
4286
  // @public
4066
4287
  export type uint32 = number;
4067
4288
 
4289
+ // @public (undocumented)
4290
+ export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
4291
+
4068
4292
  // @public (undocumented)
4069
4293
  export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
4070
4294
 
@@ -4087,6 +4311,7 @@ export interface UiTransformProps {
4087
4311
  alignItems?: AlignType;
4088
4312
  alignSelf?: AlignType;
4089
4313
  display?: DisplayType;
4314
+ elementId?: string;
4090
4315
  flex?: number;
4091
4316
  flexBasis?: number;
4092
4317
  flexDirection?: FlexDirectionType;
@@ -4100,11 +4325,14 @@ export interface UiTransformProps {
4100
4325
  maxWidth?: PositionUnit;
4101
4326
  minHeight?: PositionUnit;
4102
4327
  minWidth?: PositionUnit;
4328
+ opacity?: number;
4103
4329
  overflow?: OverflowType;
4104
4330
  padding?: Partial<Position> | PositionShorthand;
4105
4331
  pointerFilter?: PointerFilterType;
4106
4332
  position?: Partial<Position> | PositionShorthand;
4107
4333
  positionType?: PositionType;
4334
+ scrollPosition?: PBVector2 | string;
4335
+ scrollVisible?: ScrollVisibleType;
4108
4336
  width?: PositionUnit | 'auto';
4109
4337
  }
4110
4338
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.5.7-10205937504.commit-c73f444",
4
+ "version": "7.5.7-10236687718.commit-e3a6b5c",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.5.7-10205937504.commit-c73f444",
8
- "@dcl/sdk": "7.5.7-10205937504.commit-c73f444"
7
+ "@dcl/js-runtime": "7.5.7-10236687718.commit-e3a6b5c",
8
+ "@dcl/sdk": "7.5.7-10236687718.commit-e3a6b5c"
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": "c73f44460cedf6851abd2912e358f6139a3afe4c"
35
+ "commit": "e3a6b5cd55ac844ad0e758705a5f3d17495d5941"
36
36
  }