@dcl/playground-assets 7.7.10-13859848918.commit-407cb6b → 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.
@@ -178,32 +178,11 @@ 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
 
196
- export declare const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
197
-
198
- /**
199
- * @public
200
- */
201
- export declare interface AvatarEquippedDataComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType> {
202
- }
203
-
204
- export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
205
- forceRender?: string[] | undefined;
206
- };
184
+ /** @public */
185
+ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
207
186
 
208
187
  /** @public */
209
188
  export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
@@ -219,48 +198,8 @@ export declare const enum AvatarModifierType {
219
198
  AMT_DISABLE_PASSPORTS = 1
220
199
  }
221
200
 
222
- /**
223
- * @public
224
- */
225
- export declare interface AvatarMovementSettings {
226
- controlMode?: AvatarControlType | undefined;
227
- /** if not explicitly set, the following properties default to user's preference settings */
228
- runSpeed?: number | undefined;
229
- /** how fast the player gets up to speed or comes to rest. higher = more responsive */
230
- friction?: number | undefined;
231
- /** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
232
- gravity?: number | undefined;
233
- /** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
234
- jumpHeight?: number | undefined;
235
- /** max fall speed in m/s. should normally be negative */
236
- maxFallSpeed?: number | undefined;
237
- /** speed the player turns in tank mode, in radians/s */
238
- turnSpeed?: number | undefined;
239
- /** speed the player walks at, in m/s */
240
- walkSpeed?: number | undefined;
241
- /** 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 */
242
- allowWeightedMovement?: boolean | undefined;
243
- }
244
-
245
- /**
246
- * @public
247
- */
248
- export declare namespace AvatarMovementSettings {
249
- export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
250
- export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
251
- }
252
-
253
- export declare const AvatarShape: AvatarShapeComponentDefinitionExtended;
254
-
255
- /**
256
- * @public
257
- */
258
- export declare interface AvatarShapeComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<AvatarShapeType> {
259
- }
260
-
261
- export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
262
- forceRender?: string[] | undefined;
263
- };
201
+ /** @public */
202
+ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
264
203
 
265
204
  /**
266
205
  * @public
@@ -523,12 +462,6 @@ export declare interface ByteBuffer {
523
462
  */
524
463
  export declare type Callback = () => void;
525
464
 
526
- /** @public */
527
- export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
528
-
529
- /** @public */
530
- export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
531
-
532
465
  /** @public */
533
466
  export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
534
467
 
@@ -586,39 +519,6 @@ export declare const enum CameraType {
586
519
 
587
520
  export declare type Children = ReactEcs.JSX.ReactNode;
588
521
 
589
- /**
590
- * @public
591
- */
592
- export declare interface CinematicSettings {
593
- /** Entity that defines the cinematic camera transform. */
594
- cameraEntity: number;
595
- /**
596
- * Position -> camera's position
597
- * Rotation -> camera's direction
598
- * scale.z -> zoom level
599
- * scale.x and scale.y -> unused
600
- */
601
- allowManualRotation?: boolean | undefined;
602
- /** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
603
- yawRange?: number | undefined;
604
- /** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
605
- pitchRange?: number | undefined;
606
- /** note: cameras can never look up/down further than Vec3::Y */
607
- rollRange?: number | undefined;
608
- /** minimum zoom level. must be greater than 0. defaults to the input zoom level */
609
- zoomMin?: number | undefined;
610
- /** maximum zoom level. must be greater than 0. defaults to the input zoom level */
611
- zoomMax?: number | undefined;
612
- }
613
-
614
- /**
615
- * @public
616
- */
617
- export declare namespace CinematicSettings {
618
- export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
619
- export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
620
- }
621
-
622
522
  /** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
623
523
  /**
624
524
  * @public
@@ -1392,18 +1292,13 @@ export declare const componentDefinitionByName: {
1392
1292
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1393
1293
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1394
1294
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
1395
- "core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
1396
- "core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
1397
1295
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
1398
1296
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
1399
1297
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
1400
- "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
1401
1298
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1402
1299
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1403
- "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
1404
- "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
1405
1300
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1406
- "core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
1301
+ "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1407
1302
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
1408
1303
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
1409
1304
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -1413,24 +1308,19 @@ export declare const componentDefinitionByName: {
1413
1308
  "core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
1414
1309
  "core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
1415
1310
  "core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
1416
- "core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
1417
1311
  "core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
1418
1312
  "core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
1419
1313
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
1420
- "core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
1421
1314
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
1422
- "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
1423
1315
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
1424
1316
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
1425
1317
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
1426
1318
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
1427
- "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
1428
1319
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
1429
1320
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
1430
1321
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
1431
1322
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
1432
1323
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
1433
- "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
1434
1324
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
1435
1325
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
1436
1326
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -1707,11 +1597,6 @@ export declare function createInputSystem(engine: IEngine): IInputSystem;
1707
1597
  */
1708
1598
  export declare function createPointerEventsSystem(engine: IEngine, inputSystem: IInputSystem): PointerEventsSystem;
1709
1599
 
1710
- /**
1711
- * @public
1712
- */
1713
- export declare function createReactBasedUiSystem(engine: IEngine, pointerSystem: PointerEventsSystem): ReactBasedUiSystem;
1714
-
1715
1600
  /**
1716
1601
  * @public
1717
1602
  * @returns tween helper to be used on the scene
@@ -2001,9 +1886,6 @@ export declare type EntityComponents = {
2001
1886
  onMouseUp: Callback;
2002
1887
  onMouseEnter: Callback;
2003
1888
  onMouseLeave: Callback;
2004
- onMouseDrag: Callback;
2005
- onMouseDragLocked: Callback;
2006
- onMouseDragEnd: Callback;
2007
1889
  };
2008
1890
 
2009
1891
  /** @public */
@@ -2155,9 +2037,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
2155
2037
  direction?: PBVector3;
2156
2038
  };
2157
2039
 
2158
- /** @public */
2159
- export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
2160
-
2161
2040
  export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
2162
2041
 
2163
2042
  export declare type GlobalTargetRaycastSystemOptions = {
@@ -2170,21 +2049,6 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
2170
2049
  /** @public */
2171
2050
  export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
2172
2051
 
2173
- /** @public */
2174
- export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
2175
-
2176
- /** @public */
2177
- export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
2178
-
2179
- /**
2180
- * @public
2181
- */
2182
- export declare const enum GltfNodeStateValue {
2183
- GNSV_PENDING = 0,
2184
- GNSV_FAILED = 1,
2185
- GNSV_READY = 2
2186
- }
2187
-
2188
2052
  /**
2189
2053
  * @public
2190
2054
  */
@@ -2788,8 +2652,31 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2788
2652
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2789
2653
  }
2790
2654
 
2791
- /** @public */
2792
- 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
+ }
2793
2680
 
2794
2681
  /**
2795
2682
  * User key event Listeners
@@ -2804,12 +2691,6 @@ export declare type Listeners = {
2804
2691
  onMouseEnter?: Callback;
2805
2692
  /** triggered on mouse leave event */
2806
2693
  onMouseLeave?: Callback;
2807
- /** triggered on mouse drag event */
2808
- onMouseDrag?: Callback;
2809
- /** triggered on mouse drag event */
2810
- onMouseDragLocked?: Callback;
2811
- /** triggered on mouse drag event */
2812
- onMouseDragEnd?: Callback;
2813
2694
  };
2814
2695
 
2815
2696
  /**
@@ -3678,14 +3559,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
3678
3559
  * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
3679
3560
  */
3680
3561
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3681
- /**
3682
- * @public
3683
- * Set a gltf internal mesh in the MeshCollider component
3684
- * @param entity - entity to create or replace the MeshRenderer component
3685
- * @param source - the path to the gltf
3686
- * @param meshName - the name of the mesh in the gltf
3687
- */
3688
- setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
3689
3562
  }
3690
3563
 
3691
3564
  export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
@@ -3722,14 +3595,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
3722
3595
  * @param entity - entity to create or replace the MeshRenderer component
3723
3596
  */
3724
3597
  setSphere(entity: Entity): void;
3725
- /**
3726
- * @public
3727
- * Set a gltf internal mesh in the MeshRenderer component
3728
- * @param entity - entity to create or replace the MeshRenderer component
3729
- * @param source - the path to the gltf
3730
- * @param meshName - the name of the mesh in the gltf
3731
- */
3732
- setGltfMesh(entity: Entity, source: string, meshName: string): void;
3733
3598
  }
3734
3599
 
3735
3600
  /**
@@ -4142,25 +4007,6 @@ export declare const onVideoEvent: Observable<{
4142
4007
  totalVideoLength: number;
4143
4008
  }>;
4144
4009
 
4145
- /**
4146
- * @public
4147
- */
4148
- export declare interface Orthographic {
4149
- /**
4150
- * vertical extent of the visible range in meters
4151
- * defaults to 4m
4152
- */
4153
- verticalRange?: number | undefined;
4154
- }
4155
-
4156
- /**
4157
- * @public
4158
- */
4159
- export declare namespace Orthographic {
4160
- export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
4161
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
4162
- }
4163
-
4164
4010
  /**
4165
4011
  * @public
4166
4012
  * The overflow property controls what happens to content that is too big to fit into an area
@@ -4387,8 +4233,6 @@ export declare namespace PBAvatarEmoteCommand {
4387
4233
  export declare interface PBAvatarEquippedData {
4388
4234
  wearableUrns: string[];
4389
4235
  emoteUrns: string[];
4390
- /** slots that will render even if hidden */
4391
- forceRender: string[];
4392
4236
  }
4393
4237
 
4394
4238
  /**
@@ -4423,9 +4267,6 @@ export declare interface PBAvatarModifierArea {
4423
4267
  excludeIds: string[];
4424
4268
  /** list of modifiers to apply */
4425
4269
  modifiers: AvatarModifierType[];
4426
- movementSettings?: AvatarMovementSettings | undefined;
4427
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4428
- useColliderRange?: boolean | undefined;
4429
4270
  }
4430
4271
 
4431
4272
  /**
@@ -4482,8 +4323,6 @@ export declare interface PBAvatarShape {
4482
4323
  wearables: string[];
4483
4324
  /** available emotes (default empty) */
4484
4325
  emotes: string[];
4485
- /** slots that will render even if hidden */
4486
- forceRender: string[];
4487
4326
  }
4488
4327
 
4489
4328
  /**
@@ -4518,51 +4357,6 @@ export declare namespace PBBillboard {
4518
4357
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
4519
4358
  }
4520
4359
 
4521
- /**
4522
- * @public
4523
- */
4524
- export declare interface PBCameraLayer {
4525
- /**
4526
- * layer to which these settings apply. must be > 0
4527
- * Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
4528
- */
4529
- layer: number;
4530
- /** should the sun light affect this layer? default false */
4531
- directionalLight?: boolean | undefined;
4532
- /** should this layer show player avatars? default false */
4533
- showAvatars?: boolean | undefined;
4534
- /** should this layer show the sky? default false */
4535
- showSkybox?: boolean | undefined;
4536
- /** should this layer show distance fog? default false */
4537
- showFog?: boolean | undefined;
4538
- /** ambient light overrides for this layer. default -> use same as main camera */
4539
- ambientColorOverride?: PBColor3 | undefined;
4540
- ambientBrightnessOverride?: number | undefined;
4541
- }
4542
-
4543
- /**
4544
- * @public
4545
- */
4546
- export declare namespace PBCameraLayer {
4547
- export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
4548
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
4549
- }
4550
-
4551
- /**
4552
- * @public
4553
- */
4554
- export declare interface PBCameraLayers {
4555
- layers: number[];
4556
- }
4557
-
4558
- /**
4559
- * @public
4560
- */
4561
- export declare namespace PBCameraLayers {
4562
- export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
4563
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
4564
- }
4565
-
4566
4360
  /**
4567
4361
  * The CameraMode component can be used to determine whether the player is using a first-person o
4568
4362
  * third-person view.
@@ -4585,7 +4379,7 @@ export declare namespace PBCameraMode {
4585
4379
 
4586
4380
  /**
4587
4381
  * The CameraModeArea component can be attached to an Entity to define a region of space where
4588
- * 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.
4589
4383
  *
4590
4384
  * The Entity's Transform position determines the center-point of the region, while its size is
4591
4385
  * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
@@ -4595,8 +4389,6 @@ export declare namespace PBCameraMode {
4595
4389
  *
4596
4390
  * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
4597
4391
  * is actually a 3D volume.
4598
- *
4599
- * When mode is set to CtCinematic, the cinematic_settings field must also be provided.
4600
4392
  */
4601
4393
  /**
4602
4394
  * @public
@@ -4606,9 +4398,6 @@ export declare interface PBCameraModeArea {
4606
4398
  area: PBVector3 | undefined;
4607
4399
  /** the camera mode to enforce */
4608
4400
  mode: CameraType;
4609
- cinematicSettings?: CinematicSettings | undefined;
4610
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
4611
- useColliderRange?: boolean | undefined;
4612
4401
  }
4613
4402
 
4614
4403
  /**
@@ -4680,39 +4469,6 @@ export declare namespace PBEngineInfo {
4680
4469
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
4681
4470
  }
4682
4471
 
4683
- /**
4684
- * defines the global scene light settings. must be added to the scene root.
4685
- * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
4686
- */
4687
- /**
4688
- * @public
4689
- */
4690
- export declare interface PBGlobalLight {
4691
- /**
4692
- * the direction the directional light shines in.
4693
- * default depends on time of day and explorer implementation
4694
- */
4695
- direction?: PBVector3 | undefined;
4696
- /**
4697
- * ambient light color
4698
- * default: White
4699
- */
4700
- ambientColor?: PBColor3 | undefined;
4701
- /**
4702
- * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
4703
- * default 1
4704
- */
4705
- ambientBrightness?: number | undefined;
4706
- }
4707
-
4708
- /**
4709
- * @public
4710
- */
4711
- export declare namespace PBGlobalLight {
4712
- export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
4713
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
4714
- }
4715
-
4716
4472
  /**
4717
4473
  * GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
4718
4474
  *
@@ -4748,25 +4504,6 @@ export declare namespace PBGltfContainer {
4748
4504
  */
4749
4505
  export declare interface PBGltfContainerLoadingState {
4750
4506
  currentState: LoadingState;
4751
- /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
4752
- nodePaths: string[];
4753
- /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
4754
- meshNames: string[];
4755
- /**
4756
- * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
4757
- * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
4758
- */
4759
- materialNames: string[];
4760
- /**
4761
- * X is the material index. note this may conflict with manually named materials - to avoid any issues make
4762
- * sure all your materials are explicitly named.
4763
- */
4764
- skinNames: string[];
4765
- /**
4766
- * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
4767
- * your skins are explicitly named.
4768
- */
4769
- animationNames: string[];
4770
4507
  }
4771
4508
 
4772
4509
  /**
@@ -4777,170 +4514,122 @@ export declare namespace PBGltfContainerLoadingState {
4777
4514
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
4778
4515
  }
4779
4516
 
4780
- /**
4781
- * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
4782
- * This component must be added to a direct child of an entity with a PBGltfContainer component, or
4783
- * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
4784
- * in the parent.
4785
- * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
4786
- *
4787
- * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
4788
- * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
4789
- * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
4790
- * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
4791
- * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
4792
- *
4793
- * After creation, if an animation moves the node, the `Transform` will be updated.
4794
- *
4795
- * From the scene, you can modify various components to alter the gltf node:
4796
- * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
4797
- * regardless of any intermediate gltf node hierarchy.
4798
- * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
4799
- * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
4800
- * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
4801
- * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
4802
- * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
4803
- * 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
4804
- * PBMaterial will be maintained.
4805
- *
4806
- * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
4807
- * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
4808
- * change the state to `GNS_FAILED`.
4809
- * - deleting the scene entity will not delete the gltf node.
4810
- *
4811
- * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
4812
- * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
4813
- * the gltf node will also be displayed.
4814
- */
4815
4517
  /**
4816
4518
  * @public
4817
4519
  */
4818
- export declare interface PBGltfNode {
4819
- /** the path of the target node in the Gltf. */
4820
- path: string;
4520
+ export declare interface PBInputModifier {
4521
+ mode?: {
4522
+ $case: "standard";
4523
+ standard: PBInputModifier_StandardInput;
4524
+ } | undefined;
4821
4525
  }
4822
4526
 
4823
4527
  /**
4824
4528
  * @public
4825
4529
  */
4826
- export declare namespace PBGltfNode {
4827
- export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
4828
- 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;
4829
4533
  }
4830
4534
 
4831
- /**
4832
- * The state of a linked gltf node.
4833
- * If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
4834
- */
4535
+ /** when a boolean = false (default) the message is ignored and doesn't consume bandwidth */
4835
4536
  /**
4836
4537
  * @public
4837
4538
  */
4838
- export declare interface PBGltfNodeState {
4839
- state: GltfNodeStateValue;
4840
- 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;
4841
4546
  }
4842
4547
 
4843
4548
  /**
4844
4549
  * @public
4845
4550
  */
4846
- export declare namespace PBGltfNodeState {
4847
- export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
4848
- 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;
4849
4554
  }
4850
4555
 
4851
4556
  /**
4852
4557
  * @public
4853
4558
  */
4854
- export declare interface PBInputModifier {
4855
- mode?: {
4856
- $case: "standard";
4857
- 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;
4858
4574
  } | undefined;
4859
4575
  }
4860
4576
 
4861
4577
  /**
4862
4578
  * @public
4863
4579
  */
4864
- export declare namespace PBInputModifier {
4865
- export function encode(message: PBInputModifier, writer?: _m0.Writer): _m0.Writer;
4866
- 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;
4867
4583
  }
4868
4584
 
4869
- /** when a boolean = false (default) the message is ignored and doesn't consume bandwidth */
4870
4585
  /**
4871
4586
  * @public
4872
4587
  */
4873
- export declare interface PBInputModifier_StandardInput {
4874
- disableAll?: boolean | undefined;
4875
- disableWalk?: boolean | undefined;
4876
- disableJog?: boolean | undefined;
4877
- disableRun?: boolean | undefined;
4878
- disableJump?: boolean | undefined;
4879
- 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;
4880
4591
  }
4881
4592
 
4882
4593
  /**
4883
4594
  * @public
4884
4595
  */
4885
- export declare namespace PBInputModifier_StandardInput {
4886
- export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
4887
- 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;
4888
4599
  }
4889
4600
 
4890
4601
  /**
4891
- * defines a light source.
4892
- * the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
4893
- * a PBGlobalLight component can also be added to the root to control the directional light direction.
4894
- * point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
4602
+ * @public
4895
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
+
4896
4613
  /**
4897
4614
  * @public
4898
4615
  */
4899
- export declare interface PBLight {
4900
- /**
4901
- * whether the light is on
4902
- * default true
4903
- */
4904
- enabled?: boolean | undefined;
4905
- /**
4906
- * light brightness in lux (lumens/m^2).
4907
- *
4908
- * 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).
4909
- * the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
4910
- * for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
4911
- *
4912
- * for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
4913
- * divide lumens by ~12 (4*pi).
4914
- * e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
4915
- * a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
4916
- *
4917
- * default
4918
- * for point/spotlights: 10,000
4919
- * for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
4920
- */
4921
- illuminance?: number | undefined;
4922
- /**
4923
- * whether the light should cast shadows.
4924
- * note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
4925
- * of lights depending on the implementation, platform, and user settings.
4926
- * default
4927
- * for point/spotlights: false / off
4928
- * for global directional light: true / on
4929
- */
4930
- shadows?: boolean | undefined;
4931
- /**
4932
- * light color
4933
- * default White
4934
- */
4935
- 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;
4936
4625
  }
4937
4626
 
4938
4627
  /**
4939
4628
  * @public
4940
4629
  */
4941
- export declare namespace PBLight {
4942
- export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
4943
- 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;
4944
4633
  }
4945
4634
 
4946
4635
  /**
@@ -4974,14 +4663,6 @@ export declare interface PBMaterial {
4974
4663
  $case: "pbr";
4975
4664
  pbr: PBMaterial_PbrMaterial;
4976
4665
  } | undefined;
4977
- /**
4978
- * A gltf material that may provide additional features not supported by the PbMaterial fields.
4979
- * If both gltf and material fields are provided, the gltf will be used only for extended features not
4980
- * supported by the PbMaterial.
4981
- * If this is provided and the `material` field is not provided, the renderer will update the material
4982
- * field with data that reflects the gltf material once it is loaded.
4983
- */
4984
- gltf?: PBMaterial_GltfMaterial | undefined;
4985
4666
  }
4986
4667
 
4987
4668
  /**
@@ -4992,22 +4673,6 @@ export declare namespace PBMaterial {
4992
4673
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
4993
4674
  }
4994
4675
 
4995
- /**
4996
- * @public
4997
- */
4998
- export declare interface PBMaterial_GltfMaterial {
4999
- gltfSrc: string;
5000
- name: string;
5001
- }
5002
-
5003
- /**
5004
- * @public
5005
- */
5006
- export declare namespace PBMaterial_GltfMaterial {
5007
- export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
5008
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
5009
- }
5010
-
5011
4676
  /**
5012
4677
  * @public
5013
4678
  */
@@ -5104,9 +4769,6 @@ export declare interface PBMeshCollider {
5104
4769
  } | {
5105
4770
  $case: "plane";
5106
4771
  plane: PBMeshCollider_PlaneMesh;
5107
- } | {
5108
- $case: "gltf";
5109
- gltf: PBMeshCollider_GltfMesh;
5110
4772
  } | undefined;
5111
4773
  }
5112
4774
 
@@ -5152,25 +4814,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
5152
4814
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
5153
4815
  }
5154
4816
 
5155
- /** A collider constructed from a Gltf Mesh. */
5156
- /**
5157
- * @public
5158
- */
5159
- export declare interface PBMeshCollider_GltfMesh {
5160
- /** the GLTF file path as listed in the scene's manifest. */
5161
- gltfSrc: string;
5162
- /** the name of the mesh asset */
5163
- name: string;
5164
- }
5165
-
5166
- /**
5167
- * @public
5168
- */
5169
- export declare namespace PBMeshCollider_GltfMesh {
5170
- export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5171
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
5172
- }
5173
-
5174
4817
  /** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
5175
4818
  /**
5176
4819
  * @public
@@ -5203,11 +4846,13 @@ export declare namespace PBMeshCollider_SphereMesh {
5203
4846
 
5204
4847
  /**
5205
4848
  * The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
5206
- * plane, a sphere, a cylinder, or a Gltf mesh.
4849
+ * plane, a sphere or a cylinder.
5207
4850
  *
5208
4851
  * The cube and plane variants can include a UV texture mapping, so specific areas of a material
5209
4852
  * texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
5210
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.
5211
4856
  */
5212
4857
  /**
5213
4858
  * @public
@@ -5225,9 +4870,6 @@ export declare interface PBMeshRenderer {
5225
4870
  } | {
5226
4871
  $case: "plane";
5227
4872
  plane: PBMeshRenderer_PlaneMesh;
5228
- } | {
5229
- $case: "gltf";
5230
- gltf: PBMeshRenderer_GltfMesh;
5231
4873
  } | undefined;
5232
4874
  }
5233
4875
 
@@ -5275,25 +4917,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
5275
4917
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
5276
4918
  }
5277
4919
 
5278
- /** A mesh from a Gltf. */
5279
- /**
5280
- * @public
5281
- */
5282
- export declare interface PBMeshRenderer_GltfMesh {
5283
- /** the GLTF file path as listed in the scene's manifest. */
5284
- gltfSrc: string;
5285
- /** the name of the mesh asset */
5286
- name: string;
5287
- }
5288
-
5289
- /**
5290
- * @public
5291
- */
5292
- export declare namespace PBMeshRenderer_GltfMesh {
5293
- export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
5294
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
5295
- }
5296
-
5297
4920
  /** PlaneMesh renders a 2D rectangular shape. */
5298
4921
  /**
5299
4922
  * @public
@@ -5512,30 +5135,6 @@ export declare namespace PBPosition {
5512
5135
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPosition;
5513
5136
  }
5514
5137
 
5515
- /**
5516
- * @public
5517
- */
5518
- export declare interface PBPrimaryPointerInfo {
5519
- pointerType?: PointerType | undefined;
5520
- /** in pixels */
5521
- screenCoordinates?: PBVector2 | undefined;
5522
- /** in pixels */
5523
- screenDelta?: PBVector2 | undefined;
5524
- /**
5525
- * ray direction that can be used with the primary camera origin for
5526
- * raycasting from the cursor into the world
5527
- */
5528
- worldRayDirection?: PBVector3 | undefined;
5529
- }
5530
-
5531
- /**
5532
- * @public
5533
- */
5534
- export declare namespace PBPrimaryPointerInfo {
5535
- export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
5536
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
5537
- }
5538
-
5539
5138
  /**
5540
5139
  * @public
5541
5140
  */
@@ -5657,39 +5256,6 @@ export declare namespace PBRealmInfo {
5657
5256
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
5658
5257
  }
5659
5258
 
5660
- /**
5661
- * defines a spotlight.
5662
- * spotlights are point lights that emit light only in a cone around the transform's forward direction.
5663
- * add this component together with the PBLight component to transform a point light into a spotlight.
5664
- * note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
5665
- * so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
5666
- * a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
5667
- * and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
5668
- */
5669
- /**
5670
- * @public
5671
- */
5672
- export declare interface PBSpotlight {
5673
- /**
5674
- * the cone radius in radians. distance away from forward in which the light is visible.
5675
- * for a torch a value around 0.15 is appropriate.
5676
- */
5677
- angle: number;
5678
- /**
5679
- * optional angle at which the light is brightest. should be <= outer angle.
5680
- * if specified, the light will fall off smoothly between `inner_angle` and `angle`.
5681
- */
5682
- innerAngle?: number | undefined;
5683
- }
5684
-
5685
- /**
5686
- * @public
5687
- */
5688
- export declare namespace PBSpotlight {
5689
- export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
5690
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
5691
- }
5692
-
5693
5259
  /**
5694
5260
  * The TextShape component renders customizable floating text.
5695
5261
  *
@@ -5754,40 +5320,6 @@ export declare namespace PBTextShape {
5754
5320
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
5755
5321
  }
5756
5322
 
5757
- /**
5758
- * @public
5759
- */
5760
- export declare interface PBTextureCamera {
5761
- /** rendered texture width */
5762
- width?: number | undefined;
5763
- /** rendered texture height */
5764
- height?: number | undefined;
5765
- /**
5766
- * which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
5767
- * defaults to 0
5768
- */
5769
- layer?: number | undefined;
5770
- /** default black */
5771
- clearColor?: PBColor4 | undefined;
5772
- /** default infinity */
5773
- farPlane?: number | undefined;
5774
- mode?: {
5775
- $case: "perspective";
5776
- perspective: Perspective;
5777
- } | {
5778
- $case: "orthographic";
5779
- orthographic: Orthographic;
5780
- } | undefined;
5781
- }
5782
-
5783
- /**
5784
- * @public
5785
- */
5786
- export declare namespace PBTextureCamera {
5787
- export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
5788
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
5789
- }
5790
-
5791
5323
  /**
5792
5324
  * @public
5793
5325
  */
@@ -5877,25 +5409,6 @@ export declare namespace PBUiBackground {
5877
5409
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
5878
5410
  }
5879
5411
 
5880
- /** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
5881
- /**
5882
- * @public
5883
- */
5884
- export declare interface PBUiCanvas {
5885
- width: number;
5886
- height: number;
5887
- /** default = (0.0, 0.0, 0.0, 0.0) / transparent */
5888
- color?: PBColor4 | undefined;
5889
- }
5890
-
5891
- /**
5892
- * @public
5893
- */
5894
- export declare namespace PBUiCanvas {
5895
- export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
5896
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
5897
- }
5898
-
5899
5412
  /** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
5900
5413
  /**
5901
5414
  * @public
@@ -6012,21 +5525,6 @@ export declare namespace PBUiInputResult {
6012
5525
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
6013
5526
  }
6014
5527
 
6015
- /**
6016
- * @public
6017
- */
6018
- export declare interface PBUiScrollResult {
6019
- value: PBVector2 | undefined;
6020
- }
6021
-
6022
- /**
6023
- * @public
6024
- */
6025
- export declare namespace PBUiScrollResult {
6026
- export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
6027
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
6028
- }
6029
-
6030
5528
  /**
6031
5529
  * @public
6032
5530
  */
@@ -6043,10 +5541,6 @@ export declare interface PBUiText {
6043
5541
  fontSize?: number | undefined;
6044
5542
  /** wrap text when the border is reached (default: TW_WRAP) */
6045
5543
  textWrap?: TextWrap | undefined;
6046
- /** width of the outline (default: 0) */
6047
- outlineWidth?: number | undefined;
6048
- /** RGBA color of the outline (default: opaque black) */
6049
- outlineColor?: PBColor4 | undefined;
6050
5544
  }
6051
5545
 
6052
5546
  /**
@@ -6143,16 +5637,6 @@ export declare interface PBUiTransform {
6143
5637
  paddingBottom: number;
6144
5638
  /** default: PointerFilterMode.PFM_NONE */
6145
5639
  pointerFilter?: PointerFilterMode | undefined;
6146
- /** default: 1 */
6147
- opacity?: number | undefined;
6148
- /** default empty */
6149
- elementId?: string | undefined;
6150
- /** default position=(0,0) */
6151
- scrollPosition?: ScrollPositionValue | undefined;
6152
- /** default ShowScrollBar.SSB_BOTH */
6153
- scrollVisible?: ShowScrollBar | undefined;
6154
- /** default 0 */
6155
- zIndex?: number | undefined;
6156
5640
  }
6157
5641
 
6158
5642
  /**
@@ -6249,6 +5733,7 @@ export declare namespace PBVideoPlayer {
6249
5733
  * an 'instant' transition (like using speed/time = 0)
6250
5734
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6251
5735
  * the holding entity transform).
5736
+ * * The fov defines the Field of View of the virtual camera
6252
5737
  */
6253
5738
  /**
6254
5739
  * @public
@@ -6256,6 +5741,8 @@ export declare namespace PBVideoPlayer {
6256
5741
  export declare interface PBVirtualCamera {
6257
5742
  defaultTransition?: CameraTransition | undefined;
6258
5743
  lookAtEntity?: number | undefined;
5744
+ /** default: 60 */
5745
+ fov?: number | undefined;
6259
5746
  }
6260
5747
 
6261
5748
  /**
@@ -6282,25 +5769,6 @@ export declare namespace PBVisibilityComponent {
6282
5769
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
6283
5770
  }
6284
5771
 
6285
- /**
6286
- * @public
6287
- */
6288
- export declare interface Perspective {
6289
- /**
6290
- * vertical field of view in radians
6291
- * defaults to pi/4 = 45 degrees
6292
- */
6293
- fieldOfView?: number | undefined;
6294
- }
6295
-
6296
- /**
6297
- * @public
6298
- */
6299
- export declare namespace Perspective {
6300
- export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
6301
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
6302
- }
6303
-
6304
5772
  /**
6305
5773
  * Represens a plane by the equation ax + by + cz + d = 0
6306
5774
  * @public
@@ -6456,24 +5924,6 @@ export declare interface PointerEventsSystem {
6456
5924
  * @param entity - Entity where the callback was attached
6457
5925
  */
6458
5926
  removeOnPointerHoverLeave(entity: Entity): void;
6459
- /**
6460
- * @public
6461
- * Remove the callback for onPointerDrag event
6462
- * @param entity - Entity where the callback was attached
6463
- */
6464
- removeOnPointerDrag(entity: Entity): void;
6465
- /**
6466
- * @public
6467
- * Remove the callback for onPointerDragLocked event
6468
- * @param entity - Entity where the callback was attached
6469
- */
6470
- removeOnPointerDragLocked(entity: Entity): void;
6471
- /**
6472
- * @public
6473
- * Remove the callback for onPointerDragEnd event
6474
- * @param entity - Entity where the callback was attached
6475
- */
6476
- removeOnPointerDragEnd(entity: Entity): void;
6477
5927
  /**
6478
5928
  * @public
6479
5929
  * Execute callback when the user press the InputButton pointing at the entity
@@ -6528,37 +5978,6 @@ export declare interface PointerEventsSystem {
6528
5978
  entity: Entity;
6529
5979
  opts?: Partial<EventSystemOptions>;
6530
5980
  }, cb: EventSystemCallback): void;
6531
- /**
6532
- * @public
6533
- * Execute callback when the user clicks and drags the pointer from inside the entity
6534
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6535
- * @param cb - Function to execute when click fires
6536
- */
6537
- onPointerDrag(pointerData: {
6538
- entity: Entity;
6539
- opts?: Partial<EventSystemOptions>;
6540
- }, cb: EventSystemCallback): void;
6541
- /**
6542
- * @public
6543
- * Execute callback when the user clicks and drags the pointer from inside the entity,
6544
- * locking the cursor in place
6545
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6546
- * @param cb - Function to execute when click fires
6547
- */
6548
- onPointerDragLocked(pointerData: {
6549
- entity: Entity;
6550
- opts?: Partial<EventSystemOptions>;
6551
- }, cb: EventSystemCallback): void;
6552
- /**
6553
- * @public
6554
- * Execute callback when the user releases the button after a drag
6555
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
6556
- * @param cb - Function to execute when click fires
6557
- */
6558
- onPointerDragEnd(pointerData: {
6559
- entity: Entity;
6560
- opts?: Partial<EventSystemOptions>;
6561
- }, cb: EventSystemCallback): void;
6562
5981
  }
6563
5982
 
6564
5983
  /**
@@ -6575,10 +5994,7 @@ export declare const enum PointerEventType {
6575
5994
  PET_UP = 0,
6576
5995
  PET_DOWN = 1,
6577
5996
  PET_HOVER_ENTER = 2,
6578
- PET_HOVER_LEAVE = 3,
6579
- PET_DRAG_LOCKED = 4,
6580
- PET_DRAG = 5,
6581
- PET_DRAG_END = 6
5997
+ PET_HOVER_LEAVE = 3
6582
5998
  }
6583
5999
 
6584
6000
  /**
@@ -6598,17 +6014,6 @@ export declare type PointerFilterType = 'none' | 'block';
6598
6014
  /** @public */
6599
6015
  export declare const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
6600
6016
 
6601
- /**
6602
- * @public
6603
- */
6604
- export declare const enum PointerType {
6605
- POT_NONE = 0,
6606
- POT_MOUSE = 1,
6607
- POT_PAD = 2,
6608
- POT_TOUCH = 3,
6609
- POT_WAND = 4
6610
- }
6611
-
6612
6017
  /**
6613
6018
  * Type used for defining the position of the element. i.e. margin, padding
6614
6019
  * @public
@@ -6646,9 +6051,6 @@ export declare type PositionType = 'absolute' | 'relative';
6646
6051
  */
6647
6052
  export declare type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
6648
6053
 
6649
- /** @public */
6650
- export declare const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
6651
-
6652
6054
  export declare enum ProcessMessageResultType {
6653
6055
  /**
6654
6056
  * Typical message and new state set.
@@ -7203,7 +6605,6 @@ export declare type RaycastSystemOptions = {
7203
6605
  export declare interface ReactBasedUiSystem {
7204
6606
  destroy(): void;
7205
6607
  setUiRenderer(ui: UiComponent): void;
7206
- setTextureRenderer(entity: Entity, ui: UiComponent): void;
7207
6608
  }
7208
6609
 
7209
6610
  /**
@@ -7657,43 +7058,6 @@ export declare namespace Schemas {
7657
7058
  }) => void;
7658
7059
  }
7659
7060
 
7660
- /**
7661
- * @public
7662
- */
7663
- export declare interface ScrollPositionValue {
7664
- value?: {
7665
- $case: "position";
7666
- position: PBVector2;
7667
- } | {
7668
- $case: "reference";
7669
- reference: string;
7670
- } | undefined;
7671
- }
7672
-
7673
- /**
7674
- * @public
7675
- */
7676
- export declare namespace ScrollPositionValue {
7677
- export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
7678
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
7679
- }
7680
-
7681
- /**
7682
- * @public
7683
- * The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
7684
- */
7685
- export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
7686
-
7687
- /**
7688
- * @public
7689
- */
7690
- export declare const enum ShowScrollBar {
7691
- SSB_BOTH = 0,
7692
- SSB_ONLY_VERTICAL = 1,
7693
- SSB_ONLY_HORIZONTAL = 2,
7694
- SSB_HIDDEN = 3
7695
- }
7696
-
7697
7061
  /**
7698
7062
  * @public
7699
7063
  */
@@ -7701,9 +7065,6 @@ export declare interface Spec {
7701
7065
  [key: string]: ISchema;
7702
7066
  }
7703
7067
 
7704
- /** @public */
7705
- export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
7706
-
7707
7068
  /**
7708
7069
  * @alpha
7709
7070
  * This is going to be used for sync components through a server.
@@ -7778,9 +7139,6 @@ export declare namespace Texture {
7778
7139
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
7779
7140
  }
7780
7141
 
7781
- /** @public */
7782
- export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
7783
-
7784
7142
  /**
7785
7143
  * @public
7786
7144
  */
@@ -7873,9 +7231,6 @@ export declare interface TextureUnion {
7873
7231
  } | {
7874
7232
  $case: "videoTexture";
7875
7233
  videoTexture: VideoTexture;
7876
- } | {
7877
- $case: "uiTexture";
7878
- uiTexture: UiCanvasTexture;
7879
7234
  } | undefined;
7880
7235
  }
7881
7236
 
@@ -8083,8 +7438,6 @@ export declare interface UiBackgroundProps {
8083
7438
  uvs?: number[];
8084
7439
  /** AvatarTexture for the background */
8085
7440
  avatarTexture?: UiAvatarTexture;
8086
- /** VideoTexture for the background */
8087
- videoTexture?: UiVideoTexture;
8088
7441
  /** Texture for the background */
8089
7442
  texture?: UiTexture;
8090
7443
  }
@@ -8104,31 +7457,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
8104
7457
  disabled?: boolean;
8105
7458
  }
8106
7459
 
8107
- /** @public */
8108
- export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
8109
-
8110
7460
  /** @public */
8111
7461
  export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
8112
7462
 
8113
- /**
8114
- * @public
8115
- */
8116
- export declare interface UiCanvasTexture {
8117
- uiCanvasEntity: number;
8118
- /** default = TextureWrapMode.Clamp */
8119
- wrapMode?: TextureWrapMode | undefined;
8120
- /** default = FilterMode.Bilinear */
8121
- filterMode?: TextureFilterMode | undefined;
8122
- }
8123
-
8124
- /**
8125
- * @public
8126
- */
8127
- export declare namespace UiCanvasTexture {
8128
- export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
8129
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
8130
- }
8131
-
8132
7463
  /**
8133
7464
  * @public
8134
7465
  */
@@ -8198,10 +7529,6 @@ export declare interface UiLabelProps {
8198
7529
  textAlign?: TextAlignType | undefined;
8199
7530
  /** Label font type. @defaultValue 'sans-serif' */
8200
7531
  font?: UiFontType | undefined;
8201
- /** Outline width of the text. @defaultValue 0 */
8202
- outlineWidth?: number | undefined;
8203
- /** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
8204
- outlineColor?: PBColor4 | undefined;
8205
7532
  /** Behaviour when text reached. @defaultValue 'wrap' */
8206
7533
  textWrap?: UiTextWrapType | undefined;
8207
7534
  }
@@ -8211,9 +7538,6 @@ export declare interface UiLabelProps {
8211
7538
  */
8212
7539
  export declare type uint32 = number;
8213
7540
 
8214
- /** @public */
8215
- export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
8216
-
8217
7541
  /** @public */
8218
7542
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
8219
7543
 
@@ -8286,26 +7610,6 @@ export declare interface UiTransformProps {
8286
7610
  overflow?: OverflowType;
8287
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) **/
8288
7612
  pointerFilter?: PointerFilterType;
8289
- /** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
8290
- opacity?: number;
8291
- /** A reference value to identify the element, default empty */
8292
- elementId?: string;
8293
- /** default position=(0,0) if it aplies, a vector or a reference-id */
8294
- scrollPosition?: PBVector2 | string;
8295
- /** default ShowScrollBar.SSB_BOTH */
8296
- scrollVisible?: ScrollVisibleType;
8297
- /** default 0 */
8298
- zIndex?: number;
8299
- }
8300
-
8301
- /**
8302
- * Texture
8303
- * @public
8304
- */
8305
- export declare interface UiVideoTexture {
8306
- videoPlayerEntity: Entity;
8307
- wrapMode?: TextureWrapType;
8308
- filterMode?: TextureFilterType;
8309
7613
  }
8310
7614
 
8311
7615
  /**