@dcl/playground-assets 7.27.1-33674365269.commit-d8b9341 → 7.27.1-33752500148.commit-5ae3ef7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/beta.d.ts CHANGED
@@ -279,39 +279,6 @@ export declare const enum AvatarAnchorPointType {
279
279
  AAPT_RIGHT_TOE_BASE = 25
280
280
  }
281
281
 
282
- /**
283
- * Mirror of the scene-driven movement animation currently playing, reported by the engine.
284
- * Readable by any scene (not just the controller) so niche effects (e.g. dust cloud on landing) can react.
285
- * Active emotes are not represented here — scenes already have their own way to read them.
286
- */
287
- /**
288
- * @public
289
- */
290
- export declare interface AvatarAnimationState {
291
- /** same scene-relative path the controlling scene supplied */
292
- src: string;
293
- /** mirrors the request */
294
- loop: boolean;
295
- /** mirrors the request */
296
- speed: number;
297
- /** mirrors the request */
298
- idle: boolean;
299
- /** seconds into the clip; wraps on loop; frozen while an emote override is playing */
300
- playbackTime: number;
301
- /** total clip length in seconds */
302
- duration: number;
303
- /** how many times the clip has completed since it started */
304
- loopCount: number;
305
- }
306
-
307
- /**
308
- * @public
309
- */
310
- export declare namespace AvatarAnimationState {
311
- export function encode(message: AvatarAnimationState, writer?: _m0.Writer): _m0.Writer;
312
- export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarAnimationState;
313
- }
314
-
315
282
  /** @public */
316
283
  export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
317
284
 
@@ -321,21 +288,8 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
321
288
  /** @public */
322
289
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
323
290
 
324
- export declare const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
325
-
326
- /**
327
- * @public
328
- */
329
- export declare type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
330
-
331
- /**
332
- * @public
333
- * AvatarEquippedData with `forceRender` optional: the wire type is a repeated field (always present, so the
334
- * generated type requires it), but a scene rarely needs it and shouldn't have to pass `[]`.
335
- */
336
- export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
337
- forceRender?: string[] | undefined;
338
- };
291
+ /** @public */
292
+ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
339
293
 
340
294
  /** @public */
341
295
  export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
@@ -365,26 +319,7 @@ export declare const enum AvatarModifierType {
365
319
  }
366
320
 
367
321
  /** @public */
368
- export declare const AvatarMovement: LastWriteWinElementSetComponentDefinition<PBAvatarMovement>;
369
-
370
- /** @public */
371
- export declare const AvatarMovementInfo: LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>;
372
-
373
- export declare const AvatarShape: AvatarShapeComponentDefinitionExtended;
374
-
375
- /**
376
- * @public
377
- */
378
- export declare type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
379
-
380
- /**
381
- * @public
382
- * AvatarShape with `forceRender` optional: the wire type is a repeated field (always present, so the
383
- * generated type requires it), but a scene rarely needs it and shouldn't have to pass `[]`.
384
- */
385
- export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
386
- forceRender?: string[] | undefined;
387
- };
322
+ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
388
323
 
389
324
  /**
390
325
  * @public
@@ -653,17 +588,10 @@ export declare interface ByteBuffer {
653
588
  }
654
589
 
655
590
  /**
656
- * Callback function to be triggered on a specified event. Receives the pointer event that
657
- * fired it (button, hit, and for drags the pointer delta), which handlers may ignore.
591
+ * Callback function to be triggered on a specified event
658
592
  * @public
659
593
  */
660
- export declare type Callback = (event: PBPointerEventsResult) => void;
661
-
662
- /** @public */
663
- export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
664
-
665
- /** @public */
666
- export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
594
+ export declare type Callback = () => void;
667
595
 
668
596
  /** @public */
669
597
  export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
