@dcl/playground-assets 7.8.10-15471956090.commit-579887d → 7.8.10-15592583277.commit-88d0671
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 +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 -109
- package/etc/playground-assets.api.json +371 -1525
- package/etc/playground-assets.api.md +0 -80
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -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>>;
|
|
@@ -2676,32 +2675,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
|
2676
2675
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
|
2677
2676
|
}
|
|
2678
2677
|
|
|
2679
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
|
2680
|
-
|
|
2681
|
-
/**
|
|
2682
|
-
* @public
|
|
2683
|
-
*/
|
|
2684
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
|
2685
|
-
/**
|
|
2686
|
-
* LightSource helper with constructor
|
|
2687
|
-
*/
|
|
2688
|
-
Type: LightSourceHelper;
|
|
2689
|
-
}
|
|
2690
|
-
|
|
2691
|
-
/**
|
|
2692
|
-
* @public
|
|
2693
|
-
*/
|
|
2694
|
-
export declare interface LightSourceHelper {
|
|
2695
|
-
/**
|
|
2696
|
-
* @returns a Light Source type
|
|
2697
|
-
*/
|
|
2698
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
|
2699
|
-
/**
|
|
2700
|
-
* @returns a Light Source type
|
|
2701
|
-
*/
|
|
2702
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
|
2703
|
-
}
|
|
2704
|
-
|
|
2705
2678
|
/**
|
|
2706
2679
|
* User key event Listeners
|
|
2707
2680
|
* @public
|
|
@@ -4577,85 +4550,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
|
4577
4550
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
|
4578
4551
|
}
|
|
4579
4552
|
|
|
4580
|
-
/**
|
|
4581
|
-
* @public
|
|
4582
|
-
*/
|
|
4583
|
-
export declare interface PBLightSource {
|
|
4584
|
-
/** default = true, whether the lightSource is active or not. */
|
|
4585
|
-
active?: boolean | undefined;
|
|
4586
|
-
/** 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. */
|
|
4587
|
-
color?: PBColor3 | undefined;
|
|
4588
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
|
4589
|
-
brightness?: number | undefined;
|
|
4590
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
|
4591
|
-
range?: number | undefined;
|
|
4592
|
-
type?: {
|
|
4593
|
-
$case: "point";
|
|
4594
|
-
point: PBLightSource_Point;
|
|
4595
|
-
} | {
|
|
4596
|
-
$case: "spot";
|
|
4597
|
-
spot: PBLightSource_Spot;
|
|
4598
|
-
} | undefined;
|
|
4599
|
-
}
|
|
4600
|
-
|
|
4601
|
-
/**
|
|
4602
|
-
* @public
|
|
4603
|
-
*/
|
|
4604
|
-
export declare namespace PBLightSource {
|
|
4605
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
|
4606
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
|
4607
|
-
}
|
|
4608
|
-
|
|
4609
|
-
/**
|
|
4610
|
-
* @public
|
|
4611
|
-
*/
|
|
4612
|
-
export declare interface PBLightSource_Point {
|
|
4613
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
|
4614
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
|
4615
|
-
}
|
|
4616
|
-
|
|
4617
|
-
/**
|
|
4618
|
-
* @public
|
|
4619
|
-
*/
|
|
4620
|
-
export declare namespace PBLightSource_Point {
|
|
4621
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
|
4622
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
|
4623
|
-
}
|
|
4624
|
-
|
|
4625
|
-
/**
|
|
4626
|
-
* @public
|
|
4627
|
-
*/
|
|
4628
|
-
export declare const enum PBLightSource_ShadowType {
|
|
4629
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
|
4630
|
-
ST_NONE = 0,
|
|
4631
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
|
4632
|
-
ST_SOFT = 1,
|
|
4633
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
|
4634
|
-
ST_HARD = 2
|
|
4635
|
-
}
|
|
4636
|
-
|
|
4637
|
-
/**
|
|
4638
|
-
* @public
|
|
4639
|
-
*/
|
|
4640
|
-
export declare interface PBLightSource_Spot {
|
|
4641
|
-
/** 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. */
|
|
4642
|
-
innerAngle?: number | undefined;
|
|
4643
|
-
/** 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. */
|
|
4644
|
-
outerAngle?: number | undefined;
|
|
4645
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
|
4646
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
|
4647
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
|
4648
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
|
4649
|
-
}
|
|
4650
|
-
|
|
4651
|
-
/**
|
|
4652
|
-
* @public
|
|
4653
|
-
*/
|
|
4654
|
-
export declare namespace PBLightSource_Spot {
|
|
4655
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
|
4656
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
|
4657
|
-
}
|
|
4658
|
-
|
|
4659
4553
|
/**
|
|
4660
4554
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
|
4661
4555
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
|
@@ -5835,7 +5729,6 @@ export declare namespace PBVideoPlayer {
|
|
|
5835
5729
|
* an 'instant' transition (like using speed/time = 0)
|
|
5836
5730
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
5837
5731
|
* the holding entity transform).
|
|
5838
|
-
* * The fov defines the Field of View of the virtual camera
|
|
5839
5732
|
*/
|
|
5840
5733
|
/**
|
|
5841
5734
|
* @public
|
|
@@ -5843,8 +5736,6 @@ export declare namespace PBVideoPlayer {
|
|
|
5843
5736
|
export declare interface PBVirtualCamera {
|
|
5844
5737
|
defaultTransition?: CameraTransition | undefined;
|
|
5845
5738
|
lookAtEntity?: number | undefined;
|
|
5846
|
-
/** default: 60 */
|
|
5847
|
-
fov?: number | undefined;
|
|
5848
5739
|
}
|
|
5849
5740
|
|
|
5850
5741
|
/**
|
package/dist/beta.d.ts
CHANGED
|
@@ -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>>;
|
|
@@ -2667,32 +2666,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
|
2667
2666
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
|
2668
2667
|
}
|
|
2669
2668
|
|
|
2670
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
|
2671
|
-
|
|
2672
|
-
/**
|
|
2673
|
-
* @public
|
|
2674
|
-
*/
|
|
2675
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
|
2676
|
-
/**
|
|
2677
|
-
* LightSource helper with constructor
|
|
2678
|
-
*/
|
|
2679
|
-
Type: LightSourceHelper;
|
|
2680
|
-
}
|
|
2681
|
-
|
|
2682
|
-
/**
|
|
2683
|
-
* @public
|
|
2684
|
-
*/
|
|
2685
|
-
export declare interface LightSourceHelper {
|
|
2686
|
-
/**
|
|
2687
|
-
* @returns a Light Source type
|
|
2688
|
-
*/
|
|
2689
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
|
2690
|
-
/**
|
|
2691
|
-
* @returns a Light Source type
|
|
2692
|
-
*/
|
|
2693
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
2669
|
/**
|
|
2697
2670
|
* User key event Listeners
|
|
2698
2671
|
* @public
|
|
@@ -4549,85 +4522,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
|
4549
4522
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
|
4550
4523
|
}
|
|
4551
4524
|
|
|
4552
|
-
/**
|
|
4553
|
-
* @public
|
|
4554
|
-
*/
|
|
4555
|
-
export declare interface PBLightSource {
|
|
4556
|
-
/** default = true, whether the lightSource is active or not. */
|
|
4557
|
-
active?: boolean | undefined;
|
|
4558
|
-
/** 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. */
|
|
4559
|
-
color?: PBColor3 | undefined;
|
|
4560
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
|
4561
|
-
brightness?: number | undefined;
|
|
4562
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
|
4563
|
-
range?: number | undefined;
|
|
4564
|
-
type?: {
|
|
4565
|
-
$case: "point";
|
|
4566
|
-
point: PBLightSource_Point;
|
|
4567
|
-
} | {
|
|
4568
|
-
$case: "spot";
|
|
4569
|
-
spot: PBLightSource_Spot;
|
|
4570
|
-
} | undefined;
|
|
4571
|
-
}
|
|
4572
|
-
|
|
4573
|
-
/**
|
|
4574
|
-
* @public
|
|
4575
|
-
*/
|
|
4576
|
-
export declare namespace PBLightSource {
|
|
4577
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
|
4578
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
|
4579
|
-
}
|
|
4580
|
-
|
|
4581
|
-
/**
|
|
4582
|
-
* @public
|
|
4583
|
-
*/
|
|
4584
|
-
export declare interface PBLightSource_Point {
|
|
4585
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
|
4586
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
|
4587
|
-
}
|
|
4588
|
-
|
|
4589
|
-
/**
|
|
4590
|
-
* @public
|
|
4591
|
-
*/
|
|
4592
|
-
export declare namespace PBLightSource_Point {
|
|
4593
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
|
4594
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
|
4595
|
-
}
|
|
4596
|
-
|
|
4597
|
-
/**
|
|
4598
|
-
* @public
|
|
4599
|
-
*/
|
|
4600
|
-
export declare const enum PBLightSource_ShadowType {
|
|
4601
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
|
4602
|
-
ST_NONE = 0,
|
|
4603
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
|
4604
|
-
ST_SOFT = 1,
|
|
4605
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
|
4606
|
-
ST_HARD = 2
|
|
4607
|
-
}
|
|
4608
|
-
|
|
4609
|
-
/**
|
|
4610
|
-
* @public
|
|
4611
|
-
*/
|
|
4612
|
-
export declare interface PBLightSource_Spot {
|
|
4613
|
-
/** 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. */
|
|
4614
|
-
innerAngle?: number | undefined;
|
|
4615
|
-
/** 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. */
|
|
4616
|
-
outerAngle?: number | undefined;
|
|
4617
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
|
4618
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
|
4619
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
|
4620
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
|
4621
|
-
}
|
|
4622
|
-
|
|
4623
|
-
/**
|
|
4624
|
-
* @public
|
|
4625
|
-
*/
|
|
4626
|
-
export declare namespace PBLightSource_Spot {
|
|
4627
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
|
4628
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
|
4629
|
-
}
|
|
4630
|
-
|
|
4631
4525
|
/**
|
|
4632
4526
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
|
4633
4527
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
|
@@ -5807,7 +5701,6 @@ export declare namespace PBVideoPlayer {
|
|
|
5807
5701
|
* an 'instant' transition (like using speed/time = 0)
|
|
5808
5702
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
5809
5703
|
* the holding entity transform).
|
|
5810
|
-
* * The fov defines the Field of View of the virtual camera
|
|
5811
5704
|
*/
|
|
5812
5705
|
/**
|
|
5813
5706
|
* @public
|
|
@@ -5815,8 +5708,6 @@ export declare namespace PBVideoPlayer {
|
|
|
5815
5708
|
export declare interface PBVirtualCamera {
|
|
5816
5709
|
defaultTransition?: CameraTransition | undefined;
|
|
5817
5710
|
lookAtEntity?: number | undefined;
|
|
5818
|
-
/** default: 60 */
|
|
5819
|
-
fov?: number | undefined;
|
|
5820
5711
|
}
|
|
5821
5712
|
|
|
5822
5713
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -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>>;
|
|
@@ -2667,32 +2666,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
|
2667
2666
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
|
2668
2667
|
}
|
|
2669
2668
|
|
|
2670
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
|
2671
|
-
|
|
2672
|
-
/**
|
|
2673
|
-
* @public
|
|
2674
|
-
*/
|
|
2675
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
|
2676
|
-
/**
|
|
2677
|
-
* LightSource helper with constructor
|
|
2678
|
-
*/
|
|
2679
|
-
Type: LightSourceHelper;
|
|
2680
|
-
}
|
|
2681
|
-
|
|
2682
|
-
/**
|
|
2683
|
-
* @public
|
|
2684
|
-
*/
|
|
2685
|
-
export declare interface LightSourceHelper {
|
|
2686
|
-
/**
|
|
2687
|
-
* @returns a Light Source type
|
|
2688
|
-
*/
|
|
2689
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
|
2690
|
-
/**
|
|
2691
|
-
* @returns a Light Source type
|
|
2692
|
-
*/
|
|
2693
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
2669
|
/**
|
|
2697
2670
|
* User key event Listeners
|
|
2698
2671
|
* @public
|
|
@@ -4549,85 +4522,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
|
4549
4522
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
|
4550
4523
|
}
|
|
4551
4524
|
|
|
4552
|
-
/**
|
|
4553
|
-
* @public
|
|
4554
|
-
*/
|
|
4555
|
-
export declare interface PBLightSource {
|
|
4556
|
-
/** default = true, whether the lightSource is active or not. */
|
|
4557
|
-
active?: boolean | undefined;
|
|
4558
|
-
/** 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. */
|
|
4559
|
-
color?: PBColor3 | undefined;
|
|
4560
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
|
4561
|
-
brightness?: number | undefined;
|
|
4562
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
|
4563
|
-
range?: number | undefined;
|
|
4564
|
-
type?: {
|
|
4565
|
-
$case: "point";
|
|
4566
|
-
point: PBLightSource_Point;
|
|
4567
|
-
} | {
|
|
4568
|
-
$case: "spot";
|
|
4569
|
-
spot: PBLightSource_Spot;
|
|
4570
|
-
} | undefined;
|
|
4571
|
-
}
|
|
4572
|
-
|
|
4573
|
-
/**
|
|
4574
|
-
* @public
|
|
4575
|
-
*/
|
|
4576
|
-
export declare namespace PBLightSource {
|
|
4577
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
|
4578
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
|
4579
|
-
}
|
|
4580
|
-
|
|
4581
|
-
/**
|
|
4582
|
-
* @public
|
|
4583
|
-
*/
|
|
4584
|
-
export declare interface PBLightSource_Point {
|
|
4585
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
|
4586
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
|
4587
|
-
}
|
|
4588
|
-
|
|
4589
|
-
/**
|
|
4590
|
-
* @public
|
|
4591
|
-
*/
|
|
4592
|
-
export declare namespace PBLightSource_Point {
|
|
4593
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
|
4594
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
|
4595
|
-
}
|
|
4596
|
-
|
|
4597
|
-
/**
|
|
4598
|
-
* @public
|
|
4599
|
-
*/
|
|
4600
|
-
export declare const enum PBLightSource_ShadowType {
|
|
4601
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
|
4602
|
-
ST_NONE = 0,
|
|
4603
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
|
4604
|
-
ST_SOFT = 1,
|
|
4605
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
|
4606
|
-
ST_HARD = 2
|
|
4607
|
-
}
|
|
4608
|
-
|
|
4609
|
-
/**
|
|
4610
|
-
* @public
|
|
4611
|
-
*/
|
|
4612
|
-
export declare interface PBLightSource_Spot {
|
|
4613
|
-
/** 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. */
|
|
4614
|
-
innerAngle?: number | undefined;
|
|
4615
|
-
/** 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. */
|
|
4616
|
-
outerAngle?: number | undefined;
|
|
4617
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
|
4618
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
|
4619
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
|
4620
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
|
4621
|
-
}
|
|
4622
|
-
|
|
4623
|
-
/**
|
|
4624
|
-
* @public
|
|
4625
|
-
*/
|
|
4626
|
-
export declare namespace PBLightSource_Spot {
|
|
4627
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
|
4628
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
|
4629
|
-
}
|
|
4630
|
-
|
|
4631
4525
|
/**
|
|
4632
4526
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
|
4633
4527
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
|
@@ -5807,7 +5701,6 @@ export declare namespace PBVideoPlayer {
|
|
|
5807
5701
|
* an 'instant' transition (like using speed/time = 0)
|
|
5808
5702
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
5809
5703
|
* the holding entity transform).
|
|
5810
|
-
* * The fov defines the Field of View of the virtual camera
|
|
5811
5704
|
*/
|
|
5812
5705
|
/**
|
|
5813
5706
|
* @public
|
|
@@ -5815,8 +5708,6 @@ export declare namespace PBVideoPlayer {
|
|
|
5815
5708
|
export declare interface PBVirtualCamera {
|
|
5816
5709
|
defaultTransition?: CameraTransition | undefined;
|
|
5817
5710
|
lookAtEntity?: number | undefined;
|
|
5818
|
-
/** default: 60 */
|
|
5819
|
-
fov?: number | undefined;
|
|
5820
5711
|
}
|
|
5821
5712
|
|
|
5822
5713
|
/**
|