@dcl/playground-assets 7.5.8-10967536696.commit-cfc4ce5 → 7.5.8-11020113946.commit-53f6ae5

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/beta.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
 
@@ -562,39 +519,6 @@ export declare const enum CameraType {
562
519
 
563
520
  export declare type Children = ReactEcs.JSX.ReactNode;
564
521
 
565
- /**
566
- * @public
567
- */
568
- export declare interface CinematicSettings {
569
- /** Entity that defines the cinematic camera transform. */
570
- cameraEntity: number;
571
- /**
572
- * Position -> camera's position
573
- * Rotation -> camera's direction
574
- * scale.z -> zoom level
575
- * scale.x and scale.y -> unused
576
- */
577
- allowManualRotation?: boolean | undefined;
578
- /** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
579
- yawRange?: number | undefined;
580
- /** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
581
- pitchRange?: number | undefined;
582
- /** note: cameras can never look up/down further than Vec3::Y */
583
- rollRange?: number | undefined;
584
- /** minimum zoom level. must be greater than 0. defaults to the input zoom level */
585
- zoomMin?: number | undefined;
586
- /** maximum zoom level. must be greater than 0. defaults to the input zoom level */
587
- zoomMax?: number | undefined;
588
- }
589
-
590
- /**
591
- * @public
592
- */
593
- export declare namespace CinematicSettings {
594
- export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
595
- export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
596
- }
597
-
598
522
  /** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
599
523
  /**
600
524
  * @public
@@ -1371,13 +1295,9 @@ export declare const componentDefinitionByName: {
1371
1295
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
1372
1296
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
1373
1297
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
1374
- "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
1375
1298
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1376
1299
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1377
- "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
1378
- "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
1379
1300
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1380
- "core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
1381
1301
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
1382
1302
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
1383
1303
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -1390,19 +1310,16 @@ export declare const componentDefinitionByName: {
1390
1310
  "core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
1391
1311
  "core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
1392
1312
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
1393
- "core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
1394
1313
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
1395
1314
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
1396
1315
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
1397
1316
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
1398
1317
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
1399
- "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
1400
1318
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
1401
1319
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
1402
1320
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
1403
1321
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
1404
1322
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
1405
- "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
1406
1323
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
1407
1324
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
1408
1325
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -2114,9 +2031,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
2114
2031
  direction?: PBVector3;
2115
2032
  };
2116
2033
 
2117
- /** @public */
2118
- export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
2119
-
2120
2034
  export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
2121
2035
 
2122
2036
  export declare type GlobalTargetRaycastSystemOptions = {
@@ -2129,21 +2043,6 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
2129
2043
  /** @public */
2130
2044
  export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
2131
2045
 
2132
- /** @public */
2133
- export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
2134
-
2135
- /** @public */
2136
- export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
2137
-
2138
- /**
2139
- * @public
2140
- */
2141
- export declare const enum GltfNodeStateValue {
2142
- GNSV_PENDING = 0,
2143
- GNSV_FAILED = 1,
2144
- GNSV_READY = 2
2145
- }
2146
-
2147
2046
  /**
2148
2047
  * @public
2149
2048
  */
@@ -2719,9 +2618,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2719
2618
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2720
2619
  }
2721
2620
 
2722
- /** @public */
2723
- export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
2724
-
2725
2621
  /**
2726
2622
  * User key event Listeners
2727
2623
  * @public
@@ -3599,14 +3495,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
3599
3495
  * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
3600
3496
  */
3601
3497
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3602
- /**
3603
- * @public
3604
- * Set a gltf internal mesh in the MeshCollider component
3605
- * @param entity - entity to create or replace the MeshRenderer component
3606
- * @param source - the path to the gltf
3607
- * @param meshName - the name of the mesh in the gltf
3608
- */
3609
- setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3610
3498
  }
3611
3499
 
3612
3500
  export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
@@ -3643,14 +3531,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
3643
3531
  * @param entity - entity to create or replace the MeshRenderer component
3644
3532
  */
3645
3533
  setSphere(entity: Entity): void;
