@dcl/playground-assets 7.6.5-11859795746.commit-4bc5ec9 → 7.6.5-11955607143.commit-2c002ca
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 +25 -539
- package/dist/beta.d.ts +25 -539
- package/dist/index.bundled.d.ts +25 -539
- 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 +25 -539
- package/etc/playground-assets.api.json +905 -5978
- package/etc/playground-assets.api.md +14 -329
- package/package.json +4 -4
@@ -136,13 +136,6 @@ 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
|
-
|
146
139
|
// @public (undocumented)
|
147
140
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
148
141
|
|
@@ -158,28 +151,6 @@ export const enum AvatarModifierType {
|
|
158
151
|
AMT_HIDE_AVATARS = 0
|
159
152
|
}
|
160
153
|
|
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
|
-
|
183
154
|
// @public (undocumented)
|
184
155
|
export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
185
156
|
|
@@ -424,29 +395,6 @@ export const enum CameraType {
|
|
424
395
|
// @public (undocumented)
|
425
396
|
export type Children = ReactEcs.JSX.ReactNode;
|
426
397
|
|
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
|
-
|
450
398
|
// @public (undocumented)
|
451
399
|
export const enum ColliderLayer {
|
452
400
|
// (undocumented)
|
@@ -676,13 +624,9 @@ export const componentDefinitionByName: {
|
|
676
624
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
677
625
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
678
626
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
679
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
680
627
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
681
628
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
682
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
683
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
684
629
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
685
|
-
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
686
630
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
687
631
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
688
632
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -695,19 +639,16 @@ export const componentDefinitionByName: {
|
|
695
639
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
696
640
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
697
641
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
698
|
-
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
699
642
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
700
643
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
701
644
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
702
645
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
703
646
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
704
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
705
647
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
706
648
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
707
649
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
708
650
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
709
651
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
710
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
711
652
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
712
653
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
713
654
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -1244,9 +1185,6 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1244
1185
|
direction?: PBVector3;
|
1245
1186
|
};
|
1246
1187
|
|
1247
|
-
// @public (undocumented)
|
1248
|
-
export const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
1249
|
-
|
1250
1188
|
// 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)
|
1251
1189
|
//
|
1252
1190
|
// @public (undocumented)
|
@@ -1265,22 +1203,6 @@ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfCont
|
|
1265
1203
|
// @public (undocumented)
|
1266
1204
|
export const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
1267
1205
|
|
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
|
-
|
1284
1206
|
// @public (undocumented)
|
1285
1207
|
export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
|
1286
1208
|
addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
|
@@ -1499,8 +1421,21 @@ export const enum InputAction {
|
|
1499
1421
|
IA_WALK = 9
|
1500
1422
|
}
|
1501
1423
|
|
1424
|
+
// Warning: (ae-missing-release-tag) "InputModifier" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1425
|
+
//
|
1502
1426
|
// @public (undocumented)
|
1503
|
-
export const InputModifier:
|
1427
|
+
export const InputModifier: InputModifierComponentDefinitionExtended;
|
1428
|
+
|
1429
|
+
// @public (undocumented)
|
1430
|
+
export interface InputModifierComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBInputModifier> {
|
1431
|
+
Mode: InputModifierHelper;
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
// @public (undocumented)
|
1435
|
+
export interface InputModifierHelper {
|
1436
|
+
// (undocumented)
|
1437
|
+
Standard: (standard: PBInputModifier_StandardInput) => PBInputModifier['mode'];
|
1438
|
+
}
|
1504
1439
|
|
1505
1440
|
// @public
|
1506
1441
|
export const inputSystem: IInputSystem;
|
@@ -1619,9 +1554,6 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1619
1554
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1620
1555
|
}
|
1621
1556
|
|
1622
|
-
// @public (undocumented)
|
1623
|
-
export const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
1624
|
-
|
1625
1557
|
// @public
|
1626
1558
|
export type Listeners = {
|
1627
1559
|
onMouseDown?: Callback;
|
@@ -1865,7 +1797,6 @@ export const MeshCollider: MeshColliderComponentDefinitionExtended;
|
|
1865
1797
|
export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
|
1866
1798
|
setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1867
1799
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1868
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1869
1800
|
setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1870
1801
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
1871
1802
|
}
|
@@ -1879,7 +1810,6 @@ export const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
1879
1810
|
export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
|
1880
1811
|
setBox(entity: Entity, uvs?: number[]): void;
|
1881
1812
|
setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
|
1882
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
1883
1813
|
setPlane(entity: Entity, uvs?: number[]): void;
|
1884
1814
|
setSphere(entity: Entity): void;
|
1885
1815
|
}
|
@@ -2274,9 +2204,6 @@ export interface PBAvatarModifierArea {
|
|
2274
2204
|
area: PBVector3 | undefined;
|
2275
2205
|
excludeIds: string[];
|
2276
2206
|
modifiers: AvatarModifierType[];
|
2277
|
-
// (undocumented)
|
2278
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
2279
|
-
useColliderRange?: boolean | undefined;
|
2280
2207
|
}
|
2281
2208
|
|
2282
2209
|
// @public (undocumented)
|
@@ -2339,10 +2266,7 @@ export namespace PBCameraMode {
|
|
2339
2266
|
// @public (undocumented)
|
2340
2267
|
export interface PBCameraModeArea {
|
2341
2268
|
area: PBVector3 | undefined;
|
2342
|
-
// (undocumented)
|
2343
|
-
cinematicSettings?: CinematicSettings | undefined;
|
2344
2269
|
mode: CameraType;
|
2345
|
-
useColliderRange?: boolean | undefined;
|
2346
2270
|
}
|
2347
2271
|
|
2348
2272
|
// @public (undocumented)
|
@@ -2406,21 +2330,6 @@ export namespace PBEngineInfo {
|
|
2406
2330
|
export function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
2407
2331
|
}
|
2408
2332
|
|
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
|
-
|
2424
2333
|
// @public (undocumented)
|
2425
2334
|
export interface PBGltfContainer {
|
2426
2335
|
invisibleMeshesCollisionMask?: number | undefined;
|
@@ -2438,13 +2347,8 @@ export namespace PBGltfContainer {
|
|
2438
2347
|
|
2439
2348
|
// @public (undocumented)
|
2440
2349
|
export interface PBGltfContainerLoadingState {
|
2441
|
-
animationNames: string[];
|
2442
2350
|
// (undocumented)
|
2443
2351
|
currentState: LoadingState;
|
2444
|
-
materialNames: string[];
|
2445
|
-
meshNames: string[];
|
2446
|
-
nodePaths: string[];
|
2447
|
-
skinNames: string[];
|
2448
2352
|
}
|
2449
2353
|
|
2450
2354
|
// @public (undocumented)
|
@@ -2455,35 +2359,6 @@ export namespace PBGltfContainerLoadingState {
|
|
2455
2359
|
export function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
2456
2360
|
}
|
2457
2361
|
|
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
|
-
|
2487
2362
|
// @public (undocumented)
|
2488
2363
|
export interface PBInputModifier {
|
2489
2364
|
// (undocumented)
|
@@ -2525,22 +2400,6 @@ export namespace PBInputModifier_StandardInput {
|
|
2525
2400
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2526
2401
|
}
|
2527
2402
|
|
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
|
-
|
2544
2403
|
// @public (undocumented)
|
2545
2404
|
export interface PBMainCamera {
|
2546
2405
|
virtualCameraEntity?: number | undefined;
|
@@ -2556,7 +2415,6 @@ export namespace PBMainCamera {
|
|
2556
2415
|
|
2557
2416
|
// @public (undocumented)
|
2558
2417
|
export interface PBMaterial {
|
2559
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
2560
2418
|
// (undocumented)
|
2561
2419
|
material?: {
|
2562
2420
|
$case: "unlit";
|
@@ -2575,22 +2433,6 @@ export namespace PBMaterial {
|
|
2575
2433
|
export function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
2576
2434
|
}
|
2577
2435
|
|
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
|
-
|
2594
2436
|
// @public (undocumented)
|
2595
2437
|
export interface PBMaterial_PbrMaterial {
|
2596
2438
|
albedoColor?: PBColor4 | undefined;
|
@@ -2652,9 +2494,6 @@ export interface PBMeshCollider {
|
|
2652
2494
|
} | {
|
2653
2495
|
$case: "plane";
|
2654
2496
|
plane: PBMeshCollider_PlaneMesh;
|
2655
|
-
} | {
|
2656
|
-
$case: "gltf";
|
2657
|
-
gltf: PBMeshCollider_GltfMesh;
|
2658
2497
|
} | undefined;
|
2659
2498
|
}
|
2660
2499
|
|
@@ -2692,20 +2531,6 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2692
2531
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2693
2532
|
}
|
2694
2533
|
|
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
|
-
|
2709
2534
|
// @public (undocumented)
|
2710
2535
|
export interface PBMeshCollider_PlaneMesh {
|
2711
2536
|
}
|
@@ -2745,9 +2570,6 @@ export interface PBMeshRenderer {
|
|
2745
2570
|
} | {
|
2746
2571
|
$case: "plane";
|
2747
2572
|
plane: PBMeshRenderer_PlaneMesh;
|
2748
|
-
} | {
|
2749
|
-
$case: "gltf";
|
2750
|
-
gltf: PBMeshRenderer_GltfMesh;
|
2751
2573
|
} | undefined;
|
2752
2574
|
}
|
2753
2575
|
|
@@ -2786,20 +2608,6 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2786
2608
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2787
2609
|
}
|
2788
2610
|
|
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
|
-
|
2803
2611
|
// @public (undocumented)
|
2804
2612
|
export interface PBMeshRenderer_PlaneMesh {
|
2805
2613
|
uvs: number[];
|
@@ -3045,21 +2853,6 @@ export namespace PBRealmInfo {
|
|
3045
2853
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
3046
2854
|
}
|
3047
2855
|
|
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
|
-
|
3063
2856
|
// @public (undocumented)
|
3064
2857
|
export interface PBTextShape {
|
3065
2858
|
font?: Font | undefined;
|
@@ -3171,23 +2964,6 @@ export namespace PBUiBackground {
|
|
3171
2964
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
3172
2965
|
}
|
3173
2966
|
|
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
|
-
|
3191
2967
|
// @public (undocumented)
|
3192
2968
|
export interface PBUiCanvasInformation {
|
3193
2969
|
devicePixelRatio: number;
|
@@ -3281,27 +3057,11 @@ export namespace PBUiInputResult {
|
|
3281
3057
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3282
3058
|
}
|
3283
3059
|
|
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
|
-
|
3298
3060
|
// @public (undocumented)
|
3299
3061
|
export interface PBUiText {
|
3300
3062
|
color?: PBColor4 | undefined;
|
3301
3063
|
font?: Font | undefined;
|
3302
3064
|
fontSize?: number | undefined;
|
3303
|
-
outlineColor?: PBColor4 | undefined;
|
3304
|
-
outlineWidth?: number | undefined;
|
3305
3065
|
textAlign?: TextAlignMode | undefined;
|
3306
3066
|
textWrap?: TextWrap | undefined;
|
3307
3067
|
value: string;
|
@@ -3321,7 +3081,6 @@ export interface PBUiTransform {
|
|
3321
3081
|
alignItems?: YGAlign | undefined;
|
3322
3082
|
alignSelf: YGAlign;
|
3323
3083
|
display: YGDisplay;
|
3324
|
-
elementId?: string | undefined;
|
3325
3084
|
// (undocumented)
|
3326
3085
|
flexBasis: number;
|
3327
3086
|
flexBasisUnit: YGUnit;
|
@@ -3358,7 +3117,6 @@ export interface PBUiTransform {
|
|
3358
3117
|
// (undocumented)
|
3359
3118
|
minWidth: number;
|
3360
3119
|
minWidthUnit: YGUnit;
|
3361
|
-
opacity?: number | undefined;
|
3362
3120
|
overflow: YGOverflow;
|
3363
3121
|
// (undocumented)
|
3364
3122
|
paddingBottom: number;
|
@@ -3390,8 +3148,6 @@ export interface PBUiTransform {
|
|
3390
3148
|
positionType: YGPositionType;
|
3391
3149
|
// (undocumented)
|
3392
3150
|
rightOf: number;
|
3393
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
3394
|
-
scrollVisible?: ShowScrollBar | undefined;
|
3395
3151
|
// (undocumented)
|
3396
3152
|
width: number;
|
3397
3153
|
widthUnit: YGUnit;
|
@@ -3835,8 +3591,6 @@ export interface ReactBasedUiSystem {
|
|
3835
3591
|
// (undocumented)
|
3836
3592
|
destroy(): void;
|
3837
3593
|
// (undocumented)
|
3838
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
3839
|
-
// (undocumented)
|
3840
3594
|
setUiRenderer(ui: UiComponent): void;
|
3841
3595
|
}
|
3842
3596
|
|
@@ -4076,50 +3830,12 @@ export namespace Schemas {
|
|
4076
3830
|
}) => void;
|
4077
3831
|
}
|
4078
3832
|
|
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
|
-
|
4114
3833
|
// @public (undocumented)
|
4115
3834
|
export interface Spec {
|
4116
3835
|
// (undocumented)
|
4117
3836
|
[key: string]: ISchema;
|
4118
3837
|
}
|
4119
3838
|
|
4120
|
-
// @public (undocumented)
|
4121
|
-
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4122
|
-
|
4123
3839
|
// @alpha
|
4124
3840
|
export const SyncComponents: ISyncComponents;
|
4125
3841
|
|
@@ -4241,9 +3957,6 @@ export interface TextureUnion {
|
|
4241
3957
|
} | {
|
4242
3958
|
$case: "videoTexture";
|
4243
3959
|
videoTexture: VideoTexture;
|
4244
|
-
} | {
|
4245
|
-
$case: "uiTexture";
|
4246
|
-
uiTexture: UiCanvasTexture;
|
4247
3960
|
} | undefined;
|
4248
3961
|
}
|
4249
3962
|
|
@@ -4420,28 +4133,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4420
4133
|
variant?: 'primary' | 'secondary';
|
4421
4134
|
}
|
4422
4135
|
|
4423
|
-
// @public (undocumented)
|
4424
|
-
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4425
|
-
|
4426
4136
|
// @public (undocumented)
|
4427
4137
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4428
4138
|
|
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
|
-
|
4445
4139
|
// @public (undocumented)
|
4446
4140
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4447
4141
|
|
@@ -4496,8 +4190,6 @@ export interface UiLabelProps {
|
|
4496
4190
|
color?: PBColor4 | undefined;
|
4497
4191
|
font?: UiFontType | undefined;
|
4498
4192
|
fontSize?: ScaleUnit | undefined;
|
4499
|
-
outlineColor?: PBColor4 | undefined;
|
4500
|
-
outlineWidth?: number | undefined;
|
4501
4193
|
textAlign?: TextAlignType | undefined;
|
4502
4194
|
textWrap?: UiTextWrapType | undefined;
|
4503
4195
|
value: string;
|
@@ -4506,9 +4198,6 @@ export interface UiLabelProps {
|
|
4506
4198
|
// @public
|
4507
4199
|
export type uint32 = number;
|
4508
4200
|
|
4509
|
-
// @public (undocumented)
|
4510
|
-
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4511
|
-
|
4512
4201
|
// @public (undocumented)
|
4513
4202
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4514
4203
|
|
@@ -4531,7 +4220,6 @@ export interface UiTransformProps {
|
|
4531
4220
|
alignItems?: AlignType;
|
4532
4221
|
alignSelf?: AlignType;
|
4533
4222
|
display?: DisplayType;
|
4534
|
-
elementId?: string;
|
4535
4223
|
flex?: number;
|
4536
4224
|
flexBasis?: number;
|
4537
4225
|
flexDirection?: FlexDirectionType;
|
@@ -4545,14 +4233,11 @@ export interface UiTransformProps {
|
|
4545
4233
|
maxWidth?: PositionUnit;
|
4546
4234
|
minHeight?: PositionUnit;
|
4547
4235
|
minWidth?: PositionUnit;
|
4548
|
-
opacity?: number;
|
4549
4236
|
overflow?: OverflowType;
|
4550
4237
|
padding?: Partial<Position> | PositionShorthand;
|
4551
4238
|
pointerFilter?: PointerFilterType;
|
4552
4239
|
position?: Partial<Position> | PositionShorthand;
|
4553
4240
|
positionType?: PositionType;
|
4554
|
-
scrollPosition?: PBVector2 | string;
|
4555
|
-
scrollVisible?: ScrollVisibleType;
|
4556
4241
|
width?: PositionUnit | 'auto';
|
4557
4242
|
}
|
4558
4243
|
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.6.5-
|
4
|
+
"version": "7.6.5-11955607143.commit-2c002ca",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.6.5-
|
8
|
-
"@dcl/sdk": "7.6.5-
|
7
|
+
"@dcl/js-runtime": "7.6.5-11955607143.commit-2c002ca",
|
8
|
+
"@dcl/sdk": "7.6.5-11955607143.commit-2c002ca"
|
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": "2c002ca9e6feb98a771337190db2945e013d7b93"
|
36
36
|
}
|