@dcl/playground-assets 7.6.8-12529128672.commit-d6adcb3 → 7.6.8-12654658655.commit-392992d

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
 
@@ -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>>;
@@ -2119,9 +2036,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
2119
2036
  direction?: PBVector3;
2120
2037
  };
2121
2038
 
2122
- /** @public */
2123
- export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
2124
-
2125
2039
  export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
2126
2040
 
2127
2041
  export declare type GlobalTargetRaycastSystemOptions = {
@@ -2134,21 +2048,6 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
2134
2048
  /** @public */
2135
2049
  export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
2136
2050
 
2137
- /** @public */
2138
- export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
2139
-
2140
- /** @public */
2141
- export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
2142
-
2143
- /**
2144
- * @public
2145
- */
2146
- export declare const enum GltfNodeStateValue {
2147
- GNSV_PENDING = 0,
2148
- GNSV_FAILED = 1,
2149
- GNSV_READY = 2
2150
- }
2151
-
2152
2051
  /**
2153
2052
  * @public
2154
2053
  */
@@ -2752,9 +2651,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2752
2651
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2753
2652
  }
2754
2653
 
2755
- /** @public */
2756
- export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
2757
-
2758
2654
  /**
2759
2655
  * User key event Listeners
2760
2656
  * @public
@@ -3636,14 +3532,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
3636
3532
  * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
3637
3533
  */
3638
3534
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3639
- /**
3640
- * @public
3641
- * Set a gltf internal mesh in the MeshCollider component
3642
- * @param entity - entity to create or replace the MeshRenderer component
3643
- * @param source - the path to the gltf
3644
- * @param meshName - the name of the mesh in the gltf
3645
- */
3646
- setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3647
3535
  }
3648
3536
 
3649
3537
  export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
@@ -3680,14 +3568,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
3680
3568
  * @param entity - entity to create or replace the MeshRenderer component
3681
3569
  */
3682
3570
  setSphere(entity: Entity): void;
3683
- /**
3684
- * @public
3685
- * Set a gltf internal mesh in the MeshRenderer component
3686
- * @param entity - entity to create or replace the MeshRenderer component
3687
- * @param source - the path to the gltf
3688
- * @param meshName - the name of the mesh in the gltf
3689
- */
3690
- setGltfMesh(entity: Entity, source: string, meshName: string): void;
3691
3571
  }
3692
3572
 
3693
3573
  /**
@@ -4360,9 +4240,6 @@ export declare interface PBAvatarModifierArea {
4360
4240
  excludeIds: string[];
4361
4241
  /** list of modifiers to apply */
4362
4242
  modifiers: AvatarModifierType[];
4363
- movementSettings?: AvatarMovementSettings | undefined;
4364
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4365
- useColliderRange?: boolean | undefined;
4366
4243
  }
4367
4244
 
4368
4245
  /**
@@ -4475,7 +4352,7 @@ export declare namespace PBCameraMode {
4475
4352
 
4476
4353
  /**
4477
4354
  * The CameraModeArea component can be attached to an Entity to define a region of space where
4478
- * the player's camera mode (1st-person, 3rd-person or cinematic) is overridden.
4355
+ * the player's camera mode (1st-person or 3rd-person) is overridden.
4479
4356
  *
4480
4357
  * The Entity's Transform position determines the center-point of the region, while its size is
4481
4358
  * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
@@ -4485,8 +4362,6 @@ export declare namespace PBCameraMode {
4485
4362
  *
4486
4363
  * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
4487
4364
  * is actually a 3D volume.
4488
- *
4489
- * When mode is set to CtCinematic, the cinematic_settings field must also be provided.
4490
4365
  */
4491
4366
  /**
4492
4367
  * @public
@@ -4496,9 +4371,6 @@ export declare interface PBCameraModeArea {
4496
4371
  area: PBVector3 | undefined;
4497
4372
  /** the camera mode to enforce */
4498
4373
  mode: CameraType;
4499
- cinematicSettings?: CinematicSettings | undefined;
4500
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4501
- useColliderRange?: boolean | undefined;
4502
4374
  }
4503
4375
 
