@relu-interactives/spatial-ecs 0.3.2 → 0.3.5

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.
Files changed (37) hide show
  1. package/dist/{XRRig-Cu-EyliG.d.cts → XRRig-2686IqLQ.d.cts} +5 -5
  2. package/dist/{XRRig-CAmf04NX.d.ts → XRRig-D2QURXl1.d.ts} +5 -5
  3. package/dist/{chunk-67WGASUJ.js → chunk-2LVFGVWI.js} +3 -3
  4. package/dist/{chunk-67WGASUJ.js.map → chunk-2LVFGVWI.js.map} +1 -1
  5. package/dist/{chunk-JWTRFJBL.js → chunk-4BZYK3JP.js} +4 -4
  6. package/dist/{chunk-JWTRFJBL.js.map → chunk-4BZYK3JP.js.map} +1 -1
  7. package/dist/{chunk-U3MDYKPV.js → chunk-6QC2PJLD.js} +4 -3
  8. package/dist/chunk-6QC2PJLD.js.map +1 -0
  9. package/dist/{chunk-SALBG747.js → chunk-G53MZVKQ.js} +333 -25
  10. package/dist/chunk-G53MZVKQ.js.map +1 -0
  11. package/dist/components/index.cjs +2 -1
  12. package/dist/components/index.cjs.map +1 -1
  13. package/dist/components/index.d.cts +2 -2
  14. package/dist/components/index.d.ts +2 -2
  15. package/dist/components/index.js +1 -1
  16. package/dist/factories/index.cjs +2 -1
  17. package/dist/factories/index.cjs.map +1 -1
  18. package/dist/factories/index.d.cts +1 -1
  19. package/dist/factories/index.d.ts +1 -1
  20. package/dist/factories/index.js +3 -3
  21. package/dist/{index-CRmfSYdj.d.ts → index-B-CViRMx.d.ts} +57 -10
  22. package/dist/{index-w1oqWl_M.d.ts → index-BtKOaHfY.d.ts} +1 -1
  23. package/dist/{index-Bc0YCz1A.d.cts → index-BvCmmuJ0.d.cts} +57 -10
  24. package/dist/{index-CUFd71ri.d.cts → index-Xu238jLn.d.cts} +1 -1
  25. package/dist/index.cjs +337 -21
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +50 -6
  28. package/dist/index.d.ts +50 -6
  29. package/dist/index.js +8 -8
  30. package/dist/systems/index.cjs +318 -21
  31. package/dist/systems/index.cjs.map +1 -1
  32. package/dist/systems/index.d.cts +1 -1
  33. package/dist/systems/index.d.ts +1 -1
  34. package/dist/systems/index.js +3 -3
  35. package/package.json +1 -1
  36. package/dist/chunk-SALBG747.js.map +0 -1
  37. package/dist/chunk-U3MDYKPV.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { A as AnimationComponent, b as AudioComponent, c as CameraComponentOptions, C as CameraComponent, S as RigidbodyState, g as ColliderState, P as PhysicsComponent, n as EntityType, I as ImageComponent, p as ImageTargetAnchor, o as ImageTarget, L as LightComponent, M as MaterialComponent, z as MeshComponent, B as MeshGeometryComponent, H as ModelComponent, N as Name, O as Object3DRef, V as ScriptEntry, U as ScriptComponent, X as ScriptObjectComponentInput, W as ScriptObjectComponent, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, v as InstancedMeshKind, F as MeshGeometryParameters, u as InstancedMeshComponent, s as InstanceSlotComponent, a5 as VideoComponent, a9 as XRRigComponent, a3 as VRTeleportAreaComponent, a7 as XRInteractableComponent } from '../XRRig-Cu-EyliG.cjs';
1
+ import { A as AnimationComponent, b as AudioComponent, c as CameraComponentOptions, C as CameraComponent, S as RigidbodyState, g as ColliderState, P as PhysicsComponent, n as EntityType, I as ImageComponent, p as ImageTargetAnchor, o as ImageTarget, L as LightComponent, M as MaterialComponent, z as MeshComponent, B as MeshGeometryComponent, H as ModelComponent, N as Name, O as Object3DRef, V as ScriptEntry, U as ScriptComponent, X as ScriptObjectComponentInput, W as ScriptObjectComponent, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, v as InstancedMeshKind, F as MeshGeometryParameters, u as InstancedMeshComponent, s as InstanceSlotComponent, a5 as VideoComponent, a9 as XRRigComponent, a3 as VRTeleportAreaComponent, a7 as XRInteractableComponent } from '../XRRig-2686IqLQ.cjs';
2
2
  import { l as World, g as EnvironmentState, E as Environment, P as ParentId, i as PostprocessingState, h as Postprocessing, T as TransformComponent, O as ObjectManagementSystem } from '../System-vrU46Vuw.cjs';
