@dcl/playground-assets 7.9.2-16567268800.commit-c08bd82 → 7.9.2-16569289395.commit-113d048
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 -95
- package/dist/beta.d.ts +0 -95
- package/dist/index.bundled.d.ts +0 -95
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +0 -95
- package/etc/playground-assets.api.json +578 -1614
- package/etc/playground-assets.api.md +0 -72
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
@@ -1310,7 +1310,6 @@ export declare const componentDefinitionByName: {
|
|
1310
1310
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
1311
1311
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
1312
1312
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
1313
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
1314
1313
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
1315
1314
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
1316
1315
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -2681,32 +2680,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2681
2680
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2682
2681
|
}
|
2683
2682
|
|
2684
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2685
|
-
|
2686
|
-
/**
|
2687
|
-
* @public
|
2688
|
-
*/
|
2689
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2690
|
-
/**
|
2691
|
-
* LightSource helper with constructor
|
2692
|
-
*/
|
2693
|
-
Type: LightSourceHelper;
|
2694
|
-
}
|
2695
|
-
|
2696
|
-
/**
|
2697
|
-
* @public
|
2698
|
-
*/
|
2699
|
-
export declare interface LightSourceHelper {
|
2700
|
-
/**
|
2701
|
-
* @returns a Light Source type
|
2702
|
-
*/
|
2703
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2704
|
-
/**
|
2705
|
-
* @returns a Light Source type
|
2706
|
-
*/
|
2707
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2708
|
-
}
|
2709
|
-
|
2710
2683
|
/**
|
2711
2684
|
* User key event Listeners
|
2712
2685
|
* @public
|
@@ -4627,71 +4600,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4627
4600
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4628
4601
|
}
|
4629
4602
|
|
4630
|
-
/**
|
4631
|
-
* @public
|
4632
|
-
*/
|
4633
|
-
export declare interface PBLightSource {
|
4634
|
-
/** default = true, whether the lightSource is active or not. */
|
4635
|
-
active?: boolean | undefined;
|
4636
|
-
/** 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. */
|
4637
|
-
color?: PBColor3 | undefined;
|
4638
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4639
|
-
intensity?: number | undefined;
|
4640
|
-
/** default = 0, how far the light travels, expressed in meters. If left at 0 will be computed automatically */
|
4641
|
-
range?: number | undefined;
|
4642
|
-
/** default = false, whether the light casts shadows or not. */
|
4643
|
-
shadow?: boolean | undefined;
|
4644
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4645
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4646
|
-
type?: {
|
4647
|
-
$case: "point";
|
4648
|
-
point: PBLightSource_Point;
|
4649
|
-
} | {
|
4650
|
-
$case: "spot";
|
4651
|
-
spot: PBLightSource_Spot;
|
4652
|
-
} | undefined;
|
4653
|
-
}
|
4654
|
-
|
4655
|
-
/**
|
4656
|
-
* @public
|
4657
|
-
*/
|
4658
|
-
export declare namespace PBLightSource {
|
4659
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4660
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4661
|
-
}
|
4662
|
-
|
4663
|
-
/**
|
4664
|
-
* @public
|
4665
|
-
*/
|
4666
|
-
export declare interface PBLightSource_Point {
|
4667
|
-
}
|
4668
|
-
|
4669
|
-
/**
|
4670
|
-
* @public
|
4671
|
-
*/
|
4672
|
-
export declare namespace PBLightSource_Point {
|
4673
|
-
export function encode(_: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4674
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4675
|
-
}
|
4676
|
-
|
4677
|
-
/**
|
4678
|
-
* @public
|
4679
|
-
*/
|
4680
|
-
export declare interface PBLightSource_Spot {
|
4681
|
-
/** 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. */
|
4682
|
-
innerAngle?: number | undefined;
|
4683
|
-
/** 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. */
|
4684
|
-
outerAngle?: number | undefined;
|
4685
|
-
}
|
4686
|
-
|
4687
|
-
/**
|
4688
|
-
* @public
|
4689
|
-
*/
|
4690
|
-
export declare namespace PBLightSource_Spot {
|
4691
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4692
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4693
|
-
}
|
4694
|
-
|
4695
4603
|
/**
|
4696
4604
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4697
4605
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5897,7 +5805,6 @@ export declare namespace PBVideoPlayer {
|
|
5897
5805
|
* an 'instant' transition (like using speed/time = 0)
|
5898
5806
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5899
5807
|
* the holding entity transform).
|
5900
|
-
* * The fov defines the Field of View of the virtual camera
|
5901
5808
|
*/
|
5902
5809
|
/**
|
5903
5810
|
* @public
|
@@ -5905,8 +5812,6 @@ export declare namespace PBVideoPlayer {
|
|
5905
5812
|
export declare interface PBVirtualCamera {
|
5906
5813
|
defaultTransition?: CameraTransition | undefined;
|
5907
5814
|
lookAtEntity?: number | undefined;
|
5908
|
-
/** default: 60 */
|
5909
|
-
fov?: number | undefined;
|
5910
5815
|
}
|
5911
5816
|
|
5912
5817
|
/**
|
package/dist/beta.d.ts
CHANGED
@@ -1310,7 +1310,6 @@ export declare const componentDefinitionByName: {
|
|
1310
1310
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
1311
1311
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
1312
1312
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
1313
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
1314
1313
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
1315
1314
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
1316
1315
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -2672,32 +2671,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2672
2671
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2673
2672
|
}
|
2674
2673
|
|
2675
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2676
|
-
|
2677
|
-
/**
|
2678
|
-
* @public
|
2679
|
-
*/
|
2680
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2681
|
-
/**
|
2682
|
-
* LightSource helper with constructor
|
2683
|
-
*/
|
2684
|
-
Type: LightSourceHelper;
|
2685
|
-
}
|
2686
|
-
|
2687
|
-
/**
|
2688
|
-
* @public
|
2689
|
-
*/
|
2690
|
-
export declare interface LightSourceHelper {
|
2691
|
-
/**
|
2692
|
-
* @returns a Light Source type
|
2693
|
-
*/
|
2694
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2695
|
-
/**
|
2696
|
-
* @returns a Light Source type
|
2697
|
-
*/
|
2698
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2699
|
-
}
|
2700
|
-
|
2701
2674
|
/**
|
2702
2675
|
* User key event Listeners
|
2703
2676
|
* @public
|
@@ -4599,71 +4572,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4599
4572
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4600
4573
|
}
|
4601
4574
|
|
4602
|
-
/**
|
4603
|
-
* @public
|
4604
|
-
*/
|
4605
|
-
export declare interface PBLightSource {
|
4606
|
-
/** default = true, whether the lightSource is active or not. */
|
4607
|
-
active?: boolean | undefined;
|
4608
|
-
/** 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. */
|
4609
|
-
color?: PBColor3 | undefined;
|
4610
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4611
|
-
intensity?: number | undefined;
|
4612
|
-
/** default = 0, how far the light travels, expressed in meters. If left at 0 will be computed automatically */
|
4613
|
-
range?: number | undefined;
|
4614
|
-
/** default = false, whether the light casts shadows or not. */
|
4615
|
-
shadow?: boolean | undefined;
|
4616
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4617
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4618
|
-
type?: {
|
4619
|
-
$case: "point";
|
4620
|
-
point: PBLightSource_Point;
|
4621
|
-
} | {
|
4622
|
-
$case: "spot";
|
4623
|
-
spot: PBLightSource_Spot;
|
4624
|
-
} | undefined;
|
4625
|
-
}
|
4626
|
-
|
4627
|
-
/**
|
4628
|
-
* @public
|
4629
|
-
*/
|
4630
|
-
export declare namespace PBLightSource {
|
4631
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4632
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4633
|
-
}
|
4634
|
-
|
4635
|
-
/**
|
4636
|
-
* @public
|
4637
|
-
*/
|
4638
|
-
export declare interface PBLightSource_Point {
|
4639
|
-
}
|
4640
|
-
|
4641
|
-
/**
|
4642
|
-
* @public
|
4643
|
-
*/
|
4644
|
-
export declare namespace PBLightSource_Point {
|
4645
|
-
export function encode(_: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4646
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4647
|
-
}
|
4648
|
-
|
4649
|
-
/**
|
4650
|
-
* @public
|
4651
|
-
*/
|
4652
|
-
export declare interface PBLightSource_Spot {
|
4653
|
-
/** 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. */
|
4654
|
-
innerAngle?: number | undefined;
|
4655
|
-
/** 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. */
|
4656
|
-
outerAngle?: number | undefined;
|
4657
|
-
}
|
4658
|
-
|
4659
|
-
/**
|
4660
|
-
* @public
|
4661
|
-
*/
|
4662
|
-
export declare namespace PBLightSource_Spot {
|
4663
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4664
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4665
|
-
}
|
4666
|
-
|
4667
4575
|
/**
|
4668
4576
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4669
4577
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5869,7 +5777,6 @@ export declare namespace PBVideoPlayer {
|
|
5869
5777
|
* an 'instant' transition (like using speed/time = 0)
|
5870
5778
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5871
5779
|
* the holding entity transform).
|
5872
|
-
* * The fov defines the Field of View of the virtual camera
|
5873
5780
|
*/
|
5874
5781
|
/**
|
5875
5782
|
* @public
|
@@ -5877,8 +5784,6 @@ export declare namespace PBVideoPlayer {
|
|
5877
5784
|
export declare interface PBVirtualCamera {
|
5878
5785
|
defaultTransition?: CameraTransition | undefined;
|
5879
5786
|
lookAtEntity?: number | undefined;
|
5880
|
-
/** default: 60 */
|
5881
|
-
fov?: number | undefined;
|
5882
5787
|
}
|
5883
5788
|
|
5884
5789
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
@@ -1310,7 +1310,6 @@ export declare const componentDefinitionByName: {
|
|
1310
1310
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
1311
1311
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
1312
1312
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
1313
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
1314
1313
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
1315
1314
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
1316
1315
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -2672,32 +2671,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2672
2671
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2673
2672
|
}
|
2674
2673
|
|
2675
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2676
|
-
|
2677
|
-
/**
|
2678
|
-
* @public
|
2679
|
-
*/
|
2680
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2681
|
-
/**
|
2682
|
-
* LightSource helper with constructor
|
2683
|
-
*/
|
2684
|
-
Type: LightSourceHelper;
|
2685
|
-
}
|
2686
|
-
|
2687
|
-
/**
|
2688
|
-
* @public
|
2689
|
-
*/
|
2690
|
-
export declare interface LightSourceHelper {
|
2691
|
-
/**
|
2692
|
-
* @returns a Light Source type
|
2693
|
-
*/
|
2694
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2695
|
-
/**
|
2696
|
-
* @returns a Light Source type
|
2697
|
-
*/
|
2698
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2699
|
-
}
|
2700
|
-
|
2701
2674
|
/**
|
2702
2675
|
* User key event Listeners
|
2703
2676
|
* @public
|
@@ -4599,71 +4572,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4599
4572
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4600
4573
|
}
|
4601
4574
|
|
4602
|
-
/**
|
4603
|
-
* @public
|
4604
|
-
*/
|
4605
|
-
export declare interface PBLightSource {
|
4606
|
-
/** default = true, whether the lightSource is active or not. */
|
4607
|
-
active?: boolean | undefined;
|
4608
|
-
/** 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. */
|
4609
|
-
color?: PBColor3 | undefined;
|
4610
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4611
|
-
intensity?: number | undefined;
|
4612
|
-
/** default = 0, how far the light travels, expressed in meters. If left at 0 will be computed automatically */
|
4613
|
-
range?: number | undefined;
|
4614
|
-
/** default = false, whether the light casts shadows or not. */
|
4615
|
-
shadow?: boolean | undefined;
|
4616
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4617
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4618
|
-
type?: {
|
4619
|
-
$case: "point";
|
4620
|
-
point: PBLightSource_Point;
|
4621
|
-
} | {
|
4622
|
-
$case: "spot";
|
4623
|
-
spot: PBLightSource_Spot;
|
4624
|
-
} | undefined;
|
4625
|
-
}
|
4626
|
-
|
4627
|
-
/**
|
4628
|
-
* @public
|
4629
|
-
*/
|
4630
|
-
export declare namespace PBLightSource {
|
4631
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4632
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4633
|
-
}
|
4634
|
-
|
4635
|
-
/**
|
4636
|
-
* @public
|
4637
|
-
*/
|
4638
|
-
export declare interface PBLightSource_Point {
|
4639
|
-
}
|
4640
|
-
|
4641
|
-
/**
|
4642
|
-
* @public
|
4643
|
-
*/
|
4644
|
-
export declare namespace PBLightSource_Point {
|
4645
|
-
export function encode(_: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4646
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4647
|
-
}
|
4648
|
-
|
4649
|
-
/**
|
4650
|
-
* @public
|
4651
|
-
*/
|
4652
|
-
export declare interface PBLightSource_Spot {
|
4653
|
-
/** 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. */
|
4654
|
-
innerAngle?: number | undefined;
|
4655
|
-
/** 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. */
|
4656
|
-
outerAngle?: number | undefined;
|
4657
|
-
}
|
4658
|
-
|
4659
|
-
/**
|
4660
|
-
* @public
|
4661
|
-
*/
|
4662
|
-
export declare namespace PBLightSource_Spot {
|
4663
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4664
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4665
|
-
}
|
4666
|
-
|
4667
4575
|
/**
|
4668
4576
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4669
4577
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5869,7 +5777,6 @@ export declare namespace PBVideoPlayer {
|
|
5869
5777
|
* an 'instant' transition (like using speed/time = 0)
|
5870
5778
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5871
5779
|
* the holding entity transform).
|
5872
|
-
* * The fov defines the Field of View of the virtual camera
|
5873
5780
|
*/
|
5874
5781
|
/**
|
5875
5782
|
* @public
|
@@ -5877,8 +5784,6 @@ export declare namespace PBVideoPlayer {
|
|
5877
5784
|
export declare interface PBVirtualCamera {
|
5878
5785
|
defaultTransition?: CameraTransition | undefined;
|
5879
5786
|
lookAtEntity?: number | undefined;
|
5880
|
-
/** default: 60 */
|
5881
|
-
fov?: number | undefined;
|
5882
5787
|
}
|
5883
5788
|
|
5884
5789
|
/**
|