@dcl/playground-assets 7.8.7-14910296669.commit-0575dbe → 7.8.7-14928759244.commit-407e90f
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 +0 -109
- package/dist/beta.d.ts +0 -109
- package/dist/index.bundled.d.ts +0 -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 +0 -109
- package/etc/playground-assets.api.json +371 -1525
- package/etc/playground-assets.api.md +0 -80
- package/package.json +4 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.8.7-
|
4
|
+
"version": "7.8.7-14928759244.commit-407e90f",
|
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": "407e90fcbb03f8b8577ee8e12141dca31b9be92b"
|
39
39
|
}
|
@@ -1309,7 +1309,6 @@ export declare const componentDefinitionByName: {
|
|
1309
1309
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
1310
1310
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
1311
1311
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
1312
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
1313
1312
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
1314
1313
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
1315
1314
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -2675,32 +2674,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2675
2674
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2676
2675
|
}
|
2677
2676
|
|
2678
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2679
|
-
|
2680
|
-
/**
|
2681
|
-
* @public
|
2682
|
-
*/
|
2683
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2684
|
-
/**
|
2685
|
-
* LightSource helper with constructor
|
2686
|
-
*/
|
2687
|
-
Type: LightSourceHelper;
|
2688
|
-
}
|
2689
|
-
|
2690
|
-
/**
|
2691
|
-
* @public
|
2692
|
-
*/
|
2693
|
-
export declare interface LightSourceHelper {
|
2694
|
-
/**
|
2695
|
-
* @returns a Light Source type
|
2696
|
-
*/
|
2697
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2698
|
-
/**
|
2699
|
-
* @returns a Light Source type
|
2700
|
-
*/
|
2701
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2702
|
-
}
|
2703
|
-
|
2704
2677
|
/**
|
2705
2678
|
* User key event Listeners
|
2706
2679
|
* @public
|
@@ -4576,85 +4549,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4576
4549
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4577
4550
|
}
|
4578
4551
|
|
4579
|
-
/**
|
4580
|
-
* @public
|
4581
|
-
*/
|
4582
|
-
export declare interface PBLightSource {
|
4583
|
-
/** default = true, whether the lightSource is active or not. */
|
4584
|
-
active?: boolean | undefined;
|
4585
|
-
/** 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. */
|
4586
|
-
color?: PBColor3 | undefined;
|
4587
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4588
|
-
brightness?: number | undefined;
|
4589
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
4590
|
-
range?: number | undefined;
|
4591
|
-
type?: {
|
4592
|
-
$case: "point";
|
4593
|
-
point: PBLightSource_Point;
|
4594
|
-
} | {
|
4595
|
-
$case: "spot";
|
4596
|
-
spot: PBLightSource_Spot;
|
4597
|
-
} | undefined;
|
4598
|
-
}
|
4599
|
-
|
4600
|
-
/**
|
4601
|
-
* @public
|
4602
|
-
*/
|
4603
|
-
export declare namespace PBLightSource {
|
4604
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4605
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4606
|
-
}
|
4607
|
-
|
4608
|
-
/**
|
4609
|
-
* @public
|
4610
|
-
*/
|
4611
|
-
export declare interface PBLightSource_Point {
|
4612
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4613
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4614
|
-
}
|
4615
|
-
|
4616
|
-
/**
|
4617
|
-
* @public
|
4618
|
-
*/
|
4619
|
-
export declare namespace PBLightSource_Point {
|
4620
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4621
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4622
|
-
}
|
4623
|
-
|
4624
|
-
/**
|
4625
|
-
* @public
|
4626
|
-
*/
|
4627
|
-
export declare const enum PBLightSource_ShadowType {
|
4628
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
4629
|
-
ST_NONE = 0,
|
4630
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
4631
|
-
ST_SOFT = 1,
|
4632
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
4633
|
-
ST_HARD = 2
|
4634
|
-
}
|
4635
|
-
|
4636
|
-
/**
|
4637
|
-
* @public
|
4638
|
-
*/
|
4639
|
-
export declare interface PBLightSource_Spot {
|
4640
|
-
/** 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. */
|
4641
|
-
innerAngle?: number | undefined;
|
4642
|
-
/** 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. */
|
4643
|
-
outerAngle?: number | undefined;
|
4644
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4645
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4646
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4647
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4648
|
-
}
|
4649
|
-
|
4650
|
-
/**
|
4651
|
-
* @public
|
4652
|
-
*/
|
4653
|
-
export declare namespace PBLightSource_Spot {
|
4654
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4655
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4656
|
-
}
|
4657
|
-
|
4658
4552
|
/**
|
4659
4553
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4660
4554
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5785,7 +5679,6 @@ export declare namespace PBVideoPlayer {
|
|
5785
5679
|
* an 'instant' transition (like using speed/time = 0)
|
5786
5680
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5787
5681
|
* the holding entity transform).
|
5788
|
-
* * The fov defines the Field of View of the virtual camera
|
5789
5682
|
*/
|
5790
5683
|
/**
|
5791
5684
|
* @public
|
@@ -5793,8 +5686,6 @@ export declare namespace PBVideoPlayer {
|
|
5793
5686
|
export declare interface PBVirtualCamera {
|
5794
5687
|
defaultTransition?: CameraTransition | undefined;
|
5795
5688
|
lookAtEntity?: number | undefined;
|
5796
|
-
/** default: 60 */
|
5797
|
-
fov?: number | undefined;
|
5798
5689
|
}
|
5799
5690
|
|
5800
5691
|
/**
|