@dcl/playground-assets 7.7.10-13856045106.commit-7f23e37 → 7.7.10-13934567813.commit-fb33ab1

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 CHANGED
@@ -178,18 +178,6 @@ export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBA
178
178
  /** @public */
179
179
  export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
180
180
 
181
- /**
182
- * @public
183
- */
184
- export declare const enum AvatarControlType {
185
- /** CCT_NONE - avatar cannot move */
186
- CCT_NONE = 0,
187
- /** CCT_RELATIVE - avatar moves relative to the camera origin */
188
- CCT_RELATIVE = 1,
189
- /** CCT_TANK - avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player */
190
- CCT_TANK = 2
191
- }
192
-
193
181
  /** @public */
194
182
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
195
183
 
@@ -210,37 +198,6 @@ export declare const enum AvatarModifierType {
210
198
  AMT_DISABLE_PASSPORTS = 1
211
199
  }
212
200
 
213
- /**
214
- * @public
215
- */
216
- export declare interface AvatarMovementSettings {
217
- controlMode?: AvatarControlType | undefined;
218
- /** if not explicitly set, the following properties default to user's preference settings */
219
- runSpeed?: number | undefined;
220
- /** how fast the player gets up to speed or comes to rest. higher = more responsive */
221
- friction?: number | undefined;
222
- /** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
223
- gravity?: number | undefined;
224
- /** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
225
- jumpHeight?: number | undefined;
226
- /** max fall speed in m/s. should normally be negative */
227
- maxFallSpeed?: number | undefined;
228
- /** speed the player turns in tank mode, in radians/s */
229
- turnSpeed?: number | undefined;
230
- /** speed the player walks at, in m/s */
231
- walkSpeed?: number | undefined;
232
- /** whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true */
233
- allowWeightedMovement?: boolean | undefined;
234
- }
235
-
236
- /**
237
- * @public
238
- */
239
- export declare namespace AvatarMovementSettings {
240
- export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
241
- export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
242
- }
243
-
244
201
  /** @public */
245
202
  export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
246
203
 
@@ -505,12 +462,6 @@ export declare interface ByteBuffer {
505
462
  */
506
463
  export declare type Callback = () => void;
507
464
 
508
- /** @public */
509
- export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
510
-
511
- /** @public */
512
- export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
513
-
514
465
  /** @public */
515
466
  export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
516
467
 
@@ -568,39 +519,6 @@ export declare const enum CameraType {
568
519
 
569
520
  export declare type Children = ReactEcs.JSX.ReactNode;
570
521
 
571
- /**
572
- * @public
573
- */
574
- export declare interface CinematicSettings {
575
- /** Entity that defines the cinematic camera transform. */
576
- cameraEntity: number;
577
- /**
578
- * Position -> camera's position
579
- * Rotation -> camera's direction
580
- * scale.z -> zoom level
581
- * scale.x and scale.y -> unused
582
- */
583
- allowManualRotation?: boolean | undefined;
584
- /** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
585
- yawRange?: number | undefined;
586
- /** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
587
- pitchRange?: number | undefined;
588
- /** note: cameras can never look up/down further than Vec3::Y */
589
- rollRange?: number | undefined;
590
- /** minimum zoom level. must be greater than 0. defaults to the input zoom level */
591
- zoomMin?: number | undefined;
592
- /** maximum zoom level. must be greater than 0. defaults to the input zoom level */
593
- zoomMax?: number | undefined;
594
- }
595
-
596
- /**
597
- * @public
598
- */
599
- export declare namespace CinematicSettings {
600
- export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
601
- export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
602
- }
603
-
604
522
  /** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
605
523
  /**
606
524
  * @public
@@ -1374,18 +1292,13 @@ export declare const componentDefinitionByName: {
1374
1292
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1375
1293
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1376
1294
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
1377
- "core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
1378
- "core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
1379
1295
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
1380
1296
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
1381
1297
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
1382
- "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
1383
1298
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1384
1299
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1385
- "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
1386
- "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
1387
1300
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1388
- "core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
1301
+ "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1389
1302
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
1390
1303
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
1391
1304
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -1395,24 +1308,19 @@ export declare const componentDefinitionByName: {
1395
1308
  "core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
1396
1309
  "core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
1397
1310
  "core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
1398
- "core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
1399
1311
  "core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
1400
1312
  "core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
1401
1313
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
1402
- "core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
1403
1314
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
1404
- "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
1405
1315
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
1406
1316
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
1407
1317
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
1408
1318
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
1409
- "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
1410
1319
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
1411
1320
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
1412
1321
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
1413
1322
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
1414
1323
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
1415
- "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
1416
1324
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
1417
1325
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
1418
1326
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -1689,11 +1597,6 @@ export declare function createInputSystem(engine: IEngine): IInputSystem;
1689
1597
  */
1690
1598
  export declare function createPointerEventsSystem(engine: IEngine, inputSystem: IInputSystem): PointerEventsSystem;
1691
1599
 
1692
- /**
1693
- * @public
1694
- */
1695
- export declare function createReactBasedUiSystem(engine: IEngine, pointerSystem: PointerEventsSystem): ReactBasedUiSystem;
1696
-
1697
1600
  /**
1698
1601
  * @public
1699
1602
  * @returns tween helper to be used on the scene
@@ -1983,9 +1886,6 @@ export declare type EntityComponents = {
1983
1886
  onMouseUp: Callback;
1984
1887
  onMouseEnter: Callback;
1985
1888
  onMouseLeave: Callback;
1986
- onMouseDrag: Callback;
1987
- onMouseDragLocked: Callback;
1988
- onMouseDragEnd: Callback;
1989
1889
  };
1990
1890
 
1991
1891
  /** @public */
@@ -2137,9 +2037,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
2137
2037
  direction?: PBVector3;
2138
2038
  };
2139
2039
 
2140
- /** @public */
2141
- export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
2142
-
2143
2040
  export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
2144
2041
 
2145
2042
  export declare type GlobalTargetRaycastSystemOptions = {
@@ -2152,21 +2049,6 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
2152
2049
  /** @public */
2153
2050
  export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
2154
2051
 
2155
- /** @public */
2156
- export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
2157
-
2158
- /** @public */
2159
- export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
2160
-
2161
- /**
2162
- * @public
2163
- */
2164
- export declare const enum GltfNodeStateValue {
2165
- GNSV_PENDING = 0,
2166
- GNSV_FAILED = 1,
2167
- GNSV_READY = 2
2168
- }
2169
-
2170
2052
  /**
2171
2053
  * @public
2172
2054
  */
@@ -2770,8 +2652,31 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2770
2652
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2771
2653
  }
2772
2654
 
2773
- /** @public */
2774
- export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
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
+ }
2775
2680
 