@@ -1516,22 +1444,15 @@ export declare const componentDefinitionByName: {
1516
1444
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
1517
1445
  "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
1518
1446
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1519
- "core::AvatarMovement": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovement>>;
1520
- "core::AvatarMovementInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarMovementInfo>>;
1521
1447
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1522
1448
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
1523
- "core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
1524
- "core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
1525
1449
  "core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
1526
1450
  "core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
1527
1451
  "core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
1528
1452
  "core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
1529
- "core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
1530
1453
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1531
1454
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1532
- "core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
1533
1455
  "core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
1534
- "core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
1535
1456
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1536
1457
  "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1537
1458
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
@@ -1552,7 +1473,6 @@ export declare const componentDefinitionByName: {
1552
1473
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
1553
1474
  "core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
1554
1475
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
1555
- "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
1556
1476
  "core::TouchScreenControls": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>>;
1557
1477
  "core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
1558
1478
  "core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
@@ -1560,14 +1480,12 @@ export declare const componentDefinitionByName: {
1560
1480
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
1561
1481
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
1562
1482
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
1563
- "core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
1564
1483
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
1565
1484
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
1566
1485
  "core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
1567
1486
  "core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
1568
1487
  "core::UiInputBinding": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputBinding>>;
1569
1488
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
1570
- "core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
1571
1489
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
1572
1490
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
1573
1491
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
@@ -2187,9 +2105,6 @@ export declare type EntityComponents = {
2187
2105
  onMouseUp: Callback;
2188
2106
  onMouseEnter: Callback;
2189
2107
  onMouseLeave: Callback;
2190
- onMouseDrag: Callback;
2191
- onMouseDragLocked: Callback;
2192
- onMouseDragEnd: Callback;
2193
2108
  };
2194
2109
 
2195
2110
  /** @public */
@@ -2267,8 +2182,10 @@ export declare type EventSystemOptions = {
2267
2182
  maxDistance?: number;
2268
2183
  showFeedback?: boolean;
2269
2184
  showHighlight?: boolean;
2185
+ /** @deprecated use `maxDistance` instead (same semantics: distance from the player) */
2270
2186
  maxPlayerDistance?: number;
2271
2187
  priority?: number;
2188
+ maxCameraDistance?: number;
2272
2189
  };
2273
2190
 
2274
2191
  /**
@@ -2542,9 +2459,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
2542
2459
  direction?: PBVector3;
2543
2460
  };
2544
2461
 
2545
- /** @public */
2546
- export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
2547
-
2548
2462
  export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
2549
2463
 
2550
2464
  export declare type GlobalTargetRaycastSystemOptions = {
@@ -2557,24 +2471,9 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
2557
2471
  /** @public */
2558
2472
  export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
2559
2473
 
2560
- /** @public */
2561
- export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
2562
-
2563
2474
  /** @public */
2564
2475
  export declare const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
2565
2476
 
2566
- /** @public */
2567
- export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
2568
-
2569
- /**
2570
- * @public
2571
- */
2572
- export declare const enum GltfNodeStateValue {
2573
- GNSV_PENDING = 0,
2574
- GNSV_FAILED = 1,
2575
- GNSV_READY = 2
2576
- }
2577
-
2578
2477
  /**
2579
2478
  * @public
2580
2479
  */
@@ -3274,12 +3173,6 @@ export declare type Listeners = {
3274
3173
  onMouseEnter?: Callback;
3275
3174
  /** triggered on mouse leave event */
3276
3175
  onMouseLeave?: Callback;
3277
- /** triggered while the pointer is dragged after pressing on the element */
3278
- onMouseDrag?: Callback;
3279
- /** triggered while the pointer is dragged with the cursor locked in place */
3280
- onMouseDragLocked?: Callback;
3281
- /** triggered when a drag that started on the element ends */
3282
- onMouseDragEnd?: Callback;
3283
3176
  };
3284
3177
 
3285
3178
  /**
@@ -4184,15 +4077,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
4184
4077
  * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
4185
4078
  */
4186
4079
  setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
4187
- /**
4188
- * @public
4189
- * Set a mesh from inside a gltf in the MeshCollider component
4190
- * @param entity - entity to create or replace the MeshCollider component
4191
- * @param source - the path to the gltf
4192
- * @param meshName - the name of the mesh in the gltf (see GltfContainerLoadingState.meshNames)
4193
- * @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
4194
- */
4195
- setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
4196
4080
  }
4197
4081
 
4198
4082
  export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
@@ -4229,14 +4113,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
4229
4113
  * @param entity - entity to create or replace the MeshRenderer component
4230
4114
  */
4231
4115
  setSphere(entity: Entity): void;
4232
- /**
4233
- * @public
4234
- * Set a mesh from inside a gltf in the MeshRenderer component
4235
- * @param entity - entity to create or replace the MeshRenderer component
4236
- * @param source - the path to the gltf
4237
- * @param meshName - the name of the mesh in the gltf (see GltfContainerLoadingState.meshNames)
4238
- */
4239
- setGltfMesh(entity: Entity, source: string, meshName: string): void;
4240
4116
  }
4241
4117
 
4242
4118
  /* Excluded from this release type: MessageBus */
@@ -4274,39 +4150,6 @@ export declare namespace MoveContinuous {
4274
4150
  export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveContinuous;
4275
4151
  }
4276
4152
 
4277
- /**
4278
- * Describes the animation the movement scene wants the avatar to play.
4279
- * One GLB = one clip (following the scene-emote convention: single clip, or a clip named with `_Avatar` suffix).
4280
- * When absent the engine falls back to its built-in velocity-based selection (walk/run/jump/idle).
4281
- */
4282
- /**
4283
- * @public
4284
- */
4285
- export declare interface MovementAnimation {
4286
- /** scene-relative path to the gltf/glb asset (resolved via the scene content map) */
4287
- src: string;
4288
- /** whether the clip repeats once it reaches the end */
4289
- loop: boolean;
4290
- /** playback speed multiplier (1.0 = clip's native rate) */
4291
- speed: number;
4292
- /** true: a triggerSceneEmote may take over; false: emotes are suppressed while this animation plays */
4293
- idle: boolean;
4294
- /** cross-fade duration when `src` changes; defaults to 0.2 when unset. Not applied to loop/speed/idle changes. */
4295
- transitionSeconds?: number | undefined;
4296
- /** if set, the engine seeks to this position (in seconds) this frame. Clear on subsequent frames to allow normal playback. The scene can read `AvatarAnimationState.playback_time` first to decide. */
4297
- playbackTime?: number | undefined;
4298
- /** scene-relative paths to audio clips (.mp3/.ogg) to play this frame on the avatar audio bus. Fire-and-forget: each listed clip plays once per frame it appears; leaving a clip set for multiple frames re-triggers it. No stop mechanism. Use `AvatarAnimationState.playback_time` to trigger sounds at the right point in the clip (e.g. foot plants). */
4299
- sounds: string[];
4300
- }
4301
-
4302
- /**
4303
- * @public
4304
- */
4305
- export declare namespace MovementAnimation {
4306
- export function encode(message: MovementAnimation, writer?: _m0.Writer): _m0.Writer;
4307
- export function decode(input: _m0.Reader | Uint8Array, length?: number): MovementAnimation;
4308
- }
4309
-
4310
4153
  /**
4311
4154
  * @public
4312
4155
  */
@@ -4722,25 +4565,6 @@ export declare const onVideoEvent: Observable<{
4722
4565
  totalVideoLength: number;
4723
4566
  }>;
4724
4567
 
4725
- /**
4726
- * @public
4727
- */
4728
- export declare interface Orthographic {
4729
- /**
4730
- * vertical extent of the visible range in meters
4731
- * defaults to 4m
4732
- */
4733
- verticalRange?: number | undefined;
4734
- }
4735
-
4736
- /**
4737
- * @public
4738
- */
4739
- export declare namespace Orthographic {
4740
- export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
4741
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
4742
- }
4743
-
4744
4568
  /**
4745
4569
  * @public
4746
4570
  * The overflow property controls what happens to content that is too big to fit into an area
@@ -5088,8 +4912,6 @@ export declare namespace PBAvatarEmoteCommand {
5088
4912
  export declare interface PBAvatarEquippedData {
5089
4913
  wearableUrns: string[];
5090
4914
  emoteUrns: string[];
5091
- /** slots that will render even if hidden */
5092
- forceRender: string[];
5093
4915
  }
5094
4916
 
5095
4917
  /**
@@ -5160,8 +4982,6 @@ export declare interface PBAvatarModifierArea {
5160
4982
  excludeIds: string[];
5161
4983
  /** list of modifiers to apply */
5162
4984
  modifiers: AvatarModifierType[];
5163
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
5164
- useColliderRange?: boolean | undefined;
5165
4985
  }