3
3
  import * as THREE from 'three';
4
4
  import '@dimforge/rapier3d-compat';
@@ -1,4 +1,4 @@
1
- import { A as AnimationComponent, b as AudioComponent, c as CameraComponentOptions, C as CameraComponent, S as RigidbodyState, g as ColliderState, P as PhysicsComponent, n as EntityType, I as ImageComponent, p as ImageTargetAnchor, o as ImageTarget, L as LightComponent, M as MaterialComponent, z as MeshComponent, B as MeshGeometryComponent, H as ModelComponent, N as Name, O as Object3DRef, V as ScriptEntry, U as ScriptComponent, X as ScriptObjectComponentInput, W as ScriptObjectComponent, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, v as InstancedMeshKind, F as MeshGeometryParameters, u as InstancedMeshComponent, s as InstanceSlotComponent, a5 as VideoComponent, a9 as XRRigComponent, a3 as VRTeleportAreaComponent, a7 as XRInteractableComponent } from '../XRRig-CAmf04NX.js';
1
+ import { A as AnimationComponent, b as AudioComponent, c as CameraComponentOptions, C as CameraComponent, S as RigidbodyState, g as ColliderState, P as PhysicsComponent, n as EntityType, I as ImageComponent, p as ImageTargetAnchor, o as ImageTarget, L as LightComponent, M as MaterialComponent, z as MeshComponent, B as MeshGeometryComponent, H as ModelComponent, N as Name, O as Object3DRef, V as ScriptEntry, U as ScriptComponent, X as ScriptObjectComponentInput, W as ScriptObjectComponent, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, v as InstancedMeshKind, F as MeshGeometryParameters, u as InstancedMeshComponent, s as InstanceSlotComponent, a5 as VideoComponent, a9 as XRRigComponent, a3 as VRTeleportAreaComponent, a7 as XRInteractableComponent } from '../XRRig-D2QURXl1.js';
2
2
  import { l as World, g as EnvironmentState, E as Environment, P as ParentId, i as PostprocessingState, h as Postprocessing, T as TransformComponent, O as ObjectManagementSystem } from '../System-vrU46Vuw.js';
3
3
  import * as THREE from 'three';
4
4
  import '@dimforge/rapier3d-compat';
@@ -1,6 +1,6 @@
1
- export { createAnimationComponent, createAudioComponent, createCameraComponent, createEntityTypeComponent, createEnvironmentComponent, createImageComponent, createImageTargetAnchorComponent, createImageTargetComponent, createInstanceSlotComponent, createInstancedMeshComponent, createLightComponent, createMaterialComponent, createMeshComponent, createMeshGeometryComponent, createModelComponent, createNameComponent, createObject3DRefComponent, createParentIdComponent, createPhysicsComponent, createPostprocessingComponent, createScriptComponent, createScriptObjectComponent, createSelectableComponent, createSelectionTransformStateComponent, createSpriteComponent, createTransformComponent, createVRTeleportAreaComponent, createVideoComponent, createXRInteractableComponent, createXRRigComponent, registerDefaultComponentFactories, registerDefaultFactories } from '../chunk-JWTRFJBL.js';
2
- import '../chunk-67WGASUJ.js';
3
- import '../chunk-U3MDYKPV.js';
1
+ export { createAnimationComponent, createAudioComponent, createCameraComponent, createEntityTypeComponent, createEnvironmentComponent, createImageComponent, createImageTargetAnchorComponent, createImageTargetComponent, createInstanceSlotComponent, createInstancedMeshComponent, createLightComponent, createMaterialComponent, createMeshComponent, createMeshGeometryComponent, createModelComponent, createNameComponent, createObject3DRefComponent, createParentIdComponent, createPhysicsComponent, createPostprocessingComponent, createScriptComponent, createScriptObjectComponent, createSelectableComponent, createSelectionTransformStateComponent, createSpriteComponent, createTransformComponent, createVRTeleportAreaComponent, createVideoComponent, createXRInteractableComponent, createXRRigComponent, registerDefaultComponentFactories, registerDefaultFactories } from '../chunk-4BZYK3JP.js';
2
+ import '../chunk-2LVFGVWI.js';
3
+ import '../chunk-6QC2PJLD.js';
4
4
  import '../chunk-OY7ZODZP.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -429,24 +429,42 @@ declare class XRLocomotionSystem implements EcsSystem {