2776
2681
  /**
2777
2682
  * User key event Listeners
@@ -2786,12 +2691,6 @@ export declare type Listeners = {
2786
2691
  onMouseEnter?: Callback;
2787
2692
  /** triggered on mouse leave event */
2788
2693
  onMouseLeave?: Callback;
2789
- /** triggered on mouse drag event */
2790
- onMouseDrag?: Callback;
2791
- /** triggered on mouse drag event */
2792
- onMouseDragLocked?: Callback;
2793
- /** triggered on mouse drag event */
2794
- onMouseDragEnd?: Callback;
2795
2694
  };
2796
2695
 
2797
2696
  /**
@@ -3660,14 +3559,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
3660
3559
  * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
3661
3560
  */
3662
3561
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3663
- /**
3664
- * @public
3665
- * Set a gltf internal mesh in the MeshCollider component
3666
- * @param entity - entity to create or replace the MeshRenderer component
3667
- * @param source - the path to the gltf
3668
- * @param meshName - the name of the mesh in the gltf
3669
- */
3670
- setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3671
3562
  }
3672
3563
 
3673
3564
  export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
@@ -3704,14 +3595,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
3704
3595
  * @param entity - entity to create or replace the MeshRenderer component
3705
3596
  */
3706
3597
  setSphere(entity: Entity): void;
3707
- /**
3708
- * @public
3709
- * Set a gltf internal mesh in the MeshRenderer component
3710
- * @param entity - entity to create or replace the MeshRenderer component
3711
- * @param source - the path to the gltf
3712
- * @param meshName - the name of the mesh in the gltf
3713
- */
3714
- setGltfMesh(entity: Entity, source: string, meshName: string): void;
3715
3598
  }
3716
3599
 
3717
3600
  /**
@@ -4124,25 +4007,6 @@ export declare const onVideoEvent: Observable<{
4124
4007
  totalVideoLength: number;
4125
4008
  }>;
4126
4009
 
4127
- /**
4128
- * @public
4129
- */
4130
- export declare interface Orthographic {
4131
- /**
4132
- * vertical extent of the visible range in meters
4133
- * defaults to 4m
4134
- */
4135
- verticalRange?: number | undefined;
4136
- }
4137
-
4138
- /**
4139
- * @public
4140
- */
4141
- export declare namespace Orthographic {
4142
- export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
4143
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
4144
- }
4145
-
4146
4010
  /**
4147
4011
  * @public
4148
4012
  * The overflow property controls what happens to content that is too big to fit into an area
@@ -4369,8 +4233,6 @@ export declare namespace PBAvatarEmoteCommand {
4369
4233
  export declare interface PBAvatarEquippedData {
4370
4234
  wearableUrns: string[];
4371
4235
  emoteUrns: string[];
4372
- /** slots that will render even if hidden */
4373
- forceRender: string[];
4374
4236
  }
4375
4237
 
4376
4238
  /**
@@ -4405,9 +4267,6 @@ export declare interface PBAvatarModifierArea {
4405
4267
  excludeIds: string[];
4406
4268
  /** list of modifiers to apply */
4407
4269
  modifiers: AvatarModifierType[];
4408
- movementSettings?: AvatarMovementSettings | undefined;
4409
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4410
- useColliderRange?: boolean | undefined;
4411
4270
  }
4412
4271
 
4413
4272
  /**
@@ -4464,8 +4323,6 @@ export declare interface PBAvatarShape {
4464
4323
  wearables: string[];
4465
4324
  /** available emotes (default empty) */
4466
4325
  emotes: string[];
4467
- /** slots that will render even if hidden */
4468
- forceRender: string[];
4469
4326
  }
4470
4327
 