4504
4376
  /**
@@ -4570,39 +4442,6 @@ export declare namespace PBEngineInfo {
4570
4442
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
4571
4443
  }
4572
4444
 
4573
- /**
4574
- * defines the global scene light settings. must be added to the scene root.
4575
- * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
4576
- */
4577
- /**
4578
- * @public
4579
- */
4580
- export declare interface PBGlobalLight {
4581
- /**
4582
- * the direction the directional light shines in.
4583
- * default depends on time of day and explorer implementation
4584
- */
4585
- direction?: PBVector3 | undefined;
4586
- /**
4587
- * ambient light color
4588
- * default: White
4589
- */
4590
- ambientColor?: PBColor3 | undefined;
4591
- /**
4592
- * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
4593
- * default 1
4594
- */
4595
- ambientBrightness?: number | undefined;
4596
- }
4597
-
4598
- /**
4599
- * @public
4600
- */
4601
- export declare namespace PBGlobalLight {
4602
- export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
4603
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
4604
- }
4605
-
4606
4445
  /**
4607
4446
  * GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
4608
4447
  *
@@ -4638,25 +4477,6 @@ export declare namespace PBGltfContainer {
4638
4477
  */
4639
4478
  export declare interface PBGltfContainerLoadingState {
4640
4479
  currentState: LoadingState;
4641
- /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
4642
- nodePaths: string[];
4643
- /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
4644
- meshNames: string[];
4645
- /**
4646
- * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
4647
- * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
4648
- */
4649
- materialNames: string[];
4650
- /**
4651
- * X is the material index. note this may conflict with manually named materials - to avoid any issues make
4652
- * sure all your materials are explicitly named.
4653
- */
4654
- skinNames: string[];
4655
- /**
4656
- * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
4657
- * your skins are explicitly named.
4658
- */
4659
- animationNames: string[];
4660
4480
  }
4661
4481
 
4662
4482
  /**
@@ -4667,77 +4487,6 @@ export declare namespace PBGltfContainerLoadingState {
4667
4487
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
4668
4488
  }
4669
4489
 
4670
- /**
4671
- * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
4672
- * This component must be added to a direct child of an entity with a PBGltfContainer component, or
4673
- * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
4674
- * in the parent.
4675
- * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
4676
- *
4677
- * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
4678
- * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
4679
- * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
4680
- * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
4681
- * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
4682
- *
4683
- * After creation, if an animation moves the node, the `Transform` will be updated.
4684
- *
4685
- * From the scene, you can modify various components to alter the gltf node:
4686
- * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
4687
- * regardless of any intermediate gltf node hierarchy.
4688
- * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
4689
- * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
4690
- * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
4691
- * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
4692
- * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
4693
- * 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
4694
- * PBMaterial will be maintained.
4695
- *
4696
- * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
4697
- * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
4698
- * change the state to `GNS_FAILED`.
4699
- * - deleting the scene entity will not delete the gltf node.
4700
- *
4701
- * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
4702
- * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
4703
- * the gltf node will also be displayed.
4704
- */
4705
- /**
4706
- * @public
4707
- */
4708
- export declare interface PBGltfNode {
4709
- /** the path of the target node in the Gltf. */
4710
- path: string;
4711
- }
4712
-
4713
- /**
4714
- * @public
4715
- */
4716
- export declare namespace PBGltfNode {
4717
- export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
4718
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
4719
- }
4720
-
4721
- /**
4722
- * The state of a linked gltf node.
4723
- * If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
4724
- */
4725
- /**
4726
- * @public
4727
- */
4728
- export declare interface PBGltfNodeState {
4729
- state: GltfNodeStateValue;
4730
- error?: string | undefined;
4731
- }
4732
-
4733
- /**
4734
- * @public
4735
- */
4736
- export declare namespace PBGltfNodeState {
4737
- export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
4738
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
4739
- }
4740
-
4741
4490
  /**
4742
4491
  * @public
4743
4492
  */
@@ -4777,62 +4526,6 @@ export declare namespace PBInputModifier_StandardInput {
4777
4526
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4778
4527
  }
4779
4528
 