429
429
  private readonly raycaster;
430
430
  /** Per-source latch so one stick push yields exactly one snap turn. */
431
431
  private readonly turnLatched;
432
- /** Where the pointer currently lands, for the consumer to draw a marker. */
433
- private teleportPoint;
432
+ /** Reused arc buffer — aiming runs every frame. */
433
+ private readonly arcPoints;
434
+ /** Curve up to the landing point, for the visual system. Empty when not aiming. */
435
+ private aimCurve;
436
+ private landingPoint;
437
+ /** True once we've tried to self-heal camera parenting for this session. */
438
+ private parentingChecked;
434
439
  constructor(inputSystem: XRInputSystem);
435
440
  update(world: World, deltaTime: number): void;
441
+ /**
442
+ * Guarantee the render camera is a CHILD of the rig.
443
+ *
444
+ * Locomotion moves the rig, and three composes the head pose against
445
+ * `camera.parent` — so if the camera sits at the scene root instead, moving
446
+ * the rig does nothing at all and the player is frozen in place. Scenes
447
+ * authored before the rig existed (or with the camera re-parented by hand)
448
+ * would otherwise silently fail to move, which is exactly the symptom that is
449
+ * hardest to diagnose from inside a headset. Repairing it via `ParentId` lets
450
+ * `ObjectManagementSystem` reconcile the scene graph normally.
451
+ */
452
+ private ensureCameraUnderRig;
436
453
  /**
437
454
  * Snap turning, not smooth turning — rotating the view continuously is the
438
- * single biggest cause of VR nausea, so the comfort-safe option is the one
455
+ * single biggest cause of VR nausea, so the comfort-safe option is what's
439
456
  * wired to the stick.
440
457
  */
441
458
  private applySnapTurn;
442
459
  private applySmoothMove;
443
460
  private applyTeleport;
461
+ /** Walk the arc segment-by-segment, returning the first surface hit. */
462
+ private raycastArc;
444
463
  private collectTeleportTargets;
445
- /**
446
- * Where the teleport pointer currently lands this frame, or null.
447
- * Consumers use this to render an aim marker.
448
- */
449
- getTeleportPoint(): THREE.Vector3 | null;
464
+ /** Arc points up to the landing spot this frame; empty when not aiming. */
465
+ getAimCurve(): THREE.Vector3[];
466
+ /** Where the arc currently lands, or null when not aiming at a valid area. */
467
+ getLandingPoint(): THREE.Vector3 | null;
450
468
  }
451
469
 
452
470
  /**
@@ -500,8 +518,21 @@ declare class XRControllerVisualSystem implements EcsSystem {
500
518
  private readonly ready;
501
519
  /** How many controller slots to wire. Two covers every current headset. */
502
520
  private readonly slots;
503
- constructor(slots?: number);
521
+ /** Optional — when provided, the aim ray only shows over interactables. */
522
+ private readonly interactionSystem;
523
+ private readonly rays;
524
+ constructor(options?: {
525
+ slots?: number;
526
+ interactionSystem?: XRInteractionSystem;
527
+ });
504
528
  update(world: World): void;