4471
4328
  /**
@@ -4500,51 +4357,6 @@ export declare namespace PBBillboard {
4500
4357
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
4501
4358
  }
4502
4359
 
4503
- /**
4504
- * @public
4505
- */
4506
- export declare interface PBCameraLayer {
4507
- /**
4508
- * layer to which these settings apply. must be > 0
4509
- * Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
4510
- */
4511
- layer: number;
4512
- /** should the sun light affect this layer? default false */
4513
- directionalLight?: boolean | undefined;
4514
- /** should this layer show player avatars? default false */
4515
- showAvatars?: boolean | undefined;
4516
- /** should this layer show the sky? default false */
4517
- showSkybox?: boolean | undefined;
4518
- /** should this layer show distance fog? default false */
4519
- showFog?: boolean | undefined;
4520
- /** ambient light overrides for this layer. default -> use same as main camera */
4521
- ambientColorOverride?: PBColor3 | undefined;
4522
- ambientBrightnessOverride?: number | undefined;
4523
- }
4524
-
4525
- /**
4526
- * @public
4527
- */
4528
- export declare namespace PBCameraLayer {
4529
- export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
4530
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
4531
- }
4532
-
4533
- /**
4534
- * @public
4535
- */
4536
- export declare interface PBCameraLayers {
4537
- layers: number[];
4538
- }
4539
-
4540
- /**
4541
- * @public
4542
- */
4543
- export declare namespace PBCameraLayers {
4544
- export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
4545
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
4546
- }
4547
-
4548
4360
  /**
4549
4361
  * The CameraMode component can be used to determine whether the player is using a first-person o
4550
4362
  * third-person view.
@@ -4567,7 +4379,7 @@ export declare namespace PBCameraMode {
4567
4379
 
4568
4380
  /**
4569
4381
  * The CameraModeArea component can be attached to an Entity to define a region of space where
4570
- * the player's camera mode (1st-person, 3rd-person or cinematic) is overridden.
4382
+ * the player's camera mode (1st-person or 3rd-person) is overridden.
4571
4383
  *
4572
4384
  * The Entity's Transform position determines the center-point of the region, while its size is
4573
4385
  * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
@@ -4577,8 +4389,6 @@ export declare namespace PBCameraMode {
4577
4389
  *
4578
4390
  * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
4579
4391
  * is actually a 3D volume.
4580
- *
4581
- * When mode is set to CtCinematic, the cinematic_settings field must also be provided.
4582
4392
  */
4583
4393
  /**
4584
4394
  * @public
@@ -4588,9 +4398,6 @@ export declare interface PBCameraModeArea {
4588
4398
  area: PBVector3 | undefined;
4589
4399
  /** the camera mode to enforce */
4590
4400
  mode: CameraType;
4591
- cinematicSettings?: CinematicSettings | undefined;
4592
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4593
- useColliderRange?: boolean | undefined;
4594
4401
  }
4595
4402
 
4596
4403
  /**
@@ -4662,39 +4469,6 @@ export declare namespace PBEngineInfo {
4662
4469
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
4663
4470
  }
4664
4471
 
4665
- /**
4666
- * defines the global scene light settings. must be added to the scene root.
4667
- * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
4668
- */
4669
- /**
4670
- * @public
4671
- */
4672
- export declare interface PBGlobalLight {
4673
- /**
4674
- * the direction the directional light shines in.
4675
- * default depends on time of day and explorer implementation
4676
- */
4677
- direction?: PBVector3 | undefined;
4678
- /**
4679
- * ambient light color
4680
- * default: White
4681
- */
4682
- ambientColor?: PBColor3 | undefined;
4683
- /**
4684
- * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
4685
- * default 1
4686
- */
4687
- ambientBrightness?: number | undefined;
4688
- }
4689
-
4690
- /**
4691
- * @public
4692
- */
4693
- export declare namespace PBGlobalLight {
4694
- export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
4695
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
4696
- }
4697
-
4698
4472
  /**
4699
4473
  * GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
4700
4474
  *
@@ -4730,25 +4504,6 @@ export declare namespace PBGltfContainer {
4730
4504
  */
4731
4505
  export declare interface PBGltfContainerLoadingState {
4732
4506
  currentState: LoadingState;
4733
- /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
4734
- nodePaths: string[];
4735
- /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
4736
- meshNames: string[];
4737
- /**
4738
- * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
4739
- * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
4740
- */
4741
- materialNames: string[];
4742
- /**
4743
- * X is the material index. note this may conflict with manually named materials - to avoid any issues make
4744
- * sure all your materials are explicitly named.
4745
- */
4746
- skinNames: string[];
4747
- /**
4748
- * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
4749
- * your skins are explicitly named.
4750
- */
4751
- animationNames: string[];
4752
4507
  }
4753
4508
 
4754
4509
  /**
@@ -4759,170 +4514,122 @@ export declare namespace PBGltfContainerLoadingState {
4759
4514
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
4760
4515
  }
4761
4516
 
4762
- /**
4763
- * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
4764
- * This component must be added to a direct child of an entity with a PBGltfContainer component, or
4765
- * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
4766
- * in the parent.
4767
- * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
4768
- *
4769
- * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
4770
- * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
4771
- * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
4772
- * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
4773
- * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
4774
- *
4775
- * After creation, if an animation moves the node, the `Transform` will be updated.
4776
- *
4777
- * From the scene, you can modify various components to alter the gltf node:
4778
- * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
4779
- * regardless of any intermediate gltf node hierarchy.
4780
- * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
4781
- * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
4782
- * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
4783
- * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
4784
- * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
4785
- * used as a base, and any gltf features (e.g. occlusion maps) from the gtlf spec that the renderer supports but that are not exposed in the
4786
- * PBMaterial will be maintained.
4787
- *
4788
- * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
4789
- * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
4790
- * change the state to `GNS_FAILED`.
4791
- * - deleting the scene entity will not delete the gltf node.
4792
- *
4793
- * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
4794
- * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
4795
- * the gltf node will also be displayed.
4796
- */
4797
4517
  /**
4798
4518
  * @public
4799
4519
  */
