@dcl/playground-assets 7.7.10-13934567813.commit-fb33ab1 → 7.7.10-13948137894.commit-1103705
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/README.md +27 -0
- package/dist/alpha.d.ts +5 -109
- package/dist/beta.d.ts +5 -109
- package/dist/index.bundled.d.ts +5 -109
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +5 -109
- package/etc/playground-assets.api.json +80 -1170
- package/etc/playground-assets.api.md +3 -80
- package/package.json +4 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.7.10-
|
4
|
+
"version": "7.7.10-13948137894.commit-1103705",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
@@ -35,5 +35,5 @@
|
|
35
35
|
},
|
36
36
|
"types": "./index.d.ts",
|
37
37
|
"typings": "./index.d.ts",
|
38
|
-
"commit": "
|
38
|
+
"commit": "110370506012e732dc6a7be650b00025a65481a1"
|
39
39
|
}
|
@@ -1298,7 +1298,6 @@ export declare const componentDefinitionByName: {
|
|
1298
1298
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
1299
1299
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
1300
1300
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
1301
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
1302
1301
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
1303
1302
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
1304
1303
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -1597,6 +1596,11 @@ export declare function createInputSystem(engine: IEngine): IInputSystem;
|
|
1597
1596
|
*/
|
1598
1597
|
export declare function createPointerEventsSystem(engine: IEngine, inputSystem: IInputSystem): PointerEventsSystem;
|
1599
1598
|
|
1599
|
+
/**
|
1600
|
+
* @public
|
1601
|
+
*/
|
1602
|
+
export declare function createReactBasedUiSystem(engine: IEngine, pointerSystem: PointerEventsSystem): ReactBasedUiSystem;
|
1603
|
+
|
1600
1604
|
/**
|
1601
1605
|
* @public
|
1602
1606
|
* @returns tween helper to be used on the scene
|
@@ -2652,32 +2656,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2652
2656
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2653
2657
|
}
|
2654
2658
|
|
2655
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2656
|
-
|
2657
|
-
/**
|
2658
|
-
* @public
|
2659
|
-
*/
|
2660
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2661
|
-
/**
|
2662
|
-
* LightSource helper with constructor
|
2663
|
-
*/
|
2664
|
-
Type: LightSourceHelper;
|
2665
|
-
}
|
2666
|
-
|
2667
|
-
/**
|
2668
|
-
* @public
|
2669
|
-
*/
|
2670
|
-
export declare interface LightSourceHelper {
|
2671
|
-
/**
|
2672
|
-
* @returns a Light Source type
|
2673
|
-
*/
|
2674
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2675
|
-
/**
|
2676
|
-
* @returns a Light Source type
|
2677
|
-
*/
|
2678
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2679
|
-
}
|
2680
|
-
|
2681
2659
|
/**
|
2682
2660
|
* User key event Listeners
|
2683
2661
|
* @public
|
@@ -4553,85 +4531,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4553
4531
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4554
4532
|
}
|
4555
4533
|
|
4556
|
-
/**
|
4557
|
-
* @public
|
4558
|
-
*/
|
4559
|
-
export declare interface PBLightSource {
|
4560
|
-
/** default = true, whether the lightSource is active or not. */
|
4561
|
-
active?: boolean | undefined;
|
4562
|
-
/** default = Color.white, the tint of the light, in RGB format where each component is a floating point value with a range from 0 to 1. */
|
4563
|
-
color?: PBColor3 | undefined;
|
4564
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4565
|
-
brightness?: number | undefined;
|
4566
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
4567
|
-
range?: number | undefined;
|
4568
|
-
type?: {
|
4569
|
-
$case: "point";
|
4570
|
-
point: PBLightSource_Point;
|
4571
|
-
} | {
|
4572
|
-
$case: "spot";
|
4573
|
-
spot: PBLightSource_Spot;
|
4574
|
-
} | undefined;
|
4575
|
-
}
|
4576
|
-
|
4577
|
-
/**
|
4578
|
-
* @public
|
4579
|
-
*/
|
4580
|
-
export declare namespace PBLightSource {
|
4581
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4582
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4583
|
-
}
|
4584
|
-
|
4585
|
-
/**
|
4586
|
-
* @public
|
4587
|
-
*/
|
4588
|
-
export declare interface PBLightSource_Point {
|
4589
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4590
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4591
|
-
}
|
4592
|
-
|
4593
|
-
/**
|
4594
|
-
* @public
|
4595
|
-
*/
|
4596
|
-
export declare namespace PBLightSource_Point {
|
4597
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4598
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4599
|
-
}
|
4600
|
-
|
4601
|
-
/**
|
4602
|
-
* @public
|
4603
|
-
*/
|
4604
|
-
export declare const enum PBLightSource_ShadowType {
|
4605
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
4606
|
-
ST_NONE = 0,
|
4607
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
4608
|
-
ST_SOFT = 1,
|
4609
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
4610
|
-
ST_HARD = 2
|
4611
|
-
}
|
4612
|
-
|
4613
|
-
/**
|
4614
|
-
* @public
|
4615
|
-
*/
|
4616
|
-
export declare interface PBLightSource_Spot {
|
4617
|
-
/** default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179. */
|
4618
|
-
innerAngle?: number | undefined;
|
4619
|
-
/** default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179. */
|
4620
|
-
outerAngle?: number | undefined;
|
4621
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4622
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4623
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4624
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4625
|
-
}
|
4626
|
-
|
4627
|
-
/**
|
4628
|
-
* @public
|
4629
|
-
*/
|
4630
|
-
export declare namespace PBLightSource_Spot {
|
4631
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4632
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4633
|
-
}
|
4634
|
-
|
4635
4534
|
/**
|
4636
4535
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4637
4536
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5733,7 +5632,6 @@ export declare namespace PBVideoPlayer {
|
|
5733
5632
|
* an 'instant' transition (like using speed/time = 0)
|
5734
5633
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5735
5634
|
* the holding entity transform).
|
5736
|
-
* * The fov defines the Field of View of the virtual camera
|
5737
5635
|
*/
|
5738
5636
|
/**
|
5739
5637
|
* @public
|
@@ -5741,8 +5639,6 @@ export declare namespace PBVideoPlayer {
|
|
5741
5639
|
export declare interface PBVirtualCamera {
|
5742
5640
|
defaultTransition?: CameraTransition | undefined;
|
5743
5641
|
lookAtEntity?: number | undefined;
|
5744
|
-
/** default: 60 */
|
5745
|
-
fov?: number | undefined;
|
5746
5642
|
}
|
5747
5643
|
|
5748
5644
|
/**
|