5166
4986
 
5167
4987
  /**
@@ -5172,64 +4992,6 @@ export declare namespace PBAvatarModifierArea {
5172
4992
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarModifierArea;
5173
4993
  }
5174
4994
 
5175
- /**
5176
- * @public
5177
- */
5178
- export declare interface PBAvatarMovement {
5179
- velocity: PBVector3 | undefined;
5180
- /** 0-360, yaw only; this is the authoritative facing (other clients read it, and physics treats the avatar as upright). Lean is expressed separately via tilt_pitch/tilt_roll. */
5181
- orientation: number;
5182
- groundDirection?: PBVector3 | undefined;
5183
- /** set for one frame when a walk_target ends: true = reached target, false = failed; absent = in progress or no walk */
5184
- walkSuccess?: boolean | undefined;
5185
- /** if set, the engine plays this animation instead of selecting one from velocity heuristics */
5186
- animation?: MovementAnimation | undefined;
5187
- /** render-only forward/back lean in degrees, applied on top of `orientation` (rotation about the avatar's local X axis). Does not affect the physics capsule (stays upright) or the facing other clients read. Defaults to 0. */
5188
- tiltPitch?: number | undefined;
5189
- /** render-only sideways lean in degrees, applied on top of `orientation` (rotation about the avatar's local Z axis). Same constraints as tilt_pitch. Useful e.g. for glider banking. Defaults to 0. */
5190
- tiltRoll?: number | undefined;
5191
- }
5192
-
5193
- /**
5194
- * @public
5195
- */
5196
- export declare namespace PBAvatarMovement {
5197
- export function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
5198
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
5199
- }
5200
-
5201
- /**
5202
- * @public
5203
- */
5204
- export declare interface PBAvatarMovementInfo {
5205
- /** the length of time the current step velocity will apply for */
5206
- stepTime: number;
5207
- /** the length of time the previous step velocity applied for */
5208
- previousStepTime: number;
5209
- /** the velocity requested for the previous frame */
5210
- requestedVelocity: PBVector3 | undefined;
5211
- /** the resulting velocity taking collisions into account */
5212
- actualVelocity: PBVector3 | undefined;
5213
- /** the velocity imparted by movement of the "ground" platform or pushing from other moving colliders */
5214
- externalVelocity: PBVector3 | undefined;
5215
- activeAvatarLocomotionSettings: PBAvatarLocomotionSettings | undefined;
5216
- activeInputModifier: PBInputModifier | undefined;
5217
- /** if set, the movement scene should walk the player to this scene-relative position */
5218
- walkTarget?: PBVector3 | undefined;
5219
- /** stop distance for walk_target; considered reached when within this distance */
5220
- walkThreshold?: number | undefined;
5221
- /** current state of a scene-driven movement animation. Absent when the engine is using its velocity-based fallback. `playback_time` freezes while a triggerSceneEmote is overriding the animation. */
5222
- activeAnimationState?: AvatarAnimationState | undefined;
5223
- }
5224
-
5225
- /**
5226
- * @public
5227
- */
5228
- export declare namespace PBAvatarMovementInfo {
5229
- export function encode(message: PBAvatarMovementInfo, writer?: _m0.Writer): _m0.Writer;
5230
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovementInfo;
5231
- }
5232
-
5233
4995
  /**
5234
4996
  * The AvatarShape component contains the information required to draw and animate avatar, acting as
5235
4997
  * a simplified GLTF container for this specific case.
@@ -5278,8 +5040,6 @@ export declare interface PBAvatarShape {
5278
5040
  emotes: string[];
5279
5041
  /** hides the skin + hair + facial features (default: false) */
5280
5042
  showOnlyWearables?: boolean | undefined;
5281
- /** slots that will render even if hidden */
5282
- forceRender: string[];
5283
5043
  }
5284
5044
 
5285
5045
  /**
@@ -5321,51 +5081,6 @@ export declare namespace PBBillboard {
5321
5081
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
5322
5082
  }
5323
5083
 
5324
- /**
5325
- * @public
5326
- */
5327
- export declare interface PBCameraLayer {
5328
- /**
5329
- * layer to which these settings apply. must be > 0
5330
- * Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
5331
- */
5332
- layer: number;
5333
- /** should the sun light affect this layer? default false */
5334
- directionalLight?: boolean | undefined;
5335
- /** should this layer show player avatars? default false */
5336
- showAvatars?: boolean | undefined;
5337
- /** should this layer show the sky? default false */
5338
- showSkybox?: boolean | undefined;
5339
- /** should this layer show distance fog? default false */
5340
- showFog?: boolean | undefined;
5341
- /** ambient light overrides for this layer. default -> use same as main camera */
5342
- ambientColorOverride?: PBColor3 | undefined;
5343
- ambientBrightnessOverride?: number | undefined;
5344
- }
5345
-
5346
- /**
5347
- * @public
5348
- */
5349
- export declare namespace PBCameraLayer {
5350
- export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
5351
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
5352
- }
5353
-
5354
- /**
5355
- * @public
5356
- */
5357
- export declare interface PBCameraLayers {
5358
- layers: number[];
5359
- }
5360
-
5361
- /**
5362
- * @public
5363
- */
5364
- export declare namespace PBCameraLayers {
5365
- export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
5366
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
5367
- }
5368
-
5369
5084
  /**
5370
5085
  * The CameraMode component can be used to determine whether the player is using a first-person o
5371
5086
  * third-person view.
@@ -5407,8 +5122,6 @@ export declare interface PBCameraModeArea {
5407
5122
  area: PBVector3 | undefined;
5408
5123
  /** the camera mode to enforce */