4800
- export declare interface PBGltfNode {
4801
- /** the path of the target node in the Gltf. */
4802
- path: string;
4520
+ export declare interface PBInputModifier {
4521
+ mode?: {
4522
+ $case: "standard";
4523
+ standard: PBInputModifier_StandardInput;
4524
+ } | undefined;
4803
4525
  }
4804
4526
 
4805
4527
  /**
4806
4528
  * @public
4807
4529
  */
4808
- export declare namespace PBGltfNode {
4809
- export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
4810
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
4530
+ export declare namespace PBInputModifier {
4531
+ export function encode(message: PBInputModifier, writer?: _m0.Writer): _m0.Writer;
4532
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier;
4811
4533
  }
4812
4534
 
4813
- /**
4814
- * The state of a linked gltf node.
4815
- * If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
4816
- */
4535
+ /** when a boolean = false (default) the message is ignored and doesn't consume bandwidth */
4817
4536
  /**
4818
4537
  * @public
4819
4538
  */
4820
- export declare interface PBGltfNodeState {
4821
- state: GltfNodeStateValue;
4822
- error?: string | undefined;
4539
+ export declare interface PBInputModifier_StandardInput {
4540
+ disableAll?: boolean | undefined;
4541
+ disableWalk?: boolean | undefined;
4542
+ disableJog?: boolean | undefined;
4543
+ disableRun?: boolean | undefined;
4544
+ disableJump?: boolean | undefined;
4545
+ disableEmote?: boolean | undefined;
4823
4546
  }
4824
4547
 
4825
4548
  /**
4826
4549
  * @public
4827
4550
  */
4828
- export declare namespace PBGltfNodeState {
4829
- export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
4830
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
4551
+ export declare namespace PBInputModifier_StandardInput {
4552
+ export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
4553
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4831
4554
  }
4832
4555
 
4833
4556
  /**
4834
4557
  * @public
4835
4558
  */
4836
- export declare interface PBInputModifier {
4837
- mode?: {
4838
- $case: "standard";
4839
- standard: PBInputModifier_StandardInput;
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;
4840
4574
  } | undefined;
4841
4575
  }
4842
4576
 
4843
4577
  /**
4844
4578
  * @public
4845
4579
  */
4846
- export declare namespace PBInputModifier {
4847
- export function encode(message: PBInputModifier, writer?: _m0.Writer): _m0.Writer;
4848
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier;
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;
4849
4583
  }
4850
4584
 
4851
- /** when a boolean = false (default) the message is ignored and doesn't consume bandwidth */
4852
4585
  /**
4853
4586
  * @public
4854
4587
  */
4855
- export declare interface PBInputModifier_StandardInput {
4856
- disableAll?: boolean | undefined;
4857
- disableWalk?: boolean | undefined;
4858
- disableJog?: boolean | undefined;
4859
- disableRun?: boolean | undefined;
4860
- disableJump?: boolean | undefined;
4861
- disableEmote?: boolean | undefined;
4588
+ export declare interface PBLightSource_Point {
4589
+ /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4590
+ shadow?: PBLightSource_ShadowType | undefined;
4862
4591
  }
4863
4592
 
4864
4593
  /**
4865
4594
  * @public
4866
4595
  */
4867
- export declare namespace PBInputModifier_StandardInput {
4868
- export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
4869
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
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;
4870
4599
  }
4871
4600
 
4872
4601
  /**
4873
- * defines a light source.
4874
- * the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
4875
- * a PBGlobalLight component can also be added to the root to control the directional light direction.
4876
- * point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
4602
+ * @public
4877
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
+
4878
4613
  /**
4879
4614
  * @public
4880
4615
  */
4881
- export declare interface PBLight {
4882
- /**
4883
- * whether the light is on
4884
- * default true
4885
- */
4886
- enabled?: boolean | undefined;
4887
- /**
4888
- * light brightness in lux (lumens/m^2).
4889
- *
4890
- * for global directional light, this applies as a constant value at all surfaces and distances (though the effect on the surface still depends on incidence angle).
4891
- * the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
4892
- * for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
4893
- *
4894
- * for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
4895
- * divide lumens by ~12 (4*pi).
4896
- * e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
4897
- * a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
4898
- *
4899
- * default
4900
- * for point/spotlights: 10,000
4901
- * for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
4902
- */
4903
- illuminance?: number | undefined;
4904
- /**
4905
- * whether the light should cast shadows.
4906
- * note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
4907
- * of lights depending on the implementation, platform, and user settings.
4908
- * default
4909
- * for point/spotlights: false / off
4910
- * for global directional light: true / on
4911
- */
4912
- shadows?: boolean | undefined;
4913
- /**
4914
- * light color
4915
- * default White
4916
- */
4917
- color?: PBColor3 | undefined;
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;
4918
4625
  }
4919
4626
 
4920
4627
  /**
4921
4628
  * @public
4922
4629
  */
4923
- export declare namespace PBLight {
4924
- export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
4925
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
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;
4926
4633
  }
4927
4634
 
4928
4635
  /**
@@ -4956,14 +4663,6 @@ export declare interface PBMaterial {
4956
4663
  $case: "pbr";
4957
4664
  pbr: PBMaterial_PbrMaterial;
4958
4665
  } | undefined;
4959
- /**
4960
- * A gltf material that may provide additional features not supported by the PbMaterial fields.
4961
- * If both gltf and material fields are provided, the gltf will be used only for extended features not
4962
- * supported by the PbMaterial.
4963
- * If this is provided and the `material` field is not provided, the renderer will update the material
4964
- * field with data that reflects the gltf material once it is loaded.
4965
- */
4966
- gltf?: PBMaterial_GltfMaterial | undefined;
4967
4666
  }
4968
4667
 
4969
4668
  /**
@@ -4974,22 +4673,6 @@ export declare namespace PBMaterial {
4974
4673
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
4975
4674
  }
4976
4675
 
4977
- /**
4978
- * @public
4979
- */
4980
- export declare interface PBMaterial_GltfMaterial {
4981
- gltfSrc: string;
4982
- name: string;
4983
- }
4984
-
4985
- /**
4986
- * @public
4987
- */
4988
- export declare namespace PBMaterial_GltfMaterial {
4989
- export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
4990
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
4991
- }
4992
-
4993
4676
  /**
4994
4677
  * @public
4995
4678
  */
@@ -5086,9 +4769,6 @@ export declare interface PBMeshCollider {
5086
4769
  } | {
5087
4770
  $case: "plane";
5088
4771
  plane: PBMeshCollider_PlaneMesh;
5089
- } | {
5090
- $case: "gltf";
5091
- gltf: PBMeshCollider_GltfMesh;
5092
4772
  } | undefined;
5093
4773
  }
5094
4774
 
@@ -5134,25 +4814,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
5134
4814
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
5135
4815
  }
5136
4816
 
5137
- /** A collider constructed from a Gltf Mesh. */
5138
- /**
5139
- * @public
5140
- */
5141
- export declare interface PBMeshCollider_GltfMesh {
5142
- /** the GLTF file path as listed in the scene's manifest. */
5143
- gltfSrc: string;
5144
- /** the name of the mesh asset */
5145
- name: string;
5146
- }
5147
-
5148
- /**
5149
- * @public
5150
- */
5151
- export declare namespace PBMeshCollider_GltfMesh {
5152
- export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5153
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
5154
- }
5155
-
5156
4817
  /** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
5157
4818
  /**
5158
4819
  * @public
@@ -5185,11 +4846,13 @@ export declare namespace PBMeshCollider_SphereMesh {
5185
4846
 
5186
4847
  /**
5187
4848
  * The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
5188
- * plane, a sphere, a cylinder, or a Gltf mesh.
4849
+ * plane, a sphere or a cylinder.
5189
4850
  *
5190
4851
  * The cube and plane variants can include a UV texture mapping, so specific areas of a material
5191
4852
  * texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
5192
4853
  * `float` coordinates, one for each corner of each side of each face.
4854
+ *
4855
+ * More complex shapes require the use of a `GltfContainer` component.
5193
4856
  */
5194
4857
  /**
5195
4858
  * @public
@@ -5207,9 +4870,6 @@ export declare interface PBMeshRenderer {
5207
4870
  } | {
5208
4871
  $case: "plane";
5209
4872
  plane: PBMeshRenderer_PlaneMesh;
5210
- } | {
5211
- $case: "gltf";
5212
- gltf: PBMeshRenderer_GltfMesh;
5213
4873
  } | undefined;
5214
4874
  }
5215
4875
 
@@ -5257,25 +4917,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
5257
4917
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
5258
4918
  }
5259
4919
 
5260
- /** A mesh from a Gltf. */
5261
- /**
5262
- * @public
5263
- */
5264
- export declare interface PBMeshRenderer_GltfMesh {
5265
- /** the GLTF file path as listed in the scene's manifest. */
5266
- gltfSrc: string;
5267
- /** the name of the mesh asset */
5268
- name: string;
5269
- }
5270
-
5271
- /**
5272
- * @public
5273
- */
5274
- export declare namespace PBMeshRenderer_GltfMesh {
5275
- export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5276
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
5277
- }
5278
-
5279
4920
  /** PlaneMesh renders a 2D rectangular shape. */
5280
4921
  /**
5281
4922
  * @public
@@ -5494,30 +5135,6 @@ export declare namespace PBPosition {
5494
5135
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPosition;
5495
5136
  }
5496
5137
 
5497
- /**
5498
- * @public
5499
- */
5500
- export declare interface PBPrimaryPointerInfo {
5501
- pointerType?: PointerType | undefined;
5502
- /** in pixels */
5503
- screenCoordinates?: PBVector2 | undefined;
5504
- /** in pixels */
5505
- screenDelta?: PBVector2 | undefined;
5506
- /**
5507
- * ray direction that can be used with the primary camera origin for
5508
- * raycasting from the cursor into the world
5509
- */
5510
- worldRayDirection?: PBVector3 | undefined;
5511
- }
5512
-
5513
- /**
5514
- * @public
5515
- */
5516
- export declare namespace PBPrimaryPointerInfo {
5517
- export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
5518
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
5519
- }
5520
-
5521
5138
  /**
5522
5139
  * @public
5523
5140
  */
@@ -5639,39 +5256,6 @@ export declare namespace PBRealmInfo {
5639
5256
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
5640
5257
  }
5641
5258
 
5642
- /**
5643
- * defines a spotlight.
5644
- * spotlights are point lights that emit light only in a cone around the transform's forward direction.
5645
- * add this component together with the PBLight component to transform a point light into a spotlight.
5646
- * note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
5647
- * so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
5648
- * a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
5649
- * and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
5650
- */
5651
- /**
5652
- * @public
5653
- */
5654
- export declare interface PBSpotlight {
5655
- /**
5656
- * the cone radius in radians. distance away from forward in which the light is visible.
5657
- * for a torch a value around 0.15 is appropriate.
5658
- */
5659
- angle: number;
5660
- /**
5661
- * optional angle at which the light is brightest. should be <= outer angle.
5662
- * if specified, the light will fall off smoothly between `inner_angle` and `angle`.
5663
- */
5664
- innerAngle?: number | undefined;
5665
- }
5666
-
5667
- /**
5668
- * @public
5669
- */
5670
- export declare namespace PBSpotlight {
5671
- export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
5672
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
5673
- }
5674
-
5675
5259
  /**
5676
5260
  * The TextShape component renders customizable floating text.
5677
5261
  *
@@ -5736,40 +5320,6 @@ export declare namespace PBTextShape {
5736
5320
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
5737
5321
  }
5738
5322
 
5739
- /**
5740
- * @public
5741
- */
5742
- export declare interface PBTextureCamera {
5743
- /** rendered texture width */
5744
- width?: number | undefined;
5745
- /** rendered texture height */
5746
- height?: number | undefined;
5747
- /**
5748
- * which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
5749
- * defaults to 0
5750
- */
5751
- layer?: number | undefined;
5752
- /** default black */
5753
- clearColor?: PBColor4 | undefined;
5754
- /** default infinity */
5755
- farPlane?: number | undefined;
5756
- mode?: {
5757
- $case: "perspective";
5758
- perspective: Perspective;
5759
- } | {
5760
- $case: "orthographic";
5761
- orthographic: Orthographic;
5762
- } | undefined;
5763
- }
5764
-
5765
- /**
5766
- * @public
5767
- */
5768
- export declare namespace PBTextureCamera {
5769
- export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
5770
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
5771
- }
5772
-
5773
5323
  /**
5774
5324
  * @public
5775
5325
  */
@@ -5859,25 +5409,6 @@ export declare namespace PBUiBackground {
5859
5409
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
5860
5410
  }
5861
5411
 
5862
- /** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
5863
- /**
5864
- * @public
5865
- */
5866
- export declare interface PBUiCanvas {
5867
- width: number;
5868
- height: number;
5869
- /** default = (0.0, 0.0, 0.0, 0.0) / transparent */
5870
- color?: PBColor4 | undefined;
5871
- }
5872
-
5873
- /**
5874
- * @public
5875
- */
5876
- export declare namespace PBUiCanvas {
5877
- export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
5878
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
5879
- }
5880
-
5881
5412
  /** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
5882
5413
  /**
5883
5414
  * @public
@@ -5994,21 +5525,6 @@ export declare namespace PBUiInputResult {
5994
5525
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
5995
5526
  }
5996
5527
 
5997
- /**
5998
- * @public
5999
- */
6000
- export declare interface PBUiScrollResult {
6001
- value: PBVector2 | undefined;
6002
- }
6003
-
6004
- /**
6005
- * @public
6006
- */
6007
- export declare namespace PBUiScrollResult {
6008
- export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
6009
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
6010
- }
6011
-
6012
5528
  /**
6013
5529
  * @public
6014
5530
  */
@@ -6025,10 +5541,6 @@ export declare interface PBUiText {
6025
5541
  fontSize?: number | undefined;
6026
5542
  /** wrap text when the border is reached (default: TW_WRAP) */
6027
5543
  textWrap?: TextWrap | undefined;
6028
- /** width of the outline (default: 0) */
6029
- outlineWidth?: number | undefined;
6030
- /** RGBA color of the outline (default: opaque black) */
6031
- outlineColor?: PBColor4 | undefined;
6032
5544
  }
6033
5545
 
6034
5546
  /**
@@ -6125,16 +5637,6 @@ export declare interface PBUiTransform {
6125
5637
  paddingBottom: number;
6126
5638
  /** default: PointerFilterMode.PFM_NONE */
6127
5639
  pointerFilter?: PointerFilterMode | undefined;
6128
- /** default: 1 */
6129
- opacity?: number | undefined;
6130
- /** default empty */
6131
- elementId?: string | undefined;
6132
- /** default position=(0,0) */
6133
- scrollPosition?: ScrollPositionValue | undefined;
6134
- /** default ShowScrollBar.SSB_BOTH */
6135
- scrollVisible?: ShowScrollBar | undefined;
6136
- /** default 0 */
6137
- zIndex?: number | undefined;
6138
5640
  }
6139
5641
 
6140
5642
  /**
@@ -6231,6 +5733,7 @@ export declare namespace PBVideoPlayer {
6231
5733
  * an 'instant' transition (like using speed/time = 0)
6232
5734
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6233
5735
  * the holding entity transform).
5736
+ * * The fov defines the Field of View of the virtual camera
6234
5737
  */
6235
5738
  /**
6236
5739
  * @public
@@ -6238,6 +5741,8 @@ export declare namespace PBVideoPlayer {
6238
5741
  export declare interface PBVirtualCamera {
6239
5742
  defaultTransition?: CameraTransition | undefined;
6240
5743
  lookAtEntity?: number | undefined;
5744
+ /** default: 60 */
5745
+ fov?: number | undefined;
6241
5746
  }