3646
- /**
3647
- * @public
3648
- * Set a gltf internal mesh in the MeshRenderer component
3649
- * @param entity - entity to create or replace the MeshRenderer component
3650
- * @param source - the path to the gltf
3651
- * @param meshName - the name of the mesh in the gltf
3652
- */
3653
- setGltfMesh(entity: Entity, source: string, meshName: string): void;
3654
3534
  }
3655
3535
 
3656
3536
  /* Excluded from this release type: MessageBus */
@@ -4304,9 +4184,6 @@ export declare interface PBAvatarModifierArea {
4304
4184
  excludeIds: string[];
4305
4185
  /** list of modifiers to apply */
4306
4186
  modifiers: AvatarModifierType[];
4307
- movementSettings?: AvatarMovementSettings | undefined;
4308
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4309
- useColliderRange?: boolean | undefined;
4310
4187
  }
4311
4188
 
4312
4189
  /**
@@ -4419,7 +4296,7 @@ export declare namespace PBCameraMode {
4419
4296
 
4420
4297
  /**
4421
4298
  * The CameraModeArea component can be attached to an Entity to define a region of space where
4422
- * the player's camera mode (1st-person, 3rd-person or cinematic) is overridden.
4299
+ * the player's camera mode (1st-person or 3rd-person) is overridden.
4423
4300
  *
4424
4301
  * The Entity's Transform position determines the center-point of the region, while its size is
4425
4302
  * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
@@ -4429,8 +4306,6 @@ export declare namespace PBCameraMode {
4429
4306
  *
4430
4307
  * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
4431
4308
  * is actually a 3D volume.
4432
- *
4433
- * When mode is set to CtCinematic, the cinematic_settings field must also be provided.
4434
4309
  */
4435
4310
  /**
4436
4311
  * @public
@@ -4440,9 +4315,6 @@ export declare interface PBCameraModeArea {
4440
4315
  area: PBVector3 | undefined;
4441
4316
  /** the camera mode to enforce */
4442
4317
  mode: CameraType;
4443
- cinematicSettings?: CinematicSettings | undefined;
4444
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4445
- useColliderRange?: boolean | undefined;
4446
4318
  }
4447
4319
 
4448
4320
  /**
@@ -4514,39 +4386,6 @@ export declare namespace PBEngineInfo {
4514
4386
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
4515
4387
  }
4516
4388
 
4517
- /**
4518
- * defines the global scene light settings. must be added to the scene root.
4519
- * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
4520
- */
4521
- /**
4522
- * @public
4523
- */
4524
- export declare interface PBGlobalLight {
4525
- /**
4526
- * the direction the directional light shines in.
4527
- * default depends on time of day and explorer implementation
4528
- */
4529
- direction?: PBVector3 | undefined;
4530
- /**
4531
- * ambient light color
4532
- * default: White
4533
- */
4534
- ambientColor?: PBColor3 | undefined;
4535
- /**
4536
- * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
4537
- * default 1
4538
- */
4539
- ambientBrightness?: number | undefined;
4540
- }
4541
-
4542
- /**
4543
- * @public
4544
- */
4545
- export declare namespace PBGlobalLight {
4546
- export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
4547
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
4548
- }
4549
-
4550
4389
  /**
4551
4390
  * GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
4552
4391
  *
@@ -4582,25 +4421,6 @@ export declare namespace PBGltfContainer {
4582
4421
  */
4583
4422
  export declare interface PBGltfContainerLoadingState {
4584
4423
  currentState: LoadingState;
4585
- /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
4586
- nodePaths: string[];
4587
- /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
4588
- meshNames: string[];
4589
- /**
4590
- * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
4591
- * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
4592
- */
4593
- materialNames: string[];
4594
- /**
4595
- * X is the material index. note this may conflict with manually named materials - to avoid any issues make
4596
- * sure all your materials are explicitly named.
4597
- */
4598
- skinNames: string[];
4599
- /**
4600
- * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
4601
- * your skins are explicitly named.
4602
- */
4603
- animationNames: string[];
4604
4424
  }
4605
4425
 