529
+ /**
530
+ * Show the aim ray only when it is meaningful: hovering something
531
+ * interactive, or mid-grab. A permanently-drawn ray is visual noise, and it
532
+ * implies everything is clickable when most of the scene is not. Teleport
533
+ * aiming has its own arc, so the straight ray stays hidden for that.
534
+ */
535
+ private updateRayVisibility;
505
536
  /**
506
537
  * Parent the visuals to the XR rig when there is one, so locomotion moves the
507
538
  * hands with the player. Falls back to the scene root.
@@ -511,4 +542,20 @@ declare class XRControllerVisualSystem implements EcsSystem {
511
542
  dispose(): void;
512
543
  }
513
544
 
514
- export { AnimationSystem as A, CameraSyncSystem as C, EnvironmentSyncSystem as E, InstancedMeshSystem as I, LightSyncSystem as L, MaterialSyncSystem as M, NO_XR_CAPABILITIES as N, ObjectVisibilitySystem as O, PhysicsSyncSystem as P, SCRIPT_OBJECT_ROOT_FLAG as S, VRTeleportAreaSystem as V, type XrCapabilities as X, type XrInputState as a, AudioSystem as b, MeshGeometrySystem as c, type ModuleLoader as d, PostprocessingSyncSystem as e, ScriptBehaviourSystem as f, ScriptObjectSystem as g, type SelectionContext as h, VideoSystem as i, XRControllerVisualSystem as j, XRInputSystem as k, XRInteractionSystem as l, XRLocomotionSystem as m, XRSessionSystem as n, type XrHandedness as o, type XrInputKind as p, readXrCapabilities as r };
545
+ declare class XRTeleportVisualSystem implements EcsSystem {
546
+ private readonly locomotionSystem;
547
+ private readonly group;
548
+ private readonly arc;
549
+ private readonly arcGeometry;
550
+ private readonly marker;
551
+ private attached;
552
+ constructor(locomotionSystem: XRLocomotionSystem);
553
+ update(world: World): void;
554
+ private updateArcGeometry;
555
+ private createRing;
556
+ private createDot;
557
+ private setVisible;
558
+ dispose(): void;
559
+ }
560
+
561
+ export { AnimationSystem as A, CameraSyncSystem as C, EnvironmentSyncSystem as E, InstancedMeshSystem as I, LightSyncSystem as L, MaterialSyncSystem as M, NO_XR_CAPABILITIES as N, ObjectVisibilitySystem as O, PhysicsSyncSystem as P, SCRIPT_OBJECT_ROOT_FLAG as S, VRTeleportAreaSystem as V, type XrCapabilities as X, type XrInputState as a, AudioSystem as b, MeshGeometrySystem as c, type ModuleLoader as d, PostprocessingSyncSystem as e, ScriptBehaviourSystem as f, ScriptObjectSystem as g, type SelectionContext as h, VideoSystem as i, XRControllerVisualSystem as j, XRInputSystem as k, XRInteractionSystem as l, XRLocomotionSystem as m, XRSessionSystem as n, XRTeleportVisualSystem as o, type XrHandedness as p, type XrInputKind as q, readXrCapabilities as r };
@@ -1,4 +1,4 @@
1
- import { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_INSTANCED_MESH_PARAMETERS, j as DEFAULT_INSTANCE_TRANSFORM, k as DEFAULT_MESH_GEOMETRY_PARAMETERS, l as DEFAULT_PHYSICS_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, I as ImageComponent, o as ImageTarget, p as ImageTargetAnchor, q as ImageTargetAnchorOptions, r as ImageTargetReference, s as InstanceSlotComponent, t as InstanceTransform, u as InstancedMeshComponent, v as InstancedMeshKind, L as LightComponent, w as LightValueState, M as MaterialComponent, x as MaterialTypeValue, y as MaterialValueState, z as MeshComponent, B as MeshGeometryComponent, F as MeshGeometryParameters, G as MeshGeometryParametersByKind, H as ModelComponent, N as Name, O as Object3DRef, P as PhysicsComponent, J as PhysicsState, K as PlaneMeshParameters, R as RadiusHeightMeshParameters, Q as RadiusMeshParameters, S as RigidbodyState, T as RigidbodyType, U as ScriptComponent, V as ScriptEntry, W as ScriptObjectComponent, X as ScriptObjectComponentInput, Y as ScriptObjectRuntimeState, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, a0 as TextureFilteringValue, a1 as TransformModeValue, a2 as TransformSpaceValue, a3 as VRTeleportAreaComponent, a4 as VRTeleportAreaOptions, a5 as VideoComponent, a6 as VrTeleportShape, a7 as XRInteractableComponent, a8 as XRInteractableOptions, a9 as XRRigComponent, aa as XRRigOptions, ab as XrGrabMode, ac as XrLocomotionMode, ad as defaultMaterialValue, ae as normalizePhysicsState, af as setPhysicsLiveRef } from './XRRig-CAmf04NX.js';
1
+ import { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_INSTANCED_MESH_PARAMETERS, j as DEFAULT_INSTANCE_TRANSFORM, k as DEFAULT_MESH_GEOMETRY_PARAMETERS, l as DEFAULT_PHYSICS_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, I as ImageComponent, o as ImageTarget, p as ImageTargetAnchor, q as ImageTargetAnchorOptions, r as ImageTargetReference, s as InstanceSlotComponent, t as InstanceTransform, u as InstancedMeshComponent, v as InstancedMeshKind, L as LightComponent, w as LightValueState, M as MaterialComponent, x as MaterialTypeValue, y as MaterialValueState, z as MeshComponent, B as MeshGeometryComponent, F as MeshGeometryParameters, G as MeshGeometryParametersByKind, H as ModelComponent, N as Name, O as Object3DRef, P as PhysicsComponent, J as PhysicsState, K as PlaneMeshParameters, R as RadiusHeightMeshParameters, Q as RadiusMeshParameters, S as RigidbodyState, T as RigidbodyType, U as ScriptComponent, V as ScriptEntry, W as ScriptObjectComponent, X as ScriptObjectComponentInput, Y as ScriptObjectRuntimeState, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, a0 as TextureFilteringValue, a1 as TransformModeValue, a2 as TransformSpaceValue, a3 as VRTeleportAreaComponent, a4 as VRTeleportAreaOptions, a5 as VideoComponent, a6 as VrTeleportShape, a7 as XRInteractableComponent, a8 as XRInteractableOptions, a9 as XRRigComponent, aa as XRRigOptions, ab as XrGrabMode, ac as XrLocomotionMode, ad as defaultMaterialValue, ae as normalizePhysicsState, af as setPhysicsLiveRef } from './XRRig-D2QURXl1.js';
2
2
  import { C as Component, D as DEFAULT_ENVIRONMENT_STATE, a as DEFAULT_POSTPROCESSING_STATE, E as Environment, b as EnvironmentFogState, c as EnvironmentFogType, d as EnvironmentGradientEffect, e as EnvironmentSkyboxState, f as EnvironmentSkyboxType, g as EnvironmentState, P as ParentId, h as Postprocessing, i as PostprocessingState, T as TransformComponent, j as TransformData, V as Vec3 } from './System-vrU46Vuw.js';
3
3
 
4
4
  /**
@@ -429,24 +429,42 @@ declare class XRLocomotionSystem implements EcsSystem {
429
429
  private readonly raycaster;
430
430
  /** Per-source latch so one stick push yields exactly one snap turn. */