6242
5747
 
6243
5748
  /**
@@ -6264,25 +5769,6 @@ export declare namespace PBVisibilityComponent {
6264
5769
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
6265
5770
  }
6266
5771
 
6267
- /**
6268
- * @public
6269
- */
6270
- export declare interface Perspective {
6271
- /**
6272
- * vertical field of view in radians
6273
- * defaults to pi/4 = 45 degrees
6274
- */
6275
- fieldOfView?: number | undefined;
6276
- }
6277
-
6278
- /**
6279
- * @public
6280
- */
6281
- export declare namespace Perspective {
6282
- export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
6283
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
6284
- }
6285
-
6286
5772
  /**
6287
5773
  * Represens a plane by the equation ax + by + cz + d = 0
6288
5774
  * @public
@@ -6438,24 +5924,6 @@ export declare interface PointerEventsSystem {
6438
5924
  * @param entity - Entity where the callback was attached
6439
5925
  */
6440
5926
  removeOnPointerHoverLeave(entity: Entity): void;
6441
- /**
6442
- * @public
6443
- * Remove the callback for onPointerDrag event
6444
- * @param entity - Entity where the callback was attached
6445
- */
6446
- removeOnPointerDrag(entity: Entity): void;
6447
- /**
6448
- * @public
6449
- * Remove the callback for onPointerDragLocked event
6450
- * @param entity - Entity where the callback was attached
6451
- */
6452
- removeOnPointerDragLocked(entity: Entity): void;
6453
- /**
6454
- * @public
6455
- * Remove the callback for onPointerDragEnd event
6456
- * @param entity - Entity where the callback was attached
6457
- */
6458
- removeOnPointerDragEnd(entity: Entity): void;
6459
5927
  /**
6460
5928
  * @public
6461
5929
  * Execute callback when the user press the InputButton pointing at the entity
@@ -6510,37 +5978,6 @@ export declare interface PointerEventsSystem {
6510
5978
  entity: Entity;
6511
5979
  opts?: Partial<EventSystemOptions>;
6512
5980
  }, cb: EventSystemCallback): void;
6513
- /**
6514
- * @public
6515
- * Execute callback when the user clicks and drags the pointer from inside the entity
6516
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6517
- * @param cb - Function to execute when click fires
6518
- */
6519
- onPointerDrag(pointerData: {
6520
- entity: Entity;
6521
- opts?: Partial<EventSystemOptions>;
6522
- }, cb: EventSystemCallback): void;
6523
- /**
6524
- * @public
6525
- * Execute callback when the user clicks and drags the pointer from inside the entity,
6526
- * locking the cursor in place
6527
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6528
- * @param cb - Function to execute when click fires
6529
- */
6530
- onPointerDragLocked(pointerData: {
6531
- entity: Entity;
6532
- opts?: Partial<EventSystemOptions>;
6533
- }, cb: EventSystemCallback): void;
6534
- /**
6535
- * @public
6536
- * Execute callback when the user releases the button after a drag
6537
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6538
- * @param cb - Function to execute when click fires
6539
- */
6540
- onPointerDragEnd(pointerData: {
6541
- entity: Entity;
6542
- opts?: Partial<EventSystemOptions>;
6543
- }, cb: EventSystemCallback): void;
6544
5981
  }