5409
5124
  mode: CameraType;
5410
- /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
5411
- useColliderRange?: boolean | undefined;
5412
5125
  }
5413
5126
 
5414
5127
  /**
@@ -5542,39 +5255,6 @@ export declare namespace PBExplorerUiEventsResult_UiOpened {
5542
5255
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiOpened;
5543
5256
  }
5544
5257
 
5545
- /**
5546
- * defines the global scene light settings. must be added to the scene root.
5547
- * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
5548
- */
5549
- /**
5550
- * @public
5551
- */
5552
- export declare interface PBGlobalLight {
5553
- /**
5554
- * the direction the directional light shines in.
5555
- * default depends on time of day and explorer implementation
5556
- */
5557
- direction?: PBVector3 | undefined;
5558
- /**
5559
- * ambient light color
5560
- * default: White
5561
- */
5562
- ambientColor?: PBColor3 | undefined;
5563
- /**
5564
- * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
5565
- * default 1
5566
- */
5567
- ambientBrightness?: number | undefined;
5568
- }
5569
-
5570
- /**
5571
- * @public
5572
- */
5573
- export declare namespace PBGlobalLight {
5574
- export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
5575
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
5576
- }
5577
-
5578
5258
  /**
5579
5259
  * GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
5580
5260
  *
@@ -5610,25 +5290,6 @@ export declare namespace PBGltfContainer {
5610
5290
  */
5611
5291
  export declare interface PBGltfContainerLoadingState {
5612
5292
  currentState: LoadingState;
5613
- /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
5614
- nodePaths: string[];
5615
- /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
5616
- meshNames: string[];
5617
- /**
5618
- * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
5619
- * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
5620
- */
5621
- materialNames: string[];
5622
- /**
5623
- * X is the material index. note this may conflict with manually named materials - to avoid any issues make
5624
- * sure all your materials are explicitly named.
5625
- */
5626
- skinNames: string[];
5627
- /**
5628
- * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
5629
- * your skins are explicitly named.
5630
- */
5631
- animationNames: string[];
5632
5293
  }
5633
5294
 
5634
5295
  /**
@@ -5639,57 +5300,6 @@ export declare namespace PBGltfContainerLoadingState {
5639
5300
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
5640
5301
  }
5641
5302
 
5642
- /**
5643
- * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
5644
- * This component must be added to a direct child of an entity with a PBGltfContainer component, or
5645
- * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
5646
- * in the parent.
5647
- * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
5648
- *
5649
- * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
5650
- * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
5651
- * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
5652
- * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
5653
- * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
5654
- *
5655
- * After creation, if an animation moves the node, the `Transform` will be updated.
5656
- *
5657
- * From the scene, you can modify various components to alter the gltf node:
5658
- * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
5659
- * regardless of any intermediate gltf node hierarchy.
5660
- * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
5661
- * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
5662
- * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
5663
- * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
5664
- * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
5665
- * 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
5666
- * PBMaterial will be maintained.
5667
- *
5668
- * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
5669
- * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
5670
- * change the state to `GNS_FAILED`.
5671
- * - deleting the scene entity will not delete the gltf node.
5672
- *
5673
- * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
5674
- * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
5675
- * the gltf node will also be displayed.
5676
- */
5677
- /**
5678
- * @public
5679
- */
5680
- export declare interface PBGltfNode {
5681
- /** the path of the target node in the Gltf. */
5682
- path: string;
5683
- }
5684
-
5685
- /**
5686
- * @public
5687
- */
5688
- export declare namespace PBGltfNode {
5689
- export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
5690
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
5691
- }
5692
-
5693
5303
  /**
5694
5304
  * GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
5695
5305
  *
@@ -5735,26 +5345,6 @@ export declare namespace PBGltfNodeModifiers_GltfNodeModifier {
5735
5345
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers_GltfNodeModifier;
5736
5346
  }
5737
5347
 
5738
- /**
5739
- * The state of a linked gltf node.
5740
- * If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
5741
- */
5742
- /**
5743
- * @public
5744
- */
5745
- export declare interface PBGltfNodeState {
5746
- state: GltfNodeStateValue;
5747
- error?: string | undefined;
5748
- }
5749
-
5750
- /**
5751
- * @public
5752
- */
5753
- export declare namespace PBGltfNodeState {
5754
- export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
5755
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
5756
- }
5757
-
5758
5348
  /**
5759
5349
  * @public
5760
5350
  */
@@ -5892,14 +5482,6 @@ export declare interface PBMaterial {
5892
5482
  $case: "pbr";
5893
5483
  pbr: PBMaterial_PbrMaterial;
5894
5484
  } | undefined;
5895
- /**
5896
- * A gltf material that may provide additional features not supported by the PbMaterial fields.
5897
- * If both gltf and material fields are provided, the gltf will be used only for extended features not
5898
- * supported by the PbMaterial.
5899
- * If this is provided and the `material` field is not provided, the renderer will update the material
5900
- * field with data that reflects the gltf material once it is loaded.
5901
- */
5902
- gltf?: PBMaterial_GltfMaterial | undefined;
5903
5485
  }
5904
5486
 