4606
4426
  /**
@@ -4611,77 +4431,6 @@ export declare namespace PBGltfContainerLoadingState {
4611
4431
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
4612
4432
  }
4613
4433
 
4614
- /**
4615
- * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
4616
- * This component must be added to a direct child of an entity with a PBGltfContainer component, or
4617
- * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
4618
- * in the parent.
4619
- * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
4620
- *
4621
- * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
4622
- * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
4623
- * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
4624
- * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
4625
- * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
4626
- *
4627
- * After creation, if an animation moves the node, the `Transform` will be updated.
4628
- *
4629
- * From the scene, you can modify various components to alter the gltf node:
4630
- * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
4631
- * regardless of any intermediate gltf node hierarchy.
4632
- * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
4633
- * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
4634
- * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
4635
- * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
4636
- * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
4637
- * 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
4638
- * PBMaterial will be maintained.
4639
- *
4640
- * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
4641
- * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
4642
- * change the state to `GNS_FAILED`.
4643
- * - deleting the scene entity will not delete the gltf node.
4644
- *
4645
- * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
4646
- * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
4647
- * the gltf node will also be displayed.
4648
- */
4649
- /**
4650
- * @public
4651
- */
4652
- export declare interface PBGltfNode {
4653
- /** the path of the target node in the Gltf. */
4654
- path: string;
4655
- }
4656
-
4657
- /**
4658
- * @public
4659
- */
4660
- export declare namespace PBGltfNode {
4661
- export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
4662
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
4663
- }
4664
-
4665
- /**
4666
- * The state of a linked gltf node.
4667
- * If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
4668
- */
4669
- /**
4670
- * @public
4671
- */
4672
- export declare interface PBGltfNodeState {
4673
- state: GltfNodeStateValue;
4674
- error?: string | undefined;
4675
- }
4676
-
4677
- /**
4678
- * @public
4679
- */
4680
- export declare namespace PBGltfNodeState {
4681
- export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
4682
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
4683
- }
4684
-
4685
4434
  /**
4686
4435
  * @public
4687
4436
  */
@@ -4721,62 +4470,6 @@ export declare namespace PBInputModifier_StandardInput {
4721
4470
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4722
4471
  }
4723
4472
 
4724
- /**
4725
- * defines a light source.
4726
- * the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
4727
- * a PBGlobalLight component can also be added to the root to control the directional light direction.
4728
- * point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
4729
- */
4730
- /**
4731
- * @public
4732
- */
4733
- export declare interface PBLight {
4734
- /**
4735
- * whether the light is on
4736
- * default true
4737
- */
4738
- enabled?: boolean | undefined;
4739
- /**
4740
- * light brightness in lux (lumens/m^2).
4741
- *
4742
- * 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).
4743
- * the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
4744
- * for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
4745
- *
4746
- * for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
4747
- * divide lumens by ~12 (4*pi).
4748
- * e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
4749
- * a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
4750
- *
4751
- * default
4752
- * for point/spotlights: 10,000
4753
- * for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
4754
- */
4755
- illuminance?: number | undefined;
4756
- /**
4757
- * whether the light should cast shadows.
4758
- * note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
4759
- * of lights depending on the implementation, platform, and user settings.
4760
- * default
4761
- * for point/spotlights: false / off
4762
- * for global directional light: true / on
4763
- */
4764
- shadows?: boolean | undefined;
4765
- /**
4766
- * light color
4767
- * default White
4768
- */
4769
- color?: PBColor3 | undefined;
4770
- }
4771
-
4772
- /**
4773
- * @public
4774
- */
4775
- export declare namespace PBLight {
4776
- export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
4777
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
4778
- }
4779
-
4780
4473
  /**
4781
4474
  * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4782
4475
  * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
@@ -4808,14 +4501,6 @@ export declare interface PBMaterial {
4808
4501
  $case: "pbr";
4809
4502
  pbr: PBMaterial_PbrMaterial;
4810
4503
  } | undefined;
4811
- /**
4812
- * A gltf material that may provide additional features not supported by the PbMaterial fields.
4813
- * If both gltf and material fields are provided, the gltf will be used only for extended features not
4814
- * supported by the PbMaterial.
4815
- * If this is provided and the `material` field is not provided, the renderer will update the material
4816
- * field with data that reflects the gltf material once it is loaded.
4817
- */
4818
- gltf?: PBMaterial_GltfMaterial | undefined;
4819
4504
  }
4820
4505
 