6545
5982
 
6546
5983
  /**
@@ -6557,10 +5994,7 @@ export declare const enum PointerEventType {
6557
5994
  PET_UP = 0,
6558
5995
  PET_DOWN = 1,
6559
5996
  PET_HOVER_ENTER = 2,
6560
- PET_HOVER_LEAVE = 3,
6561
- PET_DRAG_LOCKED = 4,
6562
- PET_DRAG = 5,
6563
- PET_DRAG_END = 6
5997
+ PET_HOVER_LEAVE = 3
6564
5998
  }
6565
5999
 
6566
6000
  /**
@@ -6580,17 +6014,6 @@ export declare type PointerFilterType = 'none' | 'block';
6580
6014
  /** @public */
6581
6015
  export declare const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
6582
6016
 
6583
- /**
6584
- * @public
6585
- */
6586
- export declare const enum PointerType {
6587
- POT_NONE = 0,
6588
- POT_MOUSE = 1,
6589
- POT_PAD = 2,
6590
- POT_TOUCH = 3,
6591
- POT_WAND = 4
6592
- }
6593
-
6594
6017
  /**
6595
6018
  * Type used for defining the position of the element. i.e. margin, padding
6596
6019
  * @public
@@ -6628,9 +6051,6 @@ export declare type PositionType = 'absolute' | 'relative';
6628
6051
  */