4780
- /**
4781
- * defines a light source.
4782
- * the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
4783
- * a PBGlobalLight component can also be added to the root to control the directional light direction.
4784
- * point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
4785
- */
4786
- /**
4787
- * @public
4788
- */
4789
- export declare interface PBLight {
4790
- /**
4791
- * whether the light is on
4792
- * default true
4793
- */
4794
- enabled?: boolean | undefined;
4795
- /**
4796
- * light brightness in lux (lumens/m^2).
4797
- *
4798
- * 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).
4799
- * the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
4800
- * for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
4801
- *
4802
- * for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
4803
- * divide lumens by ~12 (4*pi).
4804
- * e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
4805
- * a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
4806
- *
4807
- * default
4808
- * for point/spotlights: 10,000
4809
- * for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
4810
- */
4811
- illuminance?: number | undefined;
4812
- /**
4813
- * whether the light should cast shadows.
4814
- * note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
4815
- * of lights depending on the implementation, platform, and user settings.
4816
- * default
4817
- * for point/spotlights: false / off
4818
- * for global directional light: true / on
4819
- */
4820
- shadows?: boolean | undefined;
4821
- /**
4822
- * light color
4823
- * default White
4824
- */
4825
- color?: PBColor3 | undefined;
4826
- }
4827
-
4828
- /**
4829
- * @public
4830
- */
4831
- export declare namespace PBLight {
4832
- export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
4833
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
4834
- }
4835
-
4836
4529
  /**
4837
4530
  * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4838
4531
  * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
@@ -4864,14 +4557,6 @@ export declare interface PBMaterial {
4864
4557
  $case: "pbr";
4865
4558
  pbr: PBMaterial_PbrMaterial;
4866
4559
  } | undefined;
4867
- /**
4868
- * A gltf material that may provide additional features not supported by the PbMaterial fields.
4869
- * If both gltf and material fields are provided, the gltf will be used only for extended features not
4870
- * supported by the PbMaterial.
4871
- * If this is provided and the `material` field is not provided, the renderer will update the material
4872
- * field with data that reflects the gltf material once it is loaded.
4873
- */
4874
- gltf?: PBMaterial_GltfMaterial | undefined;
4875
4560
  }
4876
4561
 
4877
4562
  /**
@@ -4882,22 +4567,6 @@ export declare namespace PBMaterial {
4882
4567
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
4883
4568
  }
4884
4569
 
4885
- /**
4886
- * @public
4887
- */
4888
- export declare interface PBMaterial_GltfMaterial {
4889
- gltfSrc: string;
4890
- name: string;
4891
- }
4892
-
4893
- /**
4894
- * @public
4895
- */
4896
- export declare namespace PBMaterial_GltfMaterial {
4897
- export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
4898
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
4899
- }
4900
-
4901
4570
  /**
4902
4571
  * @public
4903
4572
  */
@@ -4910,9 +4579,9 @@ export declare interface PBMaterial_PbrMaterial {
4910
4579
  castShadows?: boolean | undefined;
4911
4580
  /** @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead. */
4912
4581
  alphaTexture?: TextureUnion | undefined;
4913
- /** default = null. Note that tilling and offset properties are ignored for this texture. */
4582
+ /** default = null */
4914
4583
  emissiveTexture?: TextureUnion | undefined;
4915
- /** default = null. Note that tilling and offset properties are ignored for this texture. */
4584
+ /** default = null */
4916
4585
  bumpTexture?: TextureUnion | undefined;
4917
4586
  /** default = white; */
4918
4587
  albedoColor?: PBColor4 | undefined;
@@ -4954,7 +4623,7 @@ export declare interface PBMaterial_UnlitMaterial {
4954
4623
  castShadows?: boolean | undefined;
4955
4624
  /** default = white; */
4956
4625
  diffuseColor?: PBColor4 | undefined;
4957
- /** default = null. Note that tilling and offset properties are ignored for this texture. */
4626
+ /** default = null */
4958
4627
  alphaTexture?: TextureUnion | undefined;
4959
4628
  }
4960
4629
 
@@ -4994,9 +4663,6 @@ export declare interface PBMeshCollider {
4994
4663
  } | {
4995
4664
  $case: "plane";
4996
4665
  plane: PBMeshCollider_PlaneMesh;
4997
- } | {
4998
- $case: "gltf";
4999
- gltf: PBMeshCollider_GltfMesh;
5000
4666
  } | undefined;
5001
4667
  }
5002
4668
 
@@ -5042,25 +4708,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
5042
4708
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
5043
4709
  }
5044
4710
 