431
431
  private readonly turnLatched;
432
- /** Where the pointer currently lands, for the consumer to draw a marker. */
433
- private teleportPoint;
432
+ /** Reused arc buffer — aiming runs every frame. */
433
+ private readonly arcPoints;
434
+ /** Curve up to the landing point, for the visual system. Empty when not aiming. */
435
+ private aimCurve;
436
+ private landingPoint;
437
+ /** True once we've tried to self-heal camera parenting for this session. */
438
+ private parentingChecked;
434
439
  constructor(inputSystem: XRInputSystem);
435
440
  update(world: World, deltaTime: number): void;
441
+ /**
442
+ * Guarantee the render camera is a CHILD of the rig.
443
+ *
444
+ * Locomotion moves the rig, and three composes the head pose against
445
+ * `camera.parent` — so if the camera sits at the scene root instead, moving
446
+ * the rig does nothing at all and the player is frozen in place. Scenes
447
+ * authored before the rig existed (or with the camera re-parented by hand)
448
+ * would otherwise silently fail to move, which is exactly the symptom that is
449
+ * hardest to diagnose from inside a headset. Repairing it via `ParentId` lets
450
+ * `ObjectManagementSystem` reconcile the scene graph normally.
451
+ */
452
+ private ensureCameraUnderRig;
436
453
  /**
437
454
  * Snap turning, not smooth turning — rotating the view continuously is the
438
- * single biggest cause of VR nausea, so the comfort-safe option is the one
455
+ * single biggest cause of VR nausea, so the comfort-safe option is what's
439
456
  * wired to the stick.
440
457
  */
441
458
  private applySnapTurn;
442
459
  private applySmoothMove;
443
460
  private applyTeleport;