4821
4506
  /**
@@ -4826,22 +4511,6 @@ export declare namespace PBMaterial {
4826
4511
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
4827
4512
  }
4828
4513
 
4829
- /**
4830
- * @public
4831
- */
4832
- export declare interface PBMaterial_GltfMaterial {
4833
- gltfSrc: string;
4834
- name: string;
4835
- }
4836
-
4837
- /**
4838
- * @public
4839
- */
4840
- export declare namespace PBMaterial_GltfMaterial {
4841
- export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
4842
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
4843
- }
4844
-
4845
4514
  /**
4846
4515
  * @public
4847
4516
  */
@@ -4936,9 +4605,6 @@ export declare interface PBMeshCollider {
4936
4605
  } | {
4937
4606
  $case: "plane";
4938
4607
  plane: PBMeshCollider_PlaneMesh;
4939
- } | {
4940
- $case: "gltf";
4941
- gltf: PBMeshCollider_GltfMesh;
4942
4608
  } | undefined;
4943
4609
  }
4944
4610
 
@@ -4984,25 +4650,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
4984
4650
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
4985
4651
  }
4986
4652
 
4987
- /** A collider constructed from a Gltf Mesh. */
4988
- /**
4989
- * @public
4990
- */
4991
- export declare interface PBMeshCollider_GltfMesh {
4992
- /** the GLTF file path as listed in the scene's manifest. */
4993
- gltfSrc: string;
4994
- /** the name of the mesh asset */
4995
- name: string;
4996
- }
4997
-
4998
- /**
4999
- * @public
5000
- */
5001
- export declare namespace PBMeshCollider_GltfMesh {
5002
- export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5003
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
5004
- }
5005
-
5006
4653
  /** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
5007
4654
  /**
5008
4655
  * @public
@@ -5035,11 +4682,13 @@ export declare namespace PBMeshCollider_SphereMesh {
5035
4682
 
5036
4683
  /**
5037
4684
  * The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
5038
- * plane, a sphere, a cylinder, or a Gltf mesh.
4685
+ * plane, a sphere or a cylinder.
5039
4686
  *
5040
4687
  * The cube and plane variants can include a UV texture mapping, so specific areas of a material
5041
4688
  * texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
5042
4689
  * `float` coordinates, one for each corner of each side of each face.
4690
+ *
4691
+ * More complex shapes require the use of a `GltfContainer` component.
5043
4692
  */
5044
4693
  /**
5045
4694
  * @public
@@ -5057,9 +4706,6 @@ export declare interface PBMeshRenderer {
5057
4706
  } | {
5058
4707
  $case: "plane";
5059
4708
  plane: PBMeshRenderer_PlaneMesh;
5060
- } | {
5061
- $case: "gltf";
5062
- gltf: PBMeshRenderer_GltfMesh;
5063
4709
  } | undefined;
5064
4710
  }
5065
4711
 
@@ -5107,25 +4753,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
5107
4753
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
5108
4754
  }
5109
4755
 
5110
- /** A mesh from a Gltf. */
5111
- /**
5112
- * @public
5113
- */
5114
- export declare interface PBMeshRenderer_GltfMesh {
5115
- /** the GLTF file path as listed in the scene's manifest. */
5116
- gltfSrc: string;
5117
- /** the name of the mesh asset */
5118
- name: string;
5119
- }
5120
-
5121
- /**
5122
- * @public
5123
- */
5124
- export declare namespace PBMeshRenderer_GltfMesh {
5125
- export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5126
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
5127
- }
5128
-
5129
4756
  /** PlaneMesh renders a 2D rectangular shape. */
5130
4757
  /**
5131
4758
  * @public
@@ -5452,6 +5079,7 @@ export declare interface PBRealmInfo {
5452
5079
  commsAdapter: string;
5453
5080
  isPreview: boolean;
5454
5081
  room?: string | undefined;
5082
+ isConnectedSceneRoom?: boolean | undefined;
5455
5083
  }
5456
5084
 
5457
5085
  /**
@@ -5462,39 +5090,6 @@ export declare namespace PBRealmInfo {
5462
5090
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
5463
5091
  }
5464
5092
 
5465
- /**
5466
- * defines a spotlight.
5467
- * spotlights are point lights that emit light only in a cone around the transform's forward direction.
5468
- * add this component together with the PBLight component to transform a point light into a spotlight.
5469
- * note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
5470
- * so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
5471
- * a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
5472
- * and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
5473
- */
5474
- /**
5475
- * @public
5476
- */
5477
- export declare interface PBSpotlight {
5478
- /**
5479
- * the cone radius in radians. distance away from forward in which the light is visible.
5480
- * for a torch a value around 0.15 is appropriate.
5481
- */
5482
- angle: number;
5483
- /**
5484
- * optional angle at which the light is brightest. should be <= outer angle.
5485
- * if specified, the light will fall off smoothly between `inner_angle` and `angle`.
5486
- */
5487
- innerAngle?: number | undefined;
5488
- }
5489
-
5490
- /**
5491
- * @public
5492
- */
5493
- export declare namespace PBSpotlight {
5494
- export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
5495
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
5496
- }
5497
-
5498
5093
  /**
5499
5094
  * The TextShape component renders customizable floating text.
5500
5095
  *
@@ -5645,25 +5240,6 @@ export declare namespace PBUiBackground {
5645
5240
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
5646
5241
  }
5647
5242
 
5648
- /** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
5649
- /**
5650
- * @public
5651
- */
5652
- export declare interface PBUiCanvas {
5653
- width: number;
5654
- height: number;
5655
- /** default = (0.0, 0.0, 0.0, 0.0) / transparent */
5656
- color?: PBColor4 | undefined;
5657
- }
5658
-
5659
- /**
5660
- * @public
5661
- */
5662
- export declare namespace PBUiCanvas {
5663
- export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
5664
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
5665
- }
5666
-
5667
5243
  /** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
5668
5244
  /**
5669
5245
  * @public
@@ -5780,21 +5356,6 @@ export declare namespace PBUiInputResult {
5780
5356
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
5781
5357
  }
5782
5358
 
5783
- /**
5784
- * @public
5785
- */
5786
- export declare interface PBUiScrollResult {
5787
- value: PBVector2 | undefined;
5788
- }
5789
-
5790
- /**
5791
- * @public
5792
- */
5793
- export declare namespace PBUiScrollResult {
5794
- export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
5795
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
5796
- }
5797
-
5798
5359
  /**
5799
5360
  * @public
5800
5361
  */
@@ -5811,10 +5372,6 @@ export declare interface PBUiText {
5811
5372
  fontSize?: number | undefined;
5812
5373
  /** wrap text when the border is reached (default: TW_WRAP) */
5813
5374
  textWrap?: TextWrap | undefined;
5814
- /** width of the outline (default: 0) */
5815
- outlineWidth?: number | undefined;
5816
- /** RGBA color of the outline (default: opaque black) */
5817
- outlineColor?: PBColor4 | undefined;
5818
5375
  }
5819
5376
 
5820
5377
  /**
@@ -5911,14 +5468,6 @@ export declare interface PBUiTransform {
5911
5468
  paddingBottom: number;
5912
5469
  /** default: PointerFilterMode.PFM_NONE */
5913
5470
  pointerFilter?: PointerFilterMode | undefined;
5914
- /** default: 1 */
5915
- opacity?: number | undefined;
5916
- /** default empty */
5917
- elementId?: string | undefined;
5918
- /** default position=(0,0) */
5919
- scrollPosition?: ScrollPositionValue | undefined;
5920
- /** default ShowScrollBar.SSB_BOTH */
5921
- scrollVisible?: ShowScrollBar | undefined;
5922
5471
  }
5923
5472
 
5924
5473
  /**
@@ -6852,7 +6401,6 @@ export declare type RaycastSystemOptions = {
6852
6401
  export declare interface ReactBasedUiSystem {
6853
6402
  destroy(): void;
6854
6403
  setUiRenderer(ui: UiComponent): void;
6855
- setTextureRenderer(entity: Entity, ui: UiComponent): void;
6856
6404
  }
6857
6405
 
6858
6406
  /**
@@ -7306,43 +6854,6 @@ export declare namespace Schemas {
7306
6854
  }) => void;
7307
6855
  }
7308
6856
 
7309
- /**
7310
- * @public
7311
- */
7312
- export declare interface ScrollPositionValue {
7313
- value?: {
7314
- $case: "position";
7315
- position: PBVector2;
7316
- } | {
7317
- $case: "reference";
7318
- reference: string;
7319
- } | undefined;
7320
- }
7321
-
7322
- /**
7323
- * @public
7324
- */
7325
- export declare namespace ScrollPositionValue {
7326
- export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
7327
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
7328
- }
7329
-
7330
- /**
7331
- * @public
7332
- * The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
7333
- */
7334
- export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
7335
-
7336
- /**
7337
- * @public
7338
- */
7339
- export declare const enum ShowScrollBar {
7340
- SSB_BOTH = 0,
7341
- SSB_ONLY_VERTICAL = 1,
7342
- SSB_ONLY_HORIZONTAL = 2,
7343
- SSB_HIDDEN = 3
7344
- }
7345
-
7346
6857
  /**
7347
6858
  * @public
7348
6859
  */
@@ -7350,9 +6861,6 @@ export declare interface Spec {
7350
6861
  [key: string]: ISchema;
7351
6862
  }
7352
6863
 
7353
- /** @public */
7354
- export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
7355
-
7356
6864
  /* Excluded from this release type: SyncComponents */
7357
6865
 
7358
6866
  /**
@@ -7479,9 +6987,6 @@ export declare interface TextureUnion {
7479
6987
  } | {
7480
6988
  $case: "videoTexture";
7481
6989
  videoTexture: VideoTexture;
7482
- } | {
7483
- $case: "uiTexture";
7484
- uiTexture: UiCanvasTexture;
7485
6990
  } | undefined;
7486
6991
  }
7487
6992
 
@@ -7700,31 +7205,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
7700
7205
  disabled?: boolean;
7701
7206
  }
7702
7207
 
7703
- /** @public */
7704
- export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
7705
-
7706
7208
  /** @public */
7707
7209
  export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
7708
7210
 
7709
- /**
7710
- * @public
7711
- */
7712
- export declare interface UiCanvasTexture {
7713
- uiCanvasEntity: number;
7714
- /** default = TextureWrapMode.Clamp */
7715
- wrapMode?: TextureWrapMode | undefined;
7716
- /** default = FilterMode.Bilinear */
7717
- filterMode?: TextureFilterMode | undefined;
7718
- }
7719
-
7720
- /**
7721
- * @public
7722
- */
7723
- export declare namespace UiCanvasTexture {
7724
- export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
7725
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
7726
- }
7727
-
7728
7211
  /**
7729
7212
  * @public
7730
7213
  */
@@ -7794,10 +7277,6 @@ export declare interface UiLabelProps {
7794
7277
  textAlign?: TextAlignType | undefined;
7795
7278
  /** Label font type. @defaultValue 'sans-serif' */
7796
7279
  font?: UiFontType | undefined;
7797
- /** Outline width of the text. @defaultValue 0 */
7798
- outlineWidth?: number | undefined;
7799
- /** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
7800
- outlineColor?: PBColor4 | undefined;
7801
7280
  /** Behaviour when text reached. @defaultValue 'wrap' */
7802
7281
  textWrap?: UiTextWrapType | undefined;
7803
7282
  }
@@ -7807,9 +7286,6 @@ export declare interface UiLabelProps {
7807
7286
  */
7808
7287
  export declare type uint32 = number;
7809
7288
 
7810
- /** @public */
7811
- export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
7812
-
7813
7289
  /** @public */
7814
7290
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
7815
7291
 
@@ -7882,14 +7358,6 @@ export declare interface UiTransformProps {
7882
7358
  overflow?: OverflowType;
7883
7359
  /** 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) **/
7884
7360
  pointerFilter?: PointerFilterType;
7885
- /** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
7886
- opacity?: number;
7887
- /** A reference value to identify the element, default empty */
7888
- elementId?: string;
7889
- /** default position=(0,0) if it aplies, a vector or a reference-id */
7890
- scrollPosition?: PBVector2 | string;
7891
- /** default ShowScrollBar.SSB_BOTH */
7892
- scrollVisible?: ScrollVisibleType;
7893
7361
  }
7894
7362
 
7895
7363
  /**