@dcl/playground-assets 7.6.3 → 7.6.4-11515577295.commit-620b210
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 +5970 -774
- 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;
|
@@ -2475,6 +2646,9 @@ export interface PBMeshCollider {
|
|
2475
2646
|
} | {
|
2476
2647
|
$case: "plane";
|
2477
2648
|
plane: PBMeshCollider_PlaneMesh;
|
2649
|
+
} | {
|
2650
|
+
$case: "gltf";
|
2651
|
+
gltf: PBMeshCollider_GltfMesh;
|
2478
2652
|
} | undefined;
|
2479
2653
|
}
|
2480
2654
|
|
@@ -2512,6 +2686,20 @@ export namespace PBMeshCollider_CylinderMesh {
|
|
2512
2686
|
export function encode(message: PBMeshCollider_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2513
2687
|
}
|
2514
2688
|
|
2689
|
+
// @public (undocumented)
|
2690
|
+
export interface PBMeshCollider_GltfMesh {
|
2691
|
+
gltfSrc: string;
|
2692
|
+
name: string;
|
2693
|
+
}
|
2694
|
+
|
2695
|
+
// @public (undocumented)
|
2696
|
+
export namespace PBMeshCollider_GltfMesh {
|
2697
|
+
// (undocumented)
|
2698
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
2699
|
+
// (undocumented)
|
2700
|
+
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2701
|
+
}
|
2702
|
+
|
2515
2703
|
// @public (undocumented)
|
2516
2704
|
export interface PBMeshCollider_PlaneMesh {
|
2517
2705
|
}
|
@@ -2551,6 +2739,9 @@ export interface PBMeshRenderer {
|
|
2551
2739
|
} | {
|
2552
2740
|
$case: "plane";
|
2553
2741
|
plane: PBMeshRenderer_PlaneMesh;
|
2742
|
+
} | {
|
2743
|
+
$case: "gltf";
|
2744
|
+
gltf: PBMeshRenderer_GltfMesh;
|
2554
2745
|
} | undefined;
|
2555
2746
|
}
|
2556
2747
|
|
@@ -2589,6 +2780,20 @@ export namespace PBMeshRenderer_CylinderMesh {
|
|
2589
2780
|
export function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
2590
2781
|
}
|
2591
2782
|
|
2783
|
+
// @public (undocumented)
|
2784
|
+
export interface PBMeshRenderer_GltfMesh {
|
2785
|
+
gltfSrc: string;
|
2786
|
+
name: string;
|
2787
|
+
}
|
2788
|
+
|
2789
|
+
// @public (undocumented)
|
2790
|
+
export namespace PBMeshRenderer_GltfMesh {
|
2791
|
+
// (undocumented)
|
2792
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
2793
|
+
// (undocumented)
|
2794
|
+
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
2795
|
+
}
|
2796
|
+
|
2592
2797
|
// @public (undocumented)
|
2593
2798
|
export interface PBMeshRenderer_PlaneMesh {
|
2594
2799
|
uvs: number[];
|
@@ -2833,6 +3038,21 @@ export namespace PBRealmInfo {
|
|
2833
3038
|
export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
|
2834
3039
|
}
|
2835
3040
|
|
3041
|
+
// @public (undocumented)
|
3042
|
+
export interface PBSpotlight {
|
3043
|
+
angle: number;
|
3044
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
3045
|
+
innerAngle?: number | undefined;
|
3046
|
+
}
|
3047
|
+
|
3048
|
+
// @public (undocumented)
|
3049
|
+
export namespace PBSpotlight {
|
3050
|
+
// (undocumented)
|
3051
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
3052
|
+
// (undocumented)
|
3053
|
+
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
3054
|
+
}
|
3055
|
+
|
2836
3056
|
// @public (undocumented)
|
2837
3057
|
export interface PBTextShape {
|
2838
3058
|
font?: Font | undefined;
|
@@ -2944,6 +3164,23 @@ export namespace PBUiBackground {
|
|
2944
3164
|
export function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
2945
3165
|
}
|
2946
3166
|
|
3167
|
+
// @public (undocumented)
|
3168
|
+
export interface PBUiCanvas {
|
3169
|
+
color?: PBColor4 | undefined;
|
3170
|
+
// (undocumented)
|
3171
|
+
height: number;
|
3172
|
+
// (undocumented)
|
3173
|
+
width: number;
|
3174
|
+
}
|
3175
|
+
|
3176
|
+
// @public (undocumented)
|
3177
|
+
export namespace PBUiCanvas {
|
3178
|
+
// (undocumented)
|
3179
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
3180
|
+
// (undocumented)
|
3181
|
+
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
3182
|
+
}
|
3183
|
+
|
2947
3184
|
// @public (undocumented)
|
2948
3185
|
export interface PBUiCanvasInformation {
|
2949
3186
|
devicePixelRatio: number;
|
@@ -3037,11 +3274,27 @@ export namespace PBUiInputResult {
|
|
3037
3274
|
export function encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
|
3038
3275
|
}
|
3039
3276
|
|
3277
|
+
// @public (undocumented)
|
3278
|
+
export interface PBUiScrollResult {
|
3279
|
+
// (undocumented)
|
3280
|
+
value: PBVector2 | undefined;
|
3281
|
+
}
|
3282
|
+
|
3283
|
+
// @public (undocumented)
|
3284
|
+
export namespace PBUiScrollResult {
|
3285
|
+
// (undocumented)
|
3286
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
3287
|
+
// (undocumented)
|
3288
|
+
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
3289
|
+
}
|
3290
|
+
|
3040
3291
|
// @public (undocumented)
|
3041
3292
|
export interface PBUiText {
|
3042
3293
|
color?: PBColor4 | undefined;
|
3043
3294
|
font?: Font | undefined;
|
3044
3295
|
fontSize?: number | undefined;
|
3296
|
+
outlineColor?: PBColor4 | undefined;
|
3297
|
+
outlineWidth?: number | undefined;
|
3045
3298
|
textAlign?: TextAlignMode | undefined;
|
3046
3299
|
textWrap?: TextWrap | undefined;
|
3047
3300
|
value: string;
|
@@ -3061,6 +3314,7 @@ export interface PBUiTransform {
|
|
3061
3314
|
alignItems?: YGAlign | undefined;
|
3062
3315
|
alignSelf: YGAlign;
|
3063
3316
|
display: YGDisplay;
|
3317
|
+
elementId?: string | undefined;
|
3064
3318
|
// (undocumented)
|
3065
3319
|
flexBasis: number;
|
3066
3320
|
flexBasisUnit: YGUnit;
|
@@ -3097,6 +3351,7 @@ export interface PBUiTransform {
|
|
3097
3351
|
// (undocumented)
|
3098
3352
|
minWidth: number;
|
3099
3353
|
minWidthUnit: YGUnit;
|
3354
|
+
opacity?: number | undefined;
|
3100
3355
|
overflow: YGOverflow;
|
3101
3356
|
// (undocumented)
|
3102
3357
|
paddingBottom: number;
|
@@ -3128,6 +3383,8 @@ export interface PBUiTransform {
|
|
3128
3383
|
positionType: YGPositionType;
|
3129
3384
|
// (undocumented)
|
3130
3385
|
rightOf: number;
|
3386
|
+
scrollPosition?: ScrollPositionValue | undefined;
|
3387
|
+
scrollVisible?: ShowScrollBar | undefined;
|
3131
3388
|
// (undocumented)
|
3132
3389
|
width: number;
|
3133
3390
|
widthUnit: YGUnit;
|
@@ -3571,6 +3828,8 @@ export interface ReactBasedUiSystem {
|
|
3571
3828
|
// (undocumented)
|
3572
3829
|
destroy(): void;
|
3573
3830
|
// (undocumented)
|
3831
|
+
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
3832
|
+
// (undocumented)
|
3574
3833
|
setUiRenderer(ui: UiComponent): void;
|
3575
3834
|
}
|
3576
3835
|
|
@@ -3810,12 +4069,50 @@ export namespace Schemas {
|
|
3810
4069
|
}) => void;
|
3811
4070
|
}
|
3812
4071
|
|
4072
|
+
// @public (undocumented)
|
4073
|
+
export interface ScrollPositionValue {
|
4074
|
+
// (undocumented)
|
4075
|
+
value?: {
|
4076
|
+
$case: "position";
|
4077
|
+
position: PBVector2;
|
4078
|
+
} | {
|
4079
|
+
$case: "reference";
|
4080
|
+
reference: string;
|
4081
|
+
} | undefined;
|
4082
|
+
}
|
4083
|
+
|
4084
|
+
// @public (undocumented)
|
4085
|
+
export namespace ScrollPositionValue {
|
4086
|
+
// (undocumented)
|
4087
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
4088
|
+
// (undocumented)
|
4089
|
+
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
4090
|
+
}
|
4091
|
+
|
4092
|
+
// @public
|
4093
|
+
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
4094
|
+
|
4095
|
+
// @public (undocumented)
|
4096
|
+
export const enum ShowScrollBar {
|
4097
|
+
// (undocumented)
|
4098
|
+
SSB_BOTH = 0,
|
4099
|
+
// (undocumented)
|
4100
|
+
SSB_HIDDEN = 3,
|
4101
|
+
// (undocumented)
|
4102
|
+
SSB_ONLY_HORIZONTAL = 2,
|
4103
|
+
// (undocumented)
|
4104
|
+
SSB_ONLY_VERTICAL = 1
|
4105
|
+
}
|
4106
|
+
|
3813
4107
|
// @public (undocumented)
|
3814
4108
|
export interface Spec {
|
3815
4109
|
// (undocumented)
|
3816
4110
|
[key: string]: ISchema;
|
3817
4111
|
}
|
3818
4112
|
|
4113
|
+
// @public (undocumented)
|
4114
|
+
export const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
4115
|
+
|
3819
4116
|
// @alpha
|
3820
4117
|
export const SyncComponents: ISyncComponents;
|
3821
4118
|
|
@@ -3935,6 +4232,9 @@ export interface TextureUnion {
|
|
3935
4232
|
} | {
|
3936
4233
|
$case: "videoTexture";
|
3937
4234
|
videoTexture: VideoTexture;
|
4235
|
+
} | {
|
4236
|
+
$case: "uiTexture";
|
4237
|
+
uiTexture: UiCanvasTexture;
|
3938
4238
|
} | undefined;
|
3939
4239
|
}
|
3940
4240
|
|
@@ -4111,9 +4411,28 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
4111
4411
|
variant?: 'primary' | 'secondary';
|
4112
4412
|
}
|
4113
4413
|
|
4414
|
+
// @public (undocumented)
|
4415
|
+
export const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
4416
|
+
|
4114
4417
|
// @public (undocumented)
|
4115
4418
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
4116
4419
|
|
4420
|
+
// @public (undocumented)
|
4421
|
+
export interface UiCanvasTexture {
|
4422
|
+
filterMode?: TextureFilterMode | undefined;
|
4423
|
+
// (undocumented)
|
4424
|
+
uiCanvasEntity: number;
|
4425
|
+
wrapMode?: TextureWrapMode | undefined;
|
4426
|
+
}
|
4427
|
+
|
4428
|
+
// @public (undocumented)
|
4429
|
+
export namespace UiCanvasTexture {
|
4430
|
+
// (undocumented)
|
4431
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
4432
|
+
// (undocumented)
|
4433
|
+
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
4434
|
+
}
|
4435
|
+
|
4117
4436
|
// @public (undocumented)
|
4118
4437
|
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
4119
4438
|
|
@@ -4168,6 +4487,8 @@ export interface UiLabelProps {
|
|
4168
4487
|
color?: PBColor4 | undefined;
|
4169
4488
|
font?: UiFontType | undefined;
|
4170
4489
|
fontSize?: ScaleUnit | undefined;
|
4490
|
+
outlineColor?: PBColor4 | undefined;
|
4491
|
+
outlineWidth?: number | undefined;
|
4171
4492
|
textAlign?: TextAlignType | undefined;
|
4172
4493
|
textWrap?: UiTextWrapType | undefined;
|
4173
4494
|
value: string;
|
@@ -4176,6 +4497,9 @@ export interface UiLabelProps {
|
|
4176
4497
|
// @public
|
4177
4498
|
export type uint32 = number;
|
4178
4499
|
|
4500
|
+
// @public (undocumented)
|
4501
|
+
export const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
4502
|
+
|
4179
4503
|
// @public (undocumented)
|
4180
4504
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
4181
4505
|
|
@@ -4198,6 +4522,7 @@ export interface UiTransformProps {
|
|
4198
4522
|
alignItems?: AlignType;
|
4199
4523
|
alignSelf?: AlignType;
|
4200
4524
|
display?: DisplayType;
|
4525
|
+
elementId?: string;
|
4201
4526
|
flex?: number;
|
4202
4527
|
flexBasis?: number;
|
4203
4528
|
flexDirection?: FlexDirectionType;
|
@@ -4211,11 +4536,14 @@ export interface UiTransformProps {
|
|
4211
4536
|
maxWidth?: PositionUnit;
|
4212
4537
|
minHeight?: PositionUnit;
|
4213
4538
|
minWidth?: PositionUnit;
|
4539
|
+
opacity?: number;
|
4214
4540
|
overflow?: OverflowType;
|
4215
4541
|
padding?: Partial<Position> | PositionShorthand;
|
4216
4542
|
pointerFilter?: PointerFilterType;
|
4217
4543
|
position?: Partial<Position> | PositionShorthand;
|
4218
4544
|
positionType?: PositionType;
|
4545
|
+
scrollPosition?: PBVector2 | string;
|
4546
|
+
scrollVisible?: ScrollVisibleType;
|
4219
4547
|
width?: PositionUnit | 'auto';
|
4220
4548
|
}
|
4221
4549
|
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.6.
|
4
|
+
"version": "7.6.4-11515577295.commit-620b210",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.6.
|
8
|
-
"@dcl/sdk": "7.6.
|
7
|
+
"@dcl/js-runtime": "7.6.4-11515577295.commit-620b210",
|
8
|
+
"@dcl/sdk": "7.6.4-11515577295.commit-620b210"
|
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": "620b210f74f27e52e5128df3c29e9f5300c95652"
|
36
36
|
}
|