5045
- /** A collider constructed from a Gltf Mesh. */
5046
- /**
5047
- * @public
5048
- */
5049
- export declare interface PBMeshCollider_GltfMesh {
5050
- /** the GLTF file path as listed in the scene's manifest. */
5051
- gltfSrc: string;
5052
- /** the name of the mesh asset */
5053
- name: string;
5054
- }
5055
-
5056
- /**
5057
- * @public
5058
- */
5059
- export declare namespace PBMeshCollider_GltfMesh {
5060
- export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5061
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
5062
- }
5063
-
5064
4711
  /** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
5065
4712
  /**
5066
4713
  * @public
@@ -5093,11 +4740,13 @@ export declare namespace PBMeshCollider_SphereMesh {
5093
4740
 
5094
4741
  /**
5095
4742
  * The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
5096
- * plane, a sphere, a cylinder, or a Gltf mesh.
4743
+ * plane, a sphere or a cylinder.
5097
4744
  *
5098
4745
  * The cube and plane variants can include a UV texture mapping, so specific areas of a material
5099
4746
  * texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
5100
4747
  * `float` coordinates, one for each corner of each side of each face.
4748
+ *
4749
+ * More complex shapes require the use of a `GltfContainer` component.
5101
4750
  */
5102
4751
  /**
5103
4752
  * @public
@@ -5115,9 +4764,6 @@ export declare interface PBMeshRenderer {
5115
4764
  } | {
5116
4765
  $case: "plane";
5117
4766
  plane: PBMeshRenderer_PlaneMesh;
5118
- } | {
5119
- $case: "gltf";
5120
- gltf: PBMeshRenderer_GltfMesh;
5121
4767
  } | undefined;
5122
4768
  }
5123
4769
 
@@ -5165,25 +4811,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
5165
4811
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
5166
4812
  }
5167
4813
 
5168
- /** A mesh from a Gltf. */
5169
- /**
5170
- * @public
5171
- */
5172
- export declare interface PBMeshRenderer_GltfMesh {
5173
- /** the GLTF file path as listed in the scene's manifest. */
5174
- gltfSrc: string;
5175
- /** the name of the mesh asset */
5176
- name: string;
5177
- }
5178
-
5179
- /**
5180
- * @public
5181
- */
5182
- export declare namespace PBMeshRenderer_GltfMesh {
5183
- export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5184
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
5185
- }
5186
-
5187
4814
  /** PlaneMesh renders a 2D rectangular shape. */
5188
4815
  /**
5189
4816
  * @public
@@ -5523,39 +5150,6 @@ export declare namespace PBRealmInfo {
5523
5150
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
5524
5151
  }
5525
5152
 
5526
- /**
5527
- * defines a spotlight.
5528
- * spotlights are point lights that emit light only in a cone around the transform's forward direction.
5529
- * add this component together with the PBLight component to transform a point light into a spotlight.
5530
- * note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
5531
- * so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
5532
- * a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
5533
- * and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
5534
- */
5535
- /**
5536
- * @public
5537
- */
5538
- export declare interface PBSpotlight {
5539
- /**
5540
- * the cone radius in radians. distance away from forward in which the light is visible.
5541
- * for a torch a value around 0.15 is appropriate.
5542
- */
5543
- angle: number;
5544
- /**
5545
- * optional angle at which the light is brightest. should be <= outer angle.
5546
- * if specified, the light will fall off smoothly between `inner_angle` and `angle`.
5547
- */
5548
- innerAngle?: number | undefined;
5549
- }
5550
-
5551
- /**
5552
- * @public
5553
- */
5554
- export declare namespace PBSpotlight {
5555
- export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
5556
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
5557
- }
5558
-
5559
5153
  /**
5560
5154
  * The TextShape component renders customizable floating text.
5561
5155
  *
@@ -5636,9 +5230,6 @@ export declare interface PBTween {
5636
5230
  } | {
5637
5231
  $case: "scale";
5638
5232
  scale: Scale;
5639
- } | {
5640
- $case: "textureMove";
5641
- textureMove: TextureMove;
5642
5233
  } | undefined;
5643
5234
  /** default true (pause or running) */
5644
5235
  playing?: boolean | undefined;
@@ -5709,25 +5300,6 @@ export declare namespace PBUiBackground {
5709
5300
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
5710
5301
  }
5711
5302
 
5712
- /** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
5713
- /**
5714
- * @public
5715
- */
5716
- export declare interface PBUiCanvas {
5717
- width: number;
5718
- height: number;
5719
- /** default = (0.0, 0.0, 0.0, 0.0) / transparent */
5720
- color?: PBColor4 | undefined;
5721
- }
5722
-
5723
- /**
5724
- * @public
5725
- */
5726
- export declare namespace PBUiCanvas {
5727
- export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
5728
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
5729
- }
5730
-
5731
5303
  /** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
5732
5304
  /**
5733
5305
  * @public
@@ -5844,21 +5416,6 @@ export declare namespace PBUiInputResult {
5844
5416
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
5845
5417
  }
5846
5418
 
5847
- /**
5848
- * @public
5849
- */
5850
- export declare interface PBUiScrollResult {
5851
- value: PBVector2 | undefined;
5852
- }
5853
-
5854
- /**
5855
- * @public
5856
- */
5857
- export declare namespace PBUiScrollResult {
5858
- export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
5859
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
5860
- }
5861
-
5862
5419
  /**
5863
5420
  * @public
5864
5421
  */
@@ -5875,10 +5432,6 @@ export declare interface PBUiText {
5875
5432
  fontSize?: number | undefined;
5876
5433
  /** wrap text when the border is reached (default: TW_WRAP) */
5877
5434
  textWrap?: TextWrap | undefined;
5878
- /** width of the outline (default: 0) */
5879
- outlineWidth?: number | undefined;
5880
- /** RGBA color of the outline (default: opaque black) */
5881
- outlineColor?: PBColor4 | undefined;
5882
5435
  }
5883
5436
 
5884
5437
  /**
@@ -5975,16 +5528,6 @@ export declare interface PBUiTransform {
5975
5528
  paddingBottom: number;
5976
5529
  /** default: PointerFilterMode.PFM_NONE */
5977
5530
  pointerFilter?: PointerFilterMode | undefined;
5978
- /** default: 1 */
5979
- opacity?: number | undefined;
5980
- /** default empty */
5981
- elementId?: string | undefined;
5982
- /** default position=(0,0) */
5983
- scrollPosition?: ScrollPositionValue | undefined;
5984
- /** default ShowScrollBar.SSB_BOTH */
5985
- scrollVisible?: ShowScrollBar | undefined;
5986
- /** default 0 */
5987
- zIndex?: number | undefined;
5988
5531
  }
5989
5532
 
5990
5533
  /**
@@ -6950,7 +6493,6 @@ export declare type RaycastSystemOptions = {
6950
6493
  export declare interface ReactBasedUiSystem {
6951
6494
  destroy(): void;
6952
6495
  setUiRenderer(ui: UiComponent): void;
6953
- setTextureRenderer(entity: Entity, ui: UiComponent): void;
6954
6496
  }
6955
6497
 
6956
6498
  /**
@@ -7404,43 +6946,6 @@ export declare namespace Schemas {
7404
6946
  }) => void;
7405
6947
  }
7406
6948
 
7407
- /**
7408
- * @public
7409
- */
7410
- export declare interface ScrollPositionValue {
7411
- value?: {
7412
- $case: "position";
7413
- position: PBVector2;
7414
- } | {
7415
- $case: "reference";
7416
- reference: string;
7417
- } | undefined;
7418
- }
7419
-
7420
- /**
7421
- * @public
7422
- */
7423
- export declare namespace ScrollPositionValue {
7424
- export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
7425
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
7426
- }
7427
-
7428
- /**
7429
- * @public
7430
- * The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
7431
- */
7432
- export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
7433
-
7434
- /**
7435
- * @public
7436
- */
7437
- export declare const enum ShowScrollBar {
7438
- SSB_BOTH = 0,
7439
- SSB_ONLY_VERTICAL = 1,
7440
- SSB_ONLY_HORIZONTAL = 2,
7441
- SSB_HIDDEN = 3
7442
- }
7443
-
7444
6949
  /**
7445
6950
  * @public
7446
6951
  */
@@ -7448,9 +6953,6 @@ export declare interface Spec {
7448
6953
  [key: string]: ISchema;
7449
6954
  }
7450
6955
 
7451
- /** @public */
7452
- export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
7453
-
7454
6956
  /**
7455
6957
  * @alpha
7456
6958
  * This is going to be used for sync components through a server.
@@ -7511,9 +7013,12 @@ export declare interface Texture {
7511
7013
  wrapMode?: TextureWrapMode | undefined;
7512
7014
  /** default = FilterMode.Bilinear */
7513
7015
  filterMode?: TextureFilterMode | undefined;
7514
- /** Final uv = offset + (input_uv * tiling) */
7016
+ /**
7017
+ * Final uv = offset + (input_uv * tiling)
7018
+ * Offset for texture positioning.
7019
+ */
7515
7020
  offset?: PBVector2 | undefined;
7516
- /** default = Vector2.One; Tiling multiplier for texture repetition, only works for the texture property in PbrMaterial or UnlitMaterial. */
7021
+ /** Tiling multiplier for texture repetition. */
7517
7022
  tiling?: PBVector2 | undefined;
7518
7023
  }
7519
7024
 
@@ -7573,37 +7078,6 @@ export declare interface TextureHelper {
7573
7078
  */
7574
7079
  export declare type TextureMode = 'nine-slices' | 'center' | 'stretch';
7575
7080
 
7576
- /**
7577
- * This tween mode allows to move the texture of a PbrMaterial or UnlitMaterial.
7578
- * You can also specify the movement type (offset or tiling)
7579
- */
7580
- /**
7581
- * @public
7582
- */
7583
- export declare interface TextureMove {
7584
- start: PBVector2 | undefined;
7585
- end: PBVector2 | undefined;
7586
- /** default = TextureMovementType.TMT_OFFSET */
7587
- movementType?: TextureMovementType | undefined;
7588
- }
7589
-
7590
- /**
7591
- * @public
7592
- */
7593
- export declare namespace TextureMove {
7594
- export function encode(message: TextureMove, writer?: _m0.Writer): _m0.Writer;
7595
- export function decode(input: _m0.Reader | Uint8Array, length?: number): TextureMove;
7596
- }
7597
-
7598
- /**
7599
- * @public
7600
- */
7601
- export declare const enum TextureMovementType {
7602
- /** TMT_OFFSET - default = TextureMovementType.TMT_OFFSET */
7603
- TMT_OFFSET = 0,
7604
- TMT_TILING = 1
7605
- }
7606
-
7607
7081
  /**
7608
7082
  * @public
7609
7083
  */
@@ -7617,9 +7091,6 @@ export declare interface TextureUnion {
7617
7091
  } | {
7618
7092
  $case: "videoTexture";
7619
7093
  videoTexture: VideoTexture;
7620
- } | {
7621
- $case: "uiTexture";
7622
- uiTexture: UiCanvasTexture;
7623
7094
  } | undefined;
7624
7095
  }
7625
7096
 
@@ -7838,31 +7309,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
7838
7309
  disabled?: boolean;
7839
7310
  }
7840
7311
 
7841
- /** @public */
7842
- export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
7843
-
7844
7312
  /** @public */
7845
7313
  export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
7846
7314
 
7847
- /**
7848
- * @public
7849
- */
7850
- export declare interface UiCanvasTexture {
7851
- uiCanvasEntity: number;
7852
- /** default = TextureWrapMode.Clamp */
7853
- wrapMode?: TextureWrapMode | undefined;
7854
- /** default = FilterMode.Bilinear */
7855
- filterMode?: TextureFilterMode | undefined;
7856
- }
7857
-
7858
- /**
7859
- * @public
7860
- */
7861
- export declare namespace UiCanvasTexture {
7862
- export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
7863
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
7864
- }
7865
-
7866
7315
  /**
7867
7316
  * @public
7868
7317
  */
@@ -7932,10 +7381,6 @@ export declare interface UiLabelProps {
7932
7381
  textAlign?: TextAlignType | undefined;
7933
7382
  /** Label font type. @defaultValue 'sans-serif' */
7934
7383
  font?: UiFontType | undefined;
7935
- /** Outline width of the text. @defaultValue 0 */
7936
- outlineWidth?: number | undefined;
7937
- /** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
7938
- outlineColor?: PBColor4 | undefined;
7939
7384
  /** Behaviour when text reached. @defaultValue 'wrap' */
7940
7385
  textWrap?: UiTextWrapType | undefined;
7941
7386
  }
@@ -7945,9 +7390,6 @@ export declare interface UiLabelProps {
7945
7390
  */
7946
7391
  export declare type uint32 = number;
7947
7392
 
7948
- /** @public */
7949
- export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
7950
-
7951
7393
  /** @public */
7952
7394
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
7953
7395
 
@@ -8020,16 +7462,6 @@ export declare interface UiTransformProps {
8020
7462
  overflow?: OverflowType;
8021
7463
  /** 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) **/
8022
7464
  pointerFilter?: PointerFilterType;
8023
- /** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
8024
- opacity?: number;
8025
- /** A reference value to identify the element, default empty */
8026
- elementId?: string;
8027
- /** default position=(0,0) if it aplies, a vector or a reference-id */
8028
- scrollPosition?: PBVector2 | string;
8029
- /** default ShowScrollBar.SSB_BOTH */
8030
- scrollVisible?: ScrollVisibleType;
8031
- /** default 0 */
8032
- zIndex?: number;
8033
7465
  }
8034
7466
 
8035
7467
  /**