461
+ /** Walk the arc segment-by-segment, returning the first surface hit. */
462
+ private raycastArc;
444
463
  private collectTeleportTargets;
445
- /**
446
- * Where the teleport pointer currently lands this frame, or null.
447
- * Consumers use this to render an aim marker.
448
- */
449
- getTeleportPoint(): THREE.Vector3 | null;
464
+ /** Arc points up to the landing spot this frame; empty when not aiming. */
465
+ getAimCurve(): THREE.Vector3[];
466
+ /** Where the arc currently lands, or null when not aiming at a valid area. */
467
+ getLandingPoint(): THREE.Vector3 | null;
450
468
  }
451
469
 
452
470
  /**
@@ -500,8 +518,21 @@ declare class XRControllerVisualSystem implements EcsSystem {
500
518
  private readonly ready;
501
519
  /** How many controller slots to wire. Two covers every current headset. */
502
520
  private readonly slots;
503
- constructor(slots?: number);
521
+ /** Optional — when provided, the aim ray only shows over interactables. */
522
+ private readonly interactionSystem;
523
+ private readonly rays;
524
+ constructor(options?: {
525
+ slots?: number;
526
+ interactionSystem?: XRInteractionSystem;
527
+ });
504
528
  update(world: World): void;
529
+ /**
530
+ * Show the aim ray only when it is meaningful: hovering something
531
+ * interactive, or mid-grab. A permanently-drawn ray is visual noise, and it
532
+ * implies everything is clickable when most of the scene is not. Teleport
533
+ * aiming has its own arc, so the straight ray stays hidden for that.
534
+ */
535
+ private updateRayVisibility;
505
536
  /**
506
537
  * Parent the visuals to the XR rig when there is one, so locomotion moves the
507
538
  * hands with the player. Falls back to the scene root.
@@ -511,4 +542,20 @@ declare class XRControllerVisualSystem implements EcsSystem {
511
542
  dispose(): void;
512
543
  }
513
544
 
514
- export { AnimationSystem as A, CameraSyncSystem as C, EnvironmentSyncSystem as E, InstancedMeshSystem as I, LightSyncSystem as L, MaterialSyncSystem as M, NO_XR_CAPABILITIES as N, ObjectVisibilitySystem as O, PhysicsSyncSystem as P, SCRIPT_OBJECT_ROOT_FLAG as S, VRTeleportAreaSystem as V, type XrCapabilities as X, type XrInputState as a, AudioSystem as b, MeshGeometrySystem as c, type ModuleLoader as d, PostprocessingSyncSystem as e, ScriptBehaviourSystem as f, ScriptObjectSystem as g, type SelectionContext as h, VideoSystem as i, XRControllerVisualSystem as j, XRInputSystem as k, XRInteractionSystem as l, XRLocomotionSystem as m, XRSessionSystem as n, type XrHandedness as o, type XrInputKind as p, readXrCapabilities as r };
545
+ declare class XRTeleportVisualSystem implements EcsSystem {
546
+ private readonly locomotionSystem;
547
+ private readonly group;
548
+ private readonly arc;
549
+ private readonly arcGeometry;
550
+ private readonly marker;
551
+ private attached;
552
+ constructor(locomotionSystem: XRLocomotionSystem);
553
+ update(world: World): void;
554
+ private updateArcGeometry;
555
+ private createRing;
556
+ private createDot;
557
+ private setVisible;
558
+ dispose(): void;
559
+ }
560
+
561
+ export { AnimationSystem as A, CameraSyncSystem as C, EnvironmentSyncSystem as E, InstancedMeshSystem as I, LightSyncSystem as L, MaterialSyncSystem as M, NO_XR_CAPABILITIES as N, ObjectVisibilitySystem as O, PhysicsSyncSystem as P, SCRIPT_OBJECT_ROOT_FLAG as S, VRTeleportAreaSystem as V, type XrCapabilities as X, type XrInputState as a, AudioSystem as b, MeshGeometrySystem as c, type ModuleLoader as d, PostprocessingSyncSystem as e, ScriptBehaviourSystem as f, ScriptObjectSystem as g, type SelectionContext as h, VideoSystem as i, XRControllerVisualSystem as j, XRInputSystem as k, XRInteractionSystem as l, XRLocomotionSystem as m, XRSessionSystem as n, XRTeleportVisualSystem as o, type XrHandedness as p, type XrInputKind as q, readXrCapabilities as r };
@@ -1,4 +1,4 @@
1
- import { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_INSTANCED_MESH_PARAMETERS, j as DEFAULT_INSTANCE_TRANSFORM, k as DEFAULT_MESH_GEOMETRY_PARAMETERS, l as DEFAULT_PHYSICS_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, I as ImageComponent, o as ImageTarget, p as ImageTargetAnchor, q as ImageTargetAnchorOptions, r as ImageTargetReference, s as InstanceSlotComponent, t as InstanceTransform, u as InstancedMeshComponent, v as InstancedMeshKind, L as LightComponent, w as LightValueState, M as MaterialComponent, x as MaterialTypeValue, y as MaterialValueState, z as MeshComponent, B as MeshGeometryComponent, F as MeshGeometryParameters, G as MeshGeometryParametersByKind, H as ModelComponent, N as Name, O as Object3DRef, P as PhysicsComponent, J as PhysicsState, K as PlaneMeshParameters, R as RadiusHeightMeshParameters, Q as RadiusMeshParameters, S as RigidbodyState, T as RigidbodyType, U as ScriptComponent, V as ScriptEntry, W as ScriptObjectComponent, X as ScriptObjectComponentInput, Y as ScriptObjectRuntimeState, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, a0 as TextureFilteringValue, a1 as TransformModeValue, a2 as TransformSpaceValue, a3 as VRTeleportAreaComponent, a4 as VRTeleportAreaOptions, a5 as VideoComponent, a6 as VrTeleportShape, a7 as XRInteractableComponent, a8 as XRInteractableOptions, a9 as XRRigComponent, aa as XRRigOptions, ab as XrGrabMode, ac as XrLocomotionMode, ad as defaultMaterialValue, ae as normalizePhysicsState, af as setPhysicsLiveRef } from './XRRig-Cu-EyliG.cjs';
1
+ import { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_INSTANCED_MESH_PARAMETERS, j as DEFAULT_INSTANCE_TRANSFORM, k as DEFAULT_MESH_GEOMETRY_PARAMETERS, l as DEFAULT_PHYSICS_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, I as ImageComponent, o as ImageTarget, p as ImageTargetAnchor, q as ImageTargetAnchorOptions, r as ImageTargetReference, s as InstanceSlotComponent, t as InstanceTransform, u as InstancedMeshComponent, v as InstancedMeshKind, L as LightComponent, w as LightValueState, M as MaterialComponent, x as MaterialTypeValue, y as MaterialValueState, z as MeshComponent, B as MeshGeometryComponent, F as MeshGeometryParameters, G as MeshGeometryParametersByKind, H as ModelComponent, N as Name, O as Object3DRef, P as PhysicsComponent, J as PhysicsState, K as PlaneMeshParameters, R as RadiusHeightMeshParameters, Q as RadiusMeshParameters, S as RigidbodyState, T as RigidbodyType, U as ScriptComponent, V as ScriptEntry, W as ScriptObjectComponent, X as ScriptObjectComponentInput, Y as ScriptObjectRuntimeState, Z as Selectable, _ as SelectionTransformState, $ as SpriteComponent, a0 as TextureFilteringValue, a1 as TransformModeValue, a2 as TransformSpaceValue, a3 as VRTeleportAreaComponent, a4 as VRTeleportAreaOptions, a5 as VideoComponent, a6 as VrTeleportShape, a7 as XRInteractableComponent, a8 as XRInteractableOptions, a9 as XRRigComponent, aa as XRRigOptions, ab as XrGrabMode, ac as XrLocomotionMode, ad as defaultMaterialValue, ae as normalizePhysicsState, af as setPhysicsLiveRef } from './XRRig-2686IqLQ.cjs';
2
2
  import { C as Component, D as DEFAULT_ENVIRONMENT_STATE, a as DEFAULT_POSTPROCESSING_STATE, E as Environment, b as EnvironmentFogState, c as EnvironmentFogType, d as EnvironmentGradientEffect, e as EnvironmentSkyboxState, f as EnvironmentSkyboxType, g as EnvironmentState, P as ParentId, h as Postprocessing, i as PostprocessingState, T as TransformComponent, j as TransformData, V as Vec3 } from './System-vrU46Vuw.cjs';
3
3
 
4
4
  /**