@dcl/playground-assets 7.8.22-16119591948.commit-9ef869d → 7.8.22-16146892301.commit-2d060b3
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 -146
- package/dist/beta.d.ts +0 -146
- package/dist/index.bundled.d.ts +0 -146
- 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 -146
- package/etc/playground-assets.api.json +1051 -2556
- package/etc/playground-assets.api.md +0 -104
- 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>>;
|
@@ -1323,7 +1322,6 @@ export declare const componentDefinitionByName: {
|
|
1323
1322
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
1324
1323
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
1325
1324
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
1326
|
-
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
1327
1325
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
1328
1326
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
1329
1327
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
@@ -2677,32 +2675,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2677
2675
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2678
2676
|
}
|
2679
2677
|
|
2680
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2681
|
-
|
2682
|
-
/**
|
2683
|
-
* @public
|
2684
|
-
*/
|
2685
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2686
|
-
/**
|
2687
|
-
* LightSource helper with constructor
|
2688
|
-
*/
|
2689
|
-
Type: LightSourceHelper;
|
2690
|
-
}
|
2691
|
-
|
2692
|
-
/**
|
2693
|
-
* @public
|
2694
|
-
*/
|
2695
|
-
export declare interface LightSourceHelper {
|
2696
|
-
/**
|
2697
|
-
* @returns a Light Source type
|
2698
|
-
*/
|
2699
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2700
|
-
/**
|
2701
|
-
* @returns a Light Source type
|
2702
|
-
*/
|
2703
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2704
|
-
}
|
2705
|
-
|
2706
2678
|
/**
|
2707
2679
|
* User key event Listeners
|
2708
2680
|
* @public
|
@@ -4578,85 +4550,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4578
4550
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4579
4551
|
}
|
4580
4552
|
|
4581
|
-
/**
|
4582
|
-
* @public
|
4583
|
-
*/
|
4584
|
-
export declare interface PBLightSource {
|
4585
|
-
/** default = true, whether the lightSource is active or not. */
|
4586
|
-
active?: boolean | undefined;
|
4587
|
-
/** 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. */
|
4588
|
-
color?: PBColor3 | undefined;
|
4589
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4590
|
-
brightness?: number | undefined;
|
4591
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
4592
|
-
range?: number | undefined;
|
4593
|
-
type?: {
|
4594
|
-
$case: "point";
|
4595
|
-
point: PBLightSource_Point;
|
4596
|
-
} | {
|
4597
|
-
$case: "spot";
|
4598
|
-
spot: PBLightSource_Spot;
|
4599
|
-
} | undefined;
|
4600
|
-
}
|
4601
|
-
|
4602
|
-
/**
|
4603
|
-
* @public
|
4604
|
-
*/
|
4605
|
-
export declare namespace PBLightSource {
|
4606
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4607
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4608
|
-
}
|
4609
|
-
|
4610
|
-
/**
|
4611
|
-
* @public
|
4612
|
-
*/
|
4613
|
-
export declare interface PBLightSource_Point {
|
4614
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4615
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4616
|
-
}
|
4617
|
-
|
4618
|
-
/**
|
4619
|
-
* @public
|
4620
|
-
*/
|
4621
|
-
export declare namespace PBLightSource_Point {
|
4622
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4623
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4624
|
-
}
|
4625
|
-
|
4626
|
-
/**
|
4627
|
-
* @public
|
4628
|
-
*/
|
4629
|
-
export declare const enum PBLightSource_ShadowType {
|
4630
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
4631
|
-
ST_NONE = 0,
|
4632
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
4633
|
-
ST_SOFT = 1,
|
4634
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
4635
|
-
ST_HARD = 2
|
4636
|
-
}
|
4637
|
-
|
4638
|
-
/**
|
4639
|
-
* @public
|
4640
|
-
*/
|
4641
|
-
export declare interface PBLightSource_Spot {
|
4642
|
-
/** 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. */
|
4643
|
-
innerAngle?: number | undefined;
|
4644
|
-
/** 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. */
|
4645
|
-
outerAngle?: number | undefined;
|
4646
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4647
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4648
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4649
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4650
|
-
}
|
4651
|
-
|
4652
|
-
/**
|
4653
|
-
* @public
|
4654
|
-
*/
|
4655
|
-
export declare namespace PBLightSource_Spot {
|
4656
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4657
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4658
|
-
}
|
4659
|
-
|
4660
4553
|
/**
|
4661
4554
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4662
4555
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5330,28 +5223,6 @@ export declare namespace PBRealmInfo {
|
|
5330
5223
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
5331
5224
|
}
|
5332
5225
|
|
5333
|
-
/**
|
5334
|
-
* The SkyboxTime component allows controlling the time of day for the skybox,
|
5335
|
-
* affecting the lighting and appearance of the sky in the scene.
|
5336
|
-
*/
|
5337
|
-
/**
|
5338
|
-
* @public
|
5339
|
-
*/
|
5340
|
-
export declare interface PBSkyboxTime {
|
5341
|
-
/** fixed time of day, represented as a number of seconds since the start of the day, where 0 is 00:00hs, 43200 is 12:00hs and 86400 is 24:00hs */
|
5342
|
-
fixedTime: number;
|
5343
|
-
/** default = TransitionMode.TM_FORWARD, controls the direction of time transitions */
|
5344
|
-
transitionMode?: TransitionMode | undefined;
|
5345
|
-
}
|
5346
|
-
|
5347
|
-
/**
|
5348
|
-
* @public
|
5349
|
-
*/
|
5350
|
-
export declare namespace PBSkyboxTime {
|
5351
|
-
export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
|
5352
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkyboxTime;
|
5353
|
-
}
|
5354
|
-
|
5355
5226
|
/**
|
5356
5227
|
* The TextShape component renders customizable floating text.
|
5357
5228
|
*
|
@@ -5862,7 +5733,6 @@ export declare namespace PBVideoPlayer {
|
|
5862
5733
|
* an 'instant' transition (like using speed/time = 0)
|
5863
5734
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5864
5735
|
* the holding entity transform).
|
5865
|
-
* * The fov defines the Field of View of the virtual camera
|
5866
5736
|
*/
|
5867
5737
|
/**
|
5868
5738
|
* @public
|
@@ -5870,8 +5740,6 @@ export declare namespace PBVideoPlayer {
|
|
5870
5740
|
export declare interface PBVirtualCamera {
|
5871
5741
|
defaultTransition?: CameraTransition | undefined;
|
5872
5742
|
lookAtEntity?: number | undefined;
|
5873
|
-
/** default: 60 */
|
5874
|
-
fov?: number | undefined;
|
5875
5743
|
}
|
5876
5744
|
|
5877
5745
|
/**
|
@@ -7213,9 +7081,6 @@ export declare namespace Schemas {
|
|
7213
7081
|
}) => void;
|
7214
7082
|
}
|
7215
7083
|
|
7216
|
-
/** @public */
|
7217
|
-
export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
7218
|
-
|
7219
7084
|
/**
|
7220
7085
|
* @public
|
7221
7086
|
*/
|
@@ -7482,17 +7347,6 @@ export declare type TransformType = {
|
|
7482
7347
|
*/
|
7483
7348
|
export declare type TransformTypeWithOptionals = Partial<TransformType>;
|
7484
7349
|
|
7485
|
-
/** Controls the direction for animated skybox transitions */
|
7486
|
-
/**
|
7487
|
-
* @public
|
7488
|
-
*/
|
7489
|
-
export declare const enum TransitionMode {
|
7490
|
-
/** TM_FORWARD - transitions forward (default) */
|
7491
|
-
TM_FORWARD = 0,
|
7492
|
-
/** TM_BACKWARD - transitions backward */
|
7493
|
-
TM_BACKWARD = 1
|
7494
|
-
}
|
7495
|
-
|
7496
7350
|
/**
|
7497
7351
|
* @public
|
7498
7352
|
*/
|
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>>;
|
@@ -1323,7 +1322,6 @@ export declare const componentDefinitionByName: {
|
|
1323
1322
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
1324
1323
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
1325
1324
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
1326
|
-
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
1327
1325
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
1328
1326
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
1329
1327
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
@@ -2668,32 +2666,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2668
2666
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2669
2667
|
}
|
2670
2668
|
|
2671
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2672
|
-
|
2673
|
-
/**
|
2674
|
-
* @public
|
2675
|
-
*/
|
2676
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2677
|
-
/**
|
2678
|
-
* LightSource helper with constructor
|
2679
|
-
*/
|
2680
|
-
Type: LightSourceHelper;
|
2681
|
-
}
|
2682
|
-
|
2683
|
-
/**
|
2684
|
-
* @public
|
2685
|
-
*/
|
2686
|
-
export declare interface LightSourceHelper {
|
2687
|
-
/**
|
2688
|
-
* @returns a Light Source type
|
2689
|
-
*/
|
2690
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2691
|
-
/**
|
2692
|
-
* @returns a Light Source type
|
2693
|
-
*/
|
2694
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2695
|
-
}
|
2696
|
-
|
2697
2669
|
/**
|
2698
2670
|
* User key event Listeners
|
2699
2671
|
* @public
|
@@ -4550,85 +4522,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4550
4522
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4551
4523
|
}
|
4552
4524
|
|
4553
|
-
/**
|
4554
|
-
* @public
|
4555
|
-
*/
|
4556
|
-
export declare interface PBLightSource {
|
4557
|
-
/** default = true, whether the lightSource is active or not. */
|
4558
|
-
active?: boolean | undefined;
|
4559
|
-
/** 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. */
|
4560
|
-
color?: PBColor3 | undefined;
|
4561
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4562
|
-
brightness?: number | undefined;
|
4563
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
4564
|
-
range?: number | undefined;
|
4565
|
-
type?: {
|
4566
|
-
$case: "point";
|
4567
|
-
point: PBLightSource_Point;
|
4568
|
-
} | {
|
4569
|
-
$case: "spot";
|
4570
|
-
spot: PBLightSource_Spot;
|
4571
|
-
} | undefined;
|
4572
|
-
}
|
4573
|
-
|
4574
|
-
/**
|
4575
|
-
* @public
|
4576
|
-
*/
|
4577
|
-
export declare namespace PBLightSource {
|
4578
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4579
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4580
|
-
}
|
4581
|
-
|
4582
|
-
/**
|
4583
|
-
* @public
|
4584
|
-
*/
|
4585
|
-
export declare interface PBLightSource_Point {
|
4586
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4587
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4588
|
-
}
|
4589
|
-
|
4590
|
-
/**
|
4591
|
-
* @public
|
4592
|
-
*/
|
4593
|
-
export declare namespace PBLightSource_Point {
|
4594
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4595
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4596
|
-
}
|
4597
|
-
|
4598
|
-
/**
|
4599
|
-
* @public
|
4600
|
-
*/
|
4601
|
-
export declare const enum PBLightSource_ShadowType {
|
4602
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
4603
|
-
ST_NONE = 0,
|
4604
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
4605
|
-
ST_SOFT = 1,
|
4606
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
4607
|
-
ST_HARD = 2
|
4608
|
-
}
|
4609
|
-
|
4610
|
-
/**
|
4611
|
-
* @public
|
4612
|
-
*/
|
4613
|
-
export declare interface PBLightSource_Spot {
|
4614
|
-
/** 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. */
|
4615
|
-
innerAngle?: number | undefined;
|
4616
|
-
/** 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. */
|
4617
|
-
outerAngle?: number | undefined;
|
4618
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4619
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4620
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4621
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4622
|
-
}
|
4623
|
-
|
4624
|
-
/**
|
4625
|
-
* @public
|
4626
|
-
*/
|
4627
|
-
export declare namespace PBLightSource_Spot {
|
4628
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4629
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4630
|
-
}
|
4631
|
-
|
4632
4525
|
/**
|
4633
4526
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4634
4527
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5302,28 +5195,6 @@ export declare namespace PBRealmInfo {
|
|
5302
5195
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
5303
5196
|
}
|
5304
5197
|
|
5305
|
-
/**
|
5306
|
-
* The SkyboxTime component allows controlling the time of day for the skybox,
|
5307
|
-
* affecting the lighting and appearance of the sky in the scene.
|
5308
|
-
*/
|
5309
|
-
/**
|
5310
|
-
* @public
|
5311
|
-
*/
|
5312
|
-
export declare interface PBSkyboxTime {
|
5313
|
-
/** fixed time of day, represented as a number of seconds since the start of the day, where 0 is 00:00hs, 43200 is 12:00hs and 86400 is 24:00hs */
|
5314
|
-
fixedTime: number;
|
5315
|
-
/** default = TransitionMode.TM_FORWARD, controls the direction of time transitions */
|
5316
|
-
transitionMode?: TransitionMode | undefined;
|
5317
|
-
}
|
5318
|
-
|
5319
|
-
/**
|
5320
|
-
* @public
|
5321
|
-
*/
|
5322
|
-
export declare namespace PBSkyboxTime {
|
5323
|
-
export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
|
5324
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkyboxTime;
|
5325
|
-
}
|
5326
|
-
|
5327
5198
|
/**
|
5328
5199
|
* The TextShape component renders customizable floating text.
|
5329
5200
|
*
|
@@ -5834,7 +5705,6 @@ export declare namespace PBVideoPlayer {
|
|
5834
5705
|
* an 'instant' transition (like using speed/time = 0)
|
5835
5706
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5836
5707
|
* the holding entity transform).
|
5837
|
-
* * The fov defines the Field of View of the virtual camera
|
5838
5708
|
*/
|
5839
5709
|
/**
|
5840
5710
|
* @public
|
@@ -5842,8 +5712,6 @@ export declare namespace PBVideoPlayer {
|
|
5842
5712
|
export declare interface PBVirtualCamera {
|
5843
5713
|
defaultTransition?: CameraTransition | undefined;
|
5844
5714
|
lookAtEntity?: number | undefined;
|
5845
|
-
/** default: 60 */
|
5846
|
-
fov?: number | undefined;
|
5847
5715
|
}
|
5848
5716
|
|
5849
5717
|
/**
|
@@ -7185,9 +7053,6 @@ export declare namespace Schemas {
|
|
7185
7053
|
}) => void;
|
7186
7054
|
}
|
7187
7055
|
|
7188
|
-
/** @public */
|
7189
|
-
export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
7190
|
-
|
7191
7056
|
/**
|
7192
7057
|
* @public
|
7193
7058
|
*/
|
@@ -7449,17 +7314,6 @@ export declare type TransformType = {
|
|
7449
7314
|
*/
|
7450
7315
|
export declare type TransformTypeWithOptionals = Partial<TransformType>;
|
7451
7316
|
|
7452
|
-
/** Controls the direction for animated skybox transitions */
|
7453
|
-
/**
|
7454
|
-
* @public
|
7455
|
-
*/
|
7456
|
-
export declare const enum TransitionMode {
|
7457
|
-
/** TM_FORWARD - transitions forward (default) */
|
7458
|
-
TM_FORWARD = 0,
|
7459
|
-
/** TM_BACKWARD - transitions backward */
|
7460
|
-
TM_BACKWARD = 1
|
7461
|
-
}
|
7462
|
-
|
7463
7317
|
/**
|
7464
7318
|
* @public
|
7465
7319
|
*/
|
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>>;
|
@@ -1323,7 +1322,6 @@ export declare const componentDefinitionByName: {
|
|
1323
1322
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
1324
1323
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
1325
1324
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
1326
|
-
"core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
|
1327
1325
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
1328
1326
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
1329
1327
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
@@ -2668,32 +2666,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
2668
2666
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
2669
2667
|
}
|
2670
2668
|
|
2671
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
2672
|
-
|
2673
|
-
/**
|
2674
|
-
* @public
|
2675
|
-
*/
|
2676
|
-
export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
2677
|
-
/**
|
2678
|
-
* LightSource helper with constructor
|
2679
|
-
*/
|
2680
|
-
Type: LightSourceHelper;
|
2681
|
-
}
|
2682
|
-
|
2683
|
-
/**
|
2684
|
-
* @public
|
2685
|
-
*/
|
2686
|
-
export declare interface LightSourceHelper {
|
2687
|
-
/**
|
2688
|
-
* @returns a Light Source type
|
2689
|
-
*/
|
2690
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
2691
|
-
/**
|
2692
|
-
* @returns a Light Source type
|
2693
|
-
*/
|
2694
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
2695
|
-
}
|
2696
|
-
|
2697
2669
|
/**
|
2698
2670
|
* User key event Listeners
|
2699
2671
|
* @public
|
@@ -4550,85 +4522,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
4550
4522
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
4551
4523
|
}
|
4552
4524
|
|
4553
|
-
/**
|
4554
|
-
* @public
|
4555
|
-
*/
|
4556
|
-
export declare interface PBLightSource {
|
4557
|
-
/** default = true, whether the lightSource is active or not. */
|
4558
|
-
active?: boolean | undefined;
|
4559
|
-
/** 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. */
|
4560
|
-
color?: PBColor3 | undefined;
|
4561
|
-
/** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
|
4562
|
-
brightness?: number | undefined;
|
4563
|
-
/** default = 10, how far the light travels, expressed in meters. */
|
4564
|
-
range?: number | undefined;
|
4565
|
-
type?: {
|
4566
|
-
$case: "point";
|
4567
|
-
point: PBLightSource_Point;
|
4568
|
-
} | {
|
4569
|
-
$case: "spot";
|
4570
|
-
spot: PBLightSource_Spot;
|
4571
|
-
} | undefined;
|
4572
|
-
}
|
4573
|
-
|
4574
|
-
/**
|
4575
|
-
* @public
|
4576
|
-
*/
|
4577
|
-
export declare namespace PBLightSource {
|
4578
|
-
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
4579
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
4580
|
-
}
|
4581
|
-
|
4582
|
-
/**
|
4583
|
-
* @public
|
4584
|
-
*/
|
4585
|
-
export declare interface PBLightSource_Point {
|
4586
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4587
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4588
|
-
}
|
4589
|
-
|
4590
|
-
/**
|
4591
|
-
* @public
|
4592
|
-
*/
|
4593
|
-
export declare namespace PBLightSource_Point {
|
4594
|
-
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
4595
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
4596
|
-
}
|
4597
|
-
|
4598
|
-
/**
|
4599
|
-
* @public
|
4600
|
-
*/
|
4601
|
-
export declare const enum PBLightSource_ShadowType {
|
4602
|
-
/** ST_NONE - No shadows are cast from this LightSource. */
|
4603
|
-
ST_NONE = 0,
|
4604
|
-
/** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
|
4605
|
-
ST_SOFT = 1,
|
4606
|
-
/** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
|
4607
|
-
ST_HARD = 2
|
4608
|
-
}
|
4609
|
-
|
4610
|
-
/**
|
4611
|
-
* @public
|
4612
|
-
*/
|
4613
|
-
export declare interface PBLightSource_Spot {
|
4614
|
-
/** 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. */
|
4615
|
-
innerAngle?: number | undefined;
|
4616
|
-
/** 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. */
|
4617
|
-
outerAngle?: number | undefined;
|
4618
|
-
/** default = ShadowType.ST_NONE The type of shadow the light source supports. */
|
4619
|
-
shadow?: PBLightSource_ShadowType | undefined;
|
4620
|
-
/** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
|
4621
|
-
shadowMaskTexture?: TextureUnion | undefined;
|
4622
|
-
}
|
4623
|
-
|
4624
|
-
/**
|
4625
|
-
* @public
|
4626
|
-
*/
|
4627
|
-
export declare namespace PBLightSource_Spot {
|
4628
|
-
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
4629
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
4630
|
-
}
|
4631
|
-
|
4632
4525
|
/**
|
4633
4526
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
4634
4527
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
@@ -5302,28 +5195,6 @@ export declare namespace PBRealmInfo {
|
|
5302
5195
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
5303
5196
|
}
|
5304
5197
|
|
5305
|
-
/**
|
5306
|
-
* The SkyboxTime component allows controlling the time of day for the skybox,
|
5307
|
-
* affecting the lighting and appearance of the sky in the scene.
|
5308
|
-
*/
|
5309
|
-
/**
|
5310
|
-
* @public
|
5311
|
-
*/
|
5312
|
-
export declare interface PBSkyboxTime {
|
5313
|
-
/** fixed time of day, represented as a number of seconds since the start of the day, where 0 is 00:00hs, 43200 is 12:00hs and 86400 is 24:00hs */
|
5314
|
-
fixedTime: number;
|
5315
|
-
/** default = TransitionMode.TM_FORWARD, controls the direction of time transitions */
|
5316
|
-
transitionMode?: TransitionMode | undefined;
|
5317
|
-
}
|
5318
|
-
|
5319
|
-
/**
|
5320
|
-
* @public
|
5321
|
-
*/
|
5322
|
-
export declare namespace PBSkyboxTime {
|
5323
|
-
export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
|
5324
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkyboxTime;
|
5325
|
-
}
|
5326
|
-
|
5327
5198
|
/**
|
5328
5199
|
* The TextShape component renders customizable floating text.
|
5329
5200
|
*
|
@@ -5834,7 +5705,6 @@ export declare namespace PBVideoPlayer {
|
|
5834
5705
|
* an 'instant' transition (like using speed/time = 0)
|
5835
5706
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
5836
5707
|
* the holding entity transform).
|
5837
|
-
* * The fov defines the Field of View of the virtual camera
|
5838
5708
|
*/
|
5839
5709
|
/**
|
5840
5710
|
* @public
|
@@ -5842,8 +5712,6 @@ export declare namespace PBVideoPlayer {
|
|
5842
5712
|
export declare interface PBVirtualCamera {
|
5843
5713
|
defaultTransition?: CameraTransition | undefined;
|
5844
5714
|
lookAtEntity?: number | undefined;
|
5845
|
-
/** default: 60 */
|
5846
|
-
fov?: number | undefined;
|
5847
5715
|
}
|
5848
5716
|
|
5849
5717
|
/**
|
@@ -7185,9 +7053,6 @@ export declare namespace Schemas {
|
|
7185
7053
|
}) => void;
|
7186
7054
|
}
|
7187
7055
|
|
7188
|
-
/** @public */
|
7189
|
-
export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
7190
|
-
|
7191
7056
|
/**
|
7192
7057
|
* @public
|
7193
7058
|
*/
|
@@ -7449,17 +7314,6 @@ export declare type TransformType = {
|
|
7449
7314
|
*/
|
7450
7315
|
export declare type TransformTypeWithOptionals = Partial<TransformType>;
|
7451
7316
|
|
7452
|
-
/** Controls the direction for animated skybox transitions */
|
7453
|
-
/**
|
7454
|
-
* @public
|
7455
|
-
*/
|
7456
|
-
export declare const enum TransitionMode {
|
7457
|
-
/** TM_FORWARD - transitions forward (default) */
|
7458
|
-
TM_FORWARD = 0,
|
7459
|
-
/** TM_BACKWARD - transitions backward */
|
7460
|
-
TM_BACKWARD = 1
|
7461
|
-
}
|
7462
|
-
|
7463
7317
|
/**
|
7464
7318
|
* @public
|
7465
7319
|
*/
|