6629
6052
  export declare type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
6630
6053
 
6631
- /** @public */
6632
- export declare const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
6633
-
6634
6054
  export declare enum ProcessMessageResultType {
6635
6055
  /**
6636
6056
  * Typical message and new state set.
@@ -7185,7 +6605,6 @@ export declare type RaycastSystemOptions = {
7185
6605
  export declare interface ReactBasedUiSystem {
7186
6606
  destroy(): void;
7187
6607
  setUiRenderer(ui: UiComponent): void;
7188
- setTextureRenderer(entity: Entity, ui: UiComponent): void;
7189
6608
  }
7190
6609
 
7191
6610
  /**
@@ -7639,43 +7058,6 @@ export declare namespace Schemas {
7639
7058
  }) => void;
7640
7059
  }
7641
7060
 
7642
- /**
7643
- * @public
7644
- */
7645
- export declare interface ScrollPositionValue {
7646
- value?: {
7647
- $case: "position";
7648
- position: PBVector2;
7649
- } | {
7650
- $case: "reference";
7651
- reference: string;
7652
- } | undefined;
7653
- }
7654
-
7655
- /**
7656
- * @public
7657
- */
7658
- export declare namespace ScrollPositionValue {
7659
- export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
7660
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
7661
- }
7662
-
7663
- /**
7664
- * @public
7665
- * The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
7666
- */
7667
- export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
7668
-
7669
- /**
7670
- * @public
7671
- */
7672
- export declare const enum ShowScrollBar {
7673
- SSB_BOTH = 0,
7674
- SSB_ONLY_VERTICAL = 1,
7675
- SSB_ONLY_HORIZONTAL = 2,
7676
- SSB_HIDDEN = 3
7677
- }
7678
-
7679
7061
  /**
7680
7062
  * @public
7681
7063
  */
@@ -7683,9 +7065,6 @@ export declare interface Spec {
7683
7065
  [key: string]: ISchema;
7684
7066
  }
7685
7067
 
7686
- /** @public */
7687
- export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
7688
-
7689
7068
  /**
7690
7069
  * @alpha
7691
7070
  * This is going to be used for sync components through a server.
@@ -7760,9 +7139,6 @@ export declare namespace Texture {
7760
7139
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
7761
7140
  }
7762
7141
 
7763
- /** @public */
7764
- export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
7765
-
7766
7142
  /**
7767
7143
  * @public
7768
7144
  */
@@ -7855,9 +7231,6 @@ export declare interface TextureUnion {
7855
7231
  } | {
7856
7232
  $case: "videoTexture";
7857
7233
  videoTexture: VideoTexture;
7858
- } | {
7859
- $case: "uiTexture";
7860
- uiTexture: UiCanvasTexture;
7861
7234
  } | undefined;
7862
7235
  }
7863
7236
 
@@ -8065,8 +7438,6 @@ export declare interface UiBackgroundProps {
8065
7438
  uvs?: number[];
8066
7439
  /** AvatarTexture for the background */
8067
7440
  avatarTexture?: UiAvatarTexture;
8068
- /** VideoTexture for the background */
8069
- videoTexture?: UiVideoTexture;
8070
7441
  /** Texture for the background */
8071
7442
  texture?: UiTexture;
8072
7443
  }
@@ -8086,31 +7457,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
8086
7457
  disabled?: boolean;
8087
7458
  }
8088
7459
 
8089
- /** @public */
8090
- export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
8091
-
8092
7460
  /** @public */
8093
7461
  export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
8094
7462
 
8095
- /**
8096
- * @public
8097
- */
8098
- export declare interface UiCanvasTexture {
8099
- uiCanvasEntity: number;
8100
- /** default = TextureWrapMode.Clamp */
8101
- wrapMode?: TextureWrapMode | undefined;
8102
- /** default = FilterMode.Bilinear */
8103
- filterMode?: TextureFilterMode | undefined;
8104
- }
8105
-
8106
- /**
8107
- * @public
8108
- */
8109
- export declare namespace UiCanvasTexture {
8110
- export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
8111
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
8112
- }
8113
-
8114
7463
  /**
8115
7464
  * @public
8116
7465
  */
@@ -8180,10 +7529,6 @@ export declare interface UiLabelProps {
8180
7529
  textAlign?: TextAlignType | undefined;
8181
7530
  /** Label font type. @defaultValue 'sans-serif' */
8182
7531
  font?: UiFontType | undefined;
8183
- /** Outline width of the text. @defaultValue 0 */
8184
- outlineWidth?: number | undefined;
8185
- /** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
8186
- outlineColor?: PBColor4 | undefined;
8187
7532
  /** Behaviour when text reached. @defaultValue 'wrap' */
8188
7533
  textWrap?: UiTextWrapType | undefined;
8189
7534
  }
@@ -8193,9 +7538,6 @@ export declare interface UiLabelProps {
8193
7538
  */
8194
7539
  export declare type uint32 = number;
8195
7540
 
8196
- /** @public */
8197
- export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
8198
-
8199
7541
  /** @public */
8200
7542
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
8201
7543
 
@@ -8268,26 +7610,6 @@ export declare interface UiTransformProps {
8268
7610
  overflow?: OverflowType;
8269
7611
  /** The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property) **/
8270
7612
  pointerFilter?: PointerFilterType;
8271
- /** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
8272
- opacity?: number;
8273
- /** A reference value to identify the element, default empty */
8274
- elementId?: string;
8275
- /** default position=(0,0) if it aplies, a vector or a reference-id */
8276
- scrollPosition?: PBVector2 | string;
8277
- /** default ShowScrollBar.SSB_BOTH */
8278
- scrollVisible?: ScrollVisibleType;
8279
- /** default 0 */
8280
- zIndex?: number;
8281
- }
8282
-
8283
- /**
8284
- * Texture
8285
- * @public
8286
- */
8287
- export declare interface UiVideoTexture {
8288
- videoPlayerEntity: Entity;
8289
- wrapMode?: TextureWrapType;
8290
- filterMode?: TextureFilterType;
8291
7613
  }
8292
7614
 
8293
7615
  /**