5905
5487
  /**
@@ -5910,22 +5492,6 @@ export declare namespace PBMaterial {
5910
5492
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
5911
5493
  }
5912
5494
 
5913
- /**
5914
- * @public
5915
- */
5916
- export declare interface PBMaterial_GltfMaterial {
5917
- gltfSrc: string;
5918
- name: string;
5919
- }
5920
-
5921
- /**
5922
- * @public
5923
- */
5924
- export declare namespace PBMaterial_GltfMaterial {
5925
- export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
5926
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
5927
- }
5928
-
5929
5495
  /**
5930
5496
  * @public
5931
5497
  */
@@ -6022,9 +5588,6 @@ export declare interface PBMeshCollider {
6022
5588
  } | {
6023
5589
  $case: "plane";
6024
5590
  plane: PBMeshCollider_PlaneMesh;
6025
- } | {
6026
- $case: "gltf";
6027
- gltf: PBMeshCollider_GltfMesh;
6028
5591
  } | undefined;
6029
5592
  }
6030
5593
 
@@ -6070,25 +5633,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
6070
5633
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
6071
5634
  }
6072
5635
 
6073
- /** A collider constructed from a Gltf Mesh. */
6074
- /**
6075
- * @public
6076
- */
6077
- export declare interface PBMeshCollider_GltfMesh {
6078
- /** the GLTF file path as listed in the scene's manifest. */
6079
- gltfSrc: string;
6080
- /** the name of the mesh asset */
6081
- name: string;
6082
- }
6083
-
6084
- /**
6085
- * @public
6086
- */
6087
- export declare namespace PBMeshCollider_GltfMesh {
6088
- export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
6089
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
6090
- }
6091
-
6092
5636
  /** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
6093
5637
  /**
6094
5638
  * @public
@@ -6121,11 +5665,13 @@ export declare namespace PBMeshCollider_SphereMesh {
6121
5665
 
6122
5666
  /**
6123
5667
  * The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
6124
- * plane, a sphere, a cylinder, or a Gltf mesh.
5668
+ * plane, a sphere or a cylinder.
6125
5669
  *
6126
5670
  * The cube and plane variants can include a UV texture mapping, so specific areas of a material
6127
5671
  * texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
6128
5672
  * `float` coordinates, one for each corner of each side of each face.
5673
+ *
5674
+ * More complex shapes require the use of a `GltfContainer` component.
6129
5675
  */
6130
5676
  /**
6131
5677
  * @public
@@ -6143,9 +5689,6 @@ export declare interface PBMeshRenderer {
6143
5689
  } | {
6144
5690
  $case: "plane";
6145
5691
  plane: PBMeshRenderer_PlaneMesh;
6146
- } | {
6147
- $case: "gltf";
6148
- gltf: PBMeshRenderer_GltfMesh;
6149
5692
  } | undefined;
6150
5693
  }
6151
5694
 
@@ -6193,25 +5736,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
6193
5736
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
6194
5737
  }
6195
5738
 
6196
- /** A mesh from a Gltf. */
6197
- /**
6198
- * @public
6199
- */
6200
- export declare interface PBMeshRenderer_GltfMesh {
6201
- /** the GLTF file path as listed in the scene's manifest. */
6202
- gltfSrc: string;
6203
- /** the name of the mesh asset */
6204
- name: string;
6205
- }
6206
-
6207
- /**
6208
- * @public
6209
- */
6210
- export declare namespace PBMeshRenderer_GltfMesh {
6211
- export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
6212
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
6213
- }
6214
-
6215
5739
  /** PlaneMesh renders a 2D rectangular shape. */
6216
5740
  /**
6217
5741
  * @public
@@ -6628,24 +6152,27 @@ export declare namespace PBPlayerIdentityData {
6628
6152
  * --------------
6629
6153
  * PointerEvents can enforce interaction range using two independent distance checks:
6630
6154
  *
6631
- * - Camera distance (`max_distance`): distance from the active camera to the target entity.
6632
- * - Player distance (`max_player_distance`): distance from the avatar/player position to the target entity.
6155
+ * - Player distance (`max_distance`): distance from the avatar/player position to the target entity.
6156
+ * - Camera distance (`max_camera_distance`): distance from the active camera to the target entity.
6157
+ *
6158
+ * `max_player_distance` is deprecated: it is an alias for `max_distance` (both are player distance).
6159
+ * If both are present, the larger of the two is used as the player distance threshold.
6633
6160
  *
6634
6161
  * How the interaction checks are combined:
6635
6162
  *
6636
6163
  * 1) Only `max_distance` is present
6637
- * - The interaction is allowed only if the camera distance is <= `max_distance`.
6164
+ * - The interaction is allowed only if the player distance is <= `max_distance`.
6638
6165
  *
6639
- * 2) Only `max_player_distance` is present
6640
- * - The interaction is allowed only if the player distance is <= `max_player_distance`.
6166
+ * 2) Only `max_camera_distance` is present
6167
+ * - The interaction is allowed only if the camera distance is <= `max_camera_distance`.
6641
6168
  *
6642
- * 3) Both `max_distance` and `max_player_distance` are present
6169
+ * 3) Both `max_distance` and `max_camera_distance` are present
6643
6170
  * - The interaction is allowed if ANY of the checks passes (OR logic):
6644
- * (camera distance <= `max_distance`) OR (player distance <= `max_player_distance`).
6171
+ * (player distance <= `max_distance`) OR (camera distance <= `max_camera_distance`).
6645
6172
  *
6646
- * 4) Neither `max_distance` nor `max_player_distance` is present
6173
+ * 4) Neither `max_distance` nor `max_camera_distance` is present
6647
6174
  * - The system behaves as if `max_distance` were set to its default value (10),
6648
- * i.e., it uses the camera distance check with a threshold of 10.
6175
+ * i.e., it uses the player distance check with a threshold of 10.
6649
6176
  */
6650
6177
  /**
6651
6178
  * @public
@@ -6691,16 +6218,18 @@ export declare interface PBPointerEvents_Info {
6691
6218
  button?: InputAction | undefined;
6692
6219
  /** feedback on hover (default 'Interact') */
6693
6220
  hoverText?: string | undefined;
6694
- /** range of interaction (default 10) */
6221
+ /** range of interaction from the avatar's position (default 10) */
6695
6222
  maxDistance?: number | undefined;
6696
6223
  /** enable or disable hover text and highlight (default true) */
6697
6224
  showFeedback?: boolean | undefined;
6698
6225
  /** enable or disable hover highlight (default true) */
6699
6226
  showHighlight?: boolean | undefined;
6700
- /** range of interaction from the avatar's position (default 0) */
6227
+ /** @deprecated use `max_distance` instead (same semantics) */
6701
6228
  maxPlayerDistance?: number | undefined;
6702
6229
  /** resolution order when multiple events overlap, higher wins (default 0) */
6703
6230
  priority?: number | undefined;
6231
+ /** range of interaction from the active camera's position (default none) */
6232
+ maxCameraDistance?: number | undefined;
6704
6233
  }
6705
6234
 
6706
6235
  /**
@@ -6803,10 +6332,7 @@ export declare interface PBPrimaryPointerInfo {
6803
6332
  screenCoordinates?: PBVector2 | undefined;
6804
6333
  /** Movement since last frame (pixels) */
6805
6334
  screenDelta?: PBVector2 | undefined;
6806
- /**
6807
- * ray direction that can be used with the primary camera origin for
6808
- * raycasting from the cursor into the world
6809
- */
6335
+ /** Direction vector for 3D ray casting */
6810
6336
  worldRayDirection?: PBVector3 | undefined;
6811
6337
  }
6812
6338
 
@@ -6877,10 +6403,6 @@ export declare interface PBRaycast {
6877
6403
  continuous?: boolean | undefined;
6878
6404
  /** Collision mask, by default CL_POINTER | CL_PHYSICS */
6879
6405
  collisionMask?: number | undefined;
6880
- /** shape to cast, default ray */
6881
- shape?: RaycastShape | undefined;
6882
- /** include hits with entities from other scenes */
6883
- includeWorld?: boolean | undefined;
6884
6406
  }
6885
6407
 
6886
6408
  /**
@@ -7036,46 +6558,6 @@ export declare namespace PBTextShape {
7036
6558
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
7037
6559
  }
7038
6560
 
7039
- /**
7040
- * @public
7041
- */
7042
- export declare interface PBTextureCamera {
7043
- /** rendered texture width */
7044
- width?: number | undefined;
7045
- /** rendered texture height */
7046
- height?: number | undefined;
7047
- /**
7048
- * which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
7049
- * defaults to 0
7050
- */
7051
- layer?: number | undefined;
7052
- /** default black */
7053
- clearColor?: PBColor4 | undefined;
7054
- /** default infinity */
7055
- farPlane?: number | undefined;
7056
- mode?: {
7057
- $case: "perspective";
7058
- perspective: Perspective;
7059
- } | {
7060
- $case: "orthographic";
7061
- orthographic: Orthographic;
7062
- } | undefined;
7063
- /**
7064
- * controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
7065
- * range: 0 (off) - 1 (full volume)
7066
- * default: 0
7067
- */
7068
- volume?: number | undefined;
7069
- }
7070
-
7071
- /**
7072
- * @public
7073
- */
7074
- export declare namespace PBTextureCamera {
7075
- export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
7076
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
7077
- }
7078
-
7079
6561
  /**
7080
6562
  * The TouchScreenControls component lets a scene configure the native on-screen touch
7081
6563
  * controls (the mobile joystick + gamepad). It must be set on the RootEntity.
@@ -7321,25 +6803,6 @@ export declare namespace PBUiBackground {
7321
6803
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
7322
6804
  }
7323
6805
 
7324
- /** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
7325
- /**
7326
- * @public
7327
- */
7328
- export declare interface PBUiCanvas {
7329
- width: number;
7330
- height: number;
7331
- /** default = (0.0, 0.0, 0.0, 0.0) / transparent */
7332
- color?: PBColor4 | undefined;
7333
- }
7334
-
7335
- /**
7336
- * @public
7337
- */
7338
- export declare namespace PBUiCanvas {
7339
- export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
7340
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
7341
- }
7342
-
7343
6806
  /** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
7344
6807
  /**
7345
6808
  * @public
@@ -7437,10 +6900,6 @@ export declare interface PBUiInput {
7437
6900
  /** default=10 */
7438
6901
  fontSize?: number | undefined;
7439
6902
  value?: string | undefined;
7440
- /** default=false; when true, the input accepts newlines and behaves as a textarea */
7441
- multiLine?: boolean | undefined;
7442
- /** default=true; when false, the input value is preserved after pressing Enter */
7443
- clearOnSubmit?: boolean | undefined;
7444
6903
  }
7445
6904
 
7446
6905
  /**
@@ -7504,21 +6963,6 @@ export declare namespace PBUiInputResult {
7504
6963
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
7505
6964
  }
7506
6965
 
7507
- /**
7508
- * @public
7509
- */
7510
- export declare interface PBUiScrollResult {
7511
- value: PBVector2 | undefined;
7512
- }
7513
-
7514
- /**
7515
- * @public
7516
- */
7517
- export declare namespace PBUiScrollResult {
7518
- export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
7519
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
7520
- }
7521
-
7522
6966
  /**
7523
6967
  * @public
7524
6968
  */
@@ -7662,12 +7106,6 @@ export declare interface PBUiTransform {
7662
7106
  borderRightColor?: PBColor4 | undefined;
7663
7107
  /** default: 1 */
7664
7108
  opacity?: number | undefined;
7665
- /** reference for scroll_position. default empty */
7666
- elementId?: string | undefined;
7667
- /** default position=(0,0) */
7668
- scrollPosition?: ScrollPositionValue | undefined;
7669
- /** default ShowScrollBar.SSB_BOTH */
7670
- scrollVisible?: ShowScrollBar | undefined;
7671
7109
  /** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
7672
7110
  zIndex?: number | undefined;
7673
7111
  }
@@ -7820,25 +7258,6 @@ export declare namespace PBVisibilityComponent {
7820
7258
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
7821
7259
  }
7822
7260
 
7823
- /**
7824
- * @public
7825
- */
7826
- export declare interface Perspective {
7827
- /**
7828
- * vertical field of view in radians
7829
- * defaults to pi/4 = 45 degrees
7830
- */
7831
- fieldOfView?: number | undefined;
7832
- }
7833
-
7834
- /**
7835
- * @public
7836
- */
7837
- export declare namespace Perspective {
7838
- export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
7839
- export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
7840
- }
7841
-
7842
7261
  /**
7843
7262
  * @public
7844
7263
  * Physics helpers for applying impulses and forces to the player.
@@ -8080,24 +7499,6 @@ export declare interface PointerEventsSystem {
8080
7499
  * @param entity - Entity where the callback was attached
8081
7500
  */
8082
7501
  removeOnPointerHoverLeave(entity: Entity): void;
8083
- /**
8084
- * @public
8085
- * Remove the callback for onPointerDrag event
8086
- * @param entity - Entity where the callback was attached
8087
- */
8088
- removeOnPointerDrag(entity: Entity): void;
8089
- /**
8090
- * @public
8091
- * Remove the callback for onPointerDragLocked event
8092
- * @param entity - Entity where the callback was attached
8093
- */
8094
- removeOnPointerDragLocked(entity: Entity): void;
8095
- /**
8096
- * @public
8097
- * Remove the callback for onPointerDragEnd event
8098
- * @param entity - Entity where the callback was attached
8099
- */
8100
- removeOnPointerDragEnd(entity: Entity): void;
8101
7502
  /**
8102
7503
  * @public
8103
7504
  * Remove the callback for onProximityDown event
@@ -8176,36 +7577,6 @@ export declare interface PointerEventsSystem {
8176
7577
  entity: Entity;
8177
7578
  opts?: Partial<EventSystemOptions>;
8178
7579
  }, cb: EventSystemCallback): void;
8179
- /**
8180
- * @public
8181
- * Execute callback while the user holds the button pressed and moves the pointer, having pressed it on the entity
8182
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
8183
- * @param cb - Function to execute on every drag update
8184
- */
8185
- onPointerDrag(pointerData: {
8186
- entity: Entity;
8187
- opts?: Partial<EventSystemOptions>;
8188
- }, cb: EventSystemCallback): void;
8189
- /**
8190
- * @public
8191
- * Same as onPointerDrag, but the cursor is locked in place for the duration of the drag
8192
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
8193
- * @param cb - Function to execute on every drag update
8194
- */
8195
- onPointerDragLocked(pointerData: {
8196
- entity: Entity;
8197
- opts?: Partial<EventSystemOptions>;
8198
- }, cb: EventSystemCallback): void;
8199
- /**
8200
- * @public
8201
- * Execute callback when the user releases the button after a drag that started on the entity
8202
- * @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
8203
- * @param cb - Function to execute when the drag ends
8204
- */
8205
- onPointerDragEnd(pointerData: {
8206
- entity: Entity;
8207
- opts?: Partial<EventSystemOptions>;
8208
- }, cb: EventSystemCallback): void;
8209
7580
  /**
8210
7581
  * @public
8211
7582
  * Execute callback when the user presses the proximity button on the entity
@@ -8264,10 +7635,7 @@ export declare const enum PointerEventType {
8264
7635
  PET_HOVER_ENTER = 2,
8265
7636
  PET_HOVER_LEAVE = 3,
8266
7637
  PET_PROXIMITY_ENTER = 4,
8267
- PET_PROXIMITY_LEAVE = 5,
8268
- PET_DRAG_LOCKED = 6,
8269
- PET_DRAG = 7,
8270
- PET_DRAG_END = 8
7638
+ PET_PROXIMITY_LEAVE = 5
8271
7639
  }
8272
7640
 
8273
7641
  /**
@@ -8298,10 +7666,7 @@ export declare const enum PointerType {
8298
7666
  /** POT_NONE - No pointer input */
8299
7667
  POT_NONE = 0,
8300
7668
  /** POT_MOUSE - Traditional mouse input */
8301
- POT_MOUSE = 1,
8302
- POT_PAD = 2,
8303
- POT_TOUCH = 3,
8304
- POT_WAND = 4
7669
+ POT_MOUSE = 1
8305
7670
  }
8306
7671
 
8307
7672
  /**
@@ -8758,16 +8123,6 @@ export declare const enum RaycastQueryType {
8758
8123
  /** @public */
8759
8124
  export declare const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
8760
8125
 
8761
- /**
8762
- * @public
8763
- */
8764
- export declare const enum RaycastShape {
8765
- /** RS_RAY - cast a point, get collisions along a ray */
8766
- RS_RAY = 0,
8767
- /** RS_AVATAR - cast the avatar collider shape, get collisions from sweeping the shape */
8768
- RS_AVATAR = 1
8769
- }
8770
-
8771
8126
  /**
8772
8127
  * @public
8773
8128
  */
@@ -8900,10 +8255,6 @@ export declare type RaycastSystemOptions = {
8900
8255
  queryType: RaycastQueryType;
8901
8256
  continuous?: boolean | undefined;
8902
8257
  collisionMask?: number | undefined;
8903
- /** shape to sweep along the ray, default RS_RAY (a point) */
8904
- shape?: RaycastShape | undefined;
8905
- /** include colliders from other scenes, default false */
8906
- includeWorld?: boolean | undefined;
8907
8258
  };
8908
8259
 
8909
8260
  /**
@@ -8952,20 +8303,6 @@ export declare interface ReactBasedUiSystem {
8952
8303
  * @param entity - The entity whose UI renderer should be removed
8953
8304
  */
8954
8305
  removeUiRenderer(entity: Entity): void;
8955
- /**
8956
- * Render a UI tree to a texture. The tree is rooted at `entity`, which must carry a UiCanvas
8957
- * describing the texture; the result can be sampled through `TextureUnion.uiTexture`. Replaces
8958
- * any texture renderer already set on the entity, and is torn down when the entity is removed.
8959
- *
8960
- * @param entity - The UiCanvas entity the UI tree hangs from
8961
- * @param ui - The UI component to render
8962
- */
8963
- setTextureRenderer(entity: Entity, ui: UiComponent): void;
8964
- /**
8965
- * Remove a texture renderer previously set with setTextureRenderer(), destroying its entities.
8966
- * @param entity - The UiCanvas entity the renderer was set on
8967
- */
8968
- removeTextureRenderer(entity: Entity): void;
8969
8306
  }
8970
8307
 
8971
8308
  /**
@@ -9556,33 +8893,6 @@ export declare namespace Schemas {
9556
8893
  */
9557
8894
  export declare function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
9558
8895
 
9559
- /**
9560
- * @public
9561
- */
9562
- export declare interface ScrollPositionValue {
9563
- value?: {
9564
- $case: "position";
9565
- position: PBVector2;
9566
- } | {
9567
- $case: "reference";
9568
- reference: string;
9569
- } | undefined;
9570
- }
9571
-
9572
- /**
9573
- * @public
9574
- */
9575
- export declare namespace ScrollPositionValue {
9576
- export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
9577
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
9578
- }
9579
-
9580
- /**
9581
- * Which scrollbars are shown when the overflow is scrollable
9582
- * @public
9583
- */
9584
- export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
9585
-
9586
8896
  /**
9587
8897
  * Register the composite provider used to resolve composite files. Also registers
9588
8898
  * any `provider.schemas` on the engine pre-seal so composites that reference those
@@ -9608,16 +8918,6 @@ export declare interface SetMoveRotateScaleParams extends MoveRotateScaleModePar
9608
8918
  easingFunction?: EasingFunction;
9609
8919
  }
9610
8920
 
9611
- /**
9612
- * @public
9613
- */
9614
- export declare const enum ShowScrollBar {
9615
- SSB_BOTH = 0,
9616
- SSB_ONLY_VERTICAL = 1,
9617
- SSB_ONLY_HORIZONTAL = 2,
9618
- SSB_HIDDEN = 3
9619
- }
9620
-
9621
8921
  /** @public */
9622
8922
  export declare const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
9623
8923
 
@@ -9724,9 +9024,6 @@ export declare namespace Texture {
9724
9024
  export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
9725
9025
  }
9726
9026
 
9727
- /** @public */
9728
- export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
9729
-
9730
9027
  /**
9731
9028
  * @public
9732
9029
  */
@@ -9837,9 +9134,6 @@ export declare interface TextureUnion {
9837
9134
  } | {
9838
9135
  $case: "videoTexture";
9839
9136
  videoTexture: VideoTexture;
9840
- } | {
9841
- $case: "uiTexture";
9842
- uiTexture: UiCanvasTexture;
9843
9137
  } | undefined;
9844
9138
  }
9845
9139
 
@@ -10378,8 +9672,6 @@ export declare interface UiBackgroundProps {
10378
9672
  uvs?: number[];
10379
9673
  /** AvatarTexture for the background */
10380
9674
  avatarTexture?: UiAvatarTexture;
10381
- /** VideoTexture for the background: the frames of a VideoPlayer on another entity */
10382
- videoTexture?: UiVideoTexture;
10383
9675
  /** Texture for the background */
10384
9676
  texture?: UiTexture;
10385
9677
  }
@@ -10399,31 +9691,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
10399
9691
  disabled?: boolean;
10400
9692
  }
10401
9693
 
10402
- /** @public */
10403
- export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
10404
-
10405
9694
  /** @public */
10406
9695
  export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
10407
9696
 
10408
- /**
10409
- * @public
10410
- */
10411
- export declare interface UiCanvasTexture {
10412
- uiCanvasEntity: number;
10413
- /** default = TextureWrapMode.Clamp */
10414
- wrapMode?: TextureWrapMode | undefined;
10415
- /** default = FilterMode.Bilinear */
10416
- filterMode?: TextureFilterMode | undefined;
10417
- }
10418
-
10419
- /**
10420
- * @public
10421
- */
10422
- export declare namespace UiCanvasTexture {
10423
- export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
10424
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
10425
- }
10426
-
10427
9697
  /**
10428
9698
  * @public
10429
9699
  */
@@ -10576,9 +9846,6 @@ export declare type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'
10576
9846
  uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
10577
9847
  };
10578
9848
 
10579
- /** @public */
10580
- export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
10581
-
10582
9849
  /** @public */
10583
9850
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
10584
9851
 
@@ -10658,22 +9925,6 @@ export declare interface UiTransformProps {
10658
9925
  opacity?: number;
10659
9926
  /** default 0 */
10660
9927
  zIndex?: number;
10661
- /** A reference id for the element, e.g. as a scrollPosition target or for SetUiFocus. default empty */
10662
- elementId?: string;
10663
- /** Scroll offset when overflow is 'scroll': a position, or the elementId of a child to scroll to. default (0, 0) */
10664
- scrollPosition?: PBVector2 | string;
10665
- /** Which scrollbars to show when overflow is 'scroll'. default 'both' */
10666
- scrollVisible?: ScrollVisibleType;
10667
- }
10668
-
10669
- /**
10670
- * Video Texture
10671
- * @public
10672
- */
10673
- export declare interface UiVideoTexture {
10674
- videoPlayerEntity: Entity;
10675
- wrapMode?: TextureWrapType;
10676
- filterMode?: TextureFilterType;
10677
9928
  }
10678
9929
 
10679
9930
  /**