@relu-interactives/spatial-ecs 0.3.8 → 0.3.10

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 (38) hide show
  1. package/dist/{XRHandPose-CxPz8VBp.d.ts → XRHandPose-CjacJ_16.d.ts} +70 -1
  2. package/dist/{XRHandPose-VuSbe4iz.d.cts → XRHandPose-hAtj9wm-.d.cts} +70 -1
  3. package/dist/{chunk-KIKIWCEB.js → chunk-5UVBEAGW.js} +4 -4
  4. package/dist/{chunk-KIKIWCEB.js.map → chunk-5UVBEAGW.js.map} +1 -1
  5. package/dist/{chunk-KVGGAL5V.js → chunk-ELSZ5U3F.js} +23 -3
  6. package/dist/chunk-ELSZ5U3F.js.map +1 -0
  7. package/dist/{chunk-L5BP727H.js → chunk-NJOO7NO6.js} +3 -3
  8. package/dist/{chunk-L5BP727H.js.map → chunk-NJOO7NO6.js.map} +1 -1
  9. package/dist/{chunk-LMTB4KQ4.js → chunk-O2HSIZFC.js} +591 -195
  10. package/dist/chunk-O2HSIZFC.js.map +1 -0
  11. package/dist/components/index.cjs +20 -0
  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/docs/guide/vr-and-hand-poses.md +48 -0
  17. package/dist/factories/index.cjs +19 -0
  18. package/dist/factories/index.cjs.map +1 -1
  19. package/dist/factories/index.d.cts +1 -1
  20. package/dist/factories/index.d.ts +1 -1
  21. package/dist/factories/index.js +3 -3
  22. package/dist/{index-C7XQyrgE.d.ts → index-B-KhN8Ox.d.ts} +51 -0
  23. package/dist/{index-BxdXgqiI.d.ts → index-B7JDsx4a.d.ts} +9 -2
  24. package/dist/{index-BIQoaKAA.d.cts → index-B9JqYr3Q.d.cts} +9 -2
  25. package/dist/{index-DyN50JZo.d.cts → index-DU-CF-3m.d.cts} +51 -0
  26. package/dist/index.cjs +729 -312
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +29 -6
  29. package/dist/index.d.ts +29 -6
  30. package/dist/index.js +8 -8
  31. package/dist/systems/index.cjs +635 -220
  32. package/dist/systems/index.cjs.map +1 -1
  33. package/dist/systems/index.d.cts +1 -1
  34. package/dist/systems/index.d.ts +1 -1
  35. package/dist/systems/index.js +3 -3
  36. package/package.json +1 -1
  37. package/dist/chunk-KVGGAL5V.js.map +0 -1
  38. package/dist/chunk-LMTB4KQ4.js.map +0 -1
@@ -1241,6 +1241,47 @@ type XrDistanceGrabBehavior = "snap" | "remote";
1241
1241
  * precise pickups with firm grabs — a chess piece versus a suitcase handle.
1242
1242
  */
1243
1243
  type XrGrabGesture = "any" | "pinch" | "full";
1244
+ /**
1245
+ * A hand-hold authored on the object.
1246
+ *
1247
+ * Without attach points a hand grabs wherever it happens to touch, which is
1248
+ * right for a ball and wrong for a rifle — a weapon has a grip and a foregrip,
1249
+ * and the hands belong on those exact spots. `role` is what lets an author say
1250
+ * "this is the trigger hand's hold" so a two-hand grab assembles correctly no
1251
+ * matter which hand arrives first.
1252
+ */
1253
+ type XrAttachPoint = {
1254
+ /** Stable id; referenced by scripts and by the inspector list. */
1255
+ id: string;
1256
+ name: string;
1257
+ /** Object-local position of the hold (unscaled). */
1258
+ position: {
1259
+ x: number;
1260
+ y: number;
1261
+ z: number;
1262
+ };
1263
+ /** Object-local orientation of the hold, radians. */
1264
+ rotation: {
1265
+ x: number;
1266
+ y: number;
1267
+ z: number;
1268
+ };
1269
+ /** Restrict to one hand, or `any`. */
1270
+ hand: "left" | "right" | "any";
1271
+ /** Whether this hold is the anchoring hand, the steering hand, or either. */
1272
+ role: "primary" | "secondary" | "any";
1273
+ };
1274
+ /**
1275
+ * How many hands may hold the object at once, and what a second grab does.
1276
+ *
1277
+ * `single` is a plain pickup. `handOff` lets the other hand TAKE it — the
1278
+ * everyday gesture of passing something between your hands. `two` keeps both
1279
+ * hands on it, which is what enables aiming a two-handed weapon and
1280
+ * pull-apart scaling.
1281
+ */
1282
+ type XrGrabHands = "single" | "handOff" | "two";
1283
+ /** How the second hand affects orientation. See `solveTwoHandTransform`. */
1284
+ type XrTwoHandRotation = "align" | "primary";
1244
1285
  /** Optional initializer for {@link XRInteractableComponent}. */
1245
1286
  type XRInteractableOptions = {
1246
1287
  enabled?: boolean;
@@ -1264,6 +1305,18 @@ type XRInteractableOptions = {
1264
1305
  y: number;
1265
1306
  z: number;
1266
1307
  };
1308
+ /** How many hands may hold it, and whether a second grab transfers it. */
1309
+ grabHands?: XrGrabHands;
1310
+ /** Whether the second hand aims the object or only scales it. */
1311
+ twoHandRotation?: XrTwoHandRotation;
1312
+ /** Let a two-hand grab resize the object by moving the hands apart. */
1313
+ allowTwoHandScale?: boolean;
1314
+ /** Smallest fraction of its size a single scaling gesture may reach. */
1315
+ minScale?: number;
1316
+ /** Largest multiple of its size a single scaling gesture may reach. */
1317
+ maxScale?: number;
1318
+ /** Authored hand-holds. Empty means grab anywhere. */
1319
+ attachPoints?: XrAttachPoint[];
1267
1320
  /** Carry the hand's momentum into the body on release. */
1268
1321
  throwOnRelease?: boolean;
1269
1322
  /** Scales released velocity; >1 makes throws feel stronger than real life. */
@@ -1304,6 +1357,18 @@ declare class XRInteractableComponent extends Component {
1304
1357
  y: number;
1305
1358
  z: number;
1306
1359
  };
1360
+ /** How many hands may hold it, and whether a second grab transfers it. */
1361
+ grabHands: XrGrabHands;
1362
+ /** Whether the second hand aims the object or only scales it. */
1363
+ twoHandRotation: XrTwoHandRotation;
1364
+ /** Whether a two-hand grab may resize the object. */
1365
+ allowTwoHandScale: boolean;
1366
+ /** Scale floor for one gesture, as a fraction of the size at grab time. */
1367
+ minScale: number;
1368
+ /** Scale ceiling for one gesture, as a multiple of the size at grab time. */
1369
+ maxScale: number;
1370
+ /** Authored hand-holds; empty means grab anywhere. */
1371
+ attachPoints: XrAttachPoint[];
1307
1372
  /** Carry hand momentum into the body on release. */
1308
1373
  throwOnRelease: boolean;
1309
1374
  /** Multiplier on released velocity. */
@@ -1311,6 +1376,10 @@ declare class XRInteractableComponent extends Component {
1311
1376
  highlightOnHover: boolean;
1312
1377
  constructor(options?: XRInteractableOptions);
1313
1378
  }
1379
+ /** An attach point with every field populated, for the editor and AI tools. */
1380
+ declare function createAttachPoint(partial: Partial<XrAttachPoint> & {
1381
+ id: string;
1382
+ }): XrAttachPoint;
1314
1383
 
1315
1384
  /**
1316
1385
  * Where the headset's origin sits in the scene.
@@ -1508,4 +1577,4 @@ declare class XRHandPoseComponent extends Component {
1508
1577
  constructor(options?: XRHandPoseOptions);
1509
1578
  }
1510
1579
 
1511
- export { SelectionTransformState as $, AnimationComponent as A, MeshComponent as B, CameraComponent as C, DEFAULT_COLLIDER_STATE as D, type EditableMeshObjectKind as E, MeshGeometryComponent as F, type MeshGeometryParameters as G, type MeshGeometryParametersByKind as H, ImageComponent as I, ModelComponent as J, type PhysicsState as K, LightComponent as L, MaterialComponent as M, Name as N, Object3DRef as O, PhysicsComponent as P, type PlaneMeshParameters as Q, type RadiusHeightMeshParameters as R, type RadiusMeshParameters as S, type RigidbodyState as T, type RigidbodyType as U, ScriptComponent as V, type ScriptEntry as W, ScriptObjectComponent as X, type ScriptObjectComponentInput as Y, type ScriptObjectRuntimeState as Z, Selectable as _, type AnimationComponentOptions as a, SpriteComponent as a0, type TextureFilteringValue as a1, type TransformModeValue as a2, type TransformSpaceValue as a3, VRTeleportAreaComponent as a4, type VRTeleportAreaOptions as a5, VideoComponent as a6, type VrTeleportShape as a7, XRHandPoseComponent as a8, type XRHandPoseOptions as a9, XRInteractableComponent as aa, type XRInteractableOptions as ab, XRInteractorComponent as ac, type XRInteractorOptions as ad, XRInteractorSideComponent as ae, XRRigComponent as af, type XRRigOptions as ag, type XrGrabMode as ah, type XrHandPoseEntry as ai, type XrHandPreset as aj, type XrInteractorSide as ak, type XrInteractorType as al, type XrLocomotionMode as am, type XrTrackingOrigin as an, createHandPoseEntry as ao, defaultMaterialValue as ap, handPoseDefinitionFor as aq, normalizePhysicsState as ar, setPhysicsLiveRef as as, type AnimationStateCallbacks as at, AnimationStateMachine as au, AnimationStateManager as av, type StateMachine as aw, AudioComponent as b, type CameraComponentOptions as c, type CameraProjection as d, type CameraRuntimeType as e, type ColliderShape as f, type ColliderState as g, type CubeMeshParameters as h, DEFAULT_INSTANCED_MESH_PARAMETERS as i, DEFAULT_INSTANCE_TRANSFORM as j, DEFAULT_MESH_GEOMETRY_PARAMETERS as k, DEFAULT_PHYSICS_STATE as l, DEFAULT_POSE_CURLS as m, DEFAULT_RIGIDBODY_STATE as n, EntityType as o, ImageTarget as p, ImageTargetAnchor as q, type ImageTargetAnchorOptions as r, type ImageTargetReference as s, InstanceSlotComponent as t, type InstanceTransform as u, InstancedMeshComponent as v, type InstancedMeshKind as w, type LightValueState as x, type MaterialTypeValue as y, type MaterialValueState as z };
1580
+ export { SelectionTransformState as $, AnimationComponent as A, MeshComponent as B, CameraComponent as C, DEFAULT_COLLIDER_STATE as D, type EditableMeshObjectKind as E, MeshGeometryComponent as F, type MeshGeometryParameters as G, type MeshGeometryParametersByKind as H, ImageComponent as I, ModelComponent as J, type PhysicsState as K, LightComponent as L, MaterialComponent as M, Name as N, Object3DRef as O, PhysicsComponent as P, type PlaneMeshParameters as Q, type RadiusHeightMeshParameters as R, type RadiusMeshParameters as S, type RigidbodyState as T, type RigidbodyType as U, ScriptComponent as V, type ScriptEntry as W, ScriptObjectComponent as X, type ScriptObjectComponentInput as Y, type ScriptObjectRuntimeState as Z, Selectable as _, type AnimationComponentOptions as a, SpriteComponent as a0, type TextureFilteringValue as a1, type TransformModeValue as a2, type TransformSpaceValue as a3, VRTeleportAreaComponent as a4, type VRTeleportAreaOptions as a5, VideoComponent as a6, type VrTeleportShape as a7, XRHandPoseComponent as a8, type XRHandPoseOptions as a9, type AnimationStateCallbacks as aA, AnimationStateMachine as aB, AnimationStateManager as aC, type StateMachine as aD, XRInteractableComponent as aa, type XRInteractableOptions as ab, XRInteractorComponent as ac, type XRInteractorOptions as ad, XRInteractorSideComponent as ae, XRRigComponent as af, type XRRigOptions as ag, type XrAttachPoint as ah, type XrDistanceGrabBehavior as ai, type XrGrabGesture as aj, type XrGrabHands as ak, type XrGrabMode as al, type XrGrabReach as am, type XrHandPoseEntry as an, type XrHandPreset as ao, type XrInteractorSide as ap, type XrInteractorType as aq, type XrLocomotionMode as ar, type XrTrackingOrigin as as, type XrTwoHandRotation as at, createAttachPoint as au, createHandPoseEntry as av, defaultMaterialValue as aw, handPoseDefinitionFor as ax, normalizePhysicsState as ay, setPhysicsLiveRef as az, AudioComponent as b, type CameraComponentOptions as c, type CameraProjection as d, type CameraRuntimeType as e, type ColliderShape as f, type ColliderState as g, type CubeMeshParameters as h, DEFAULT_INSTANCED_MESH_PARAMETERS as i, DEFAULT_INSTANCE_TRANSFORM as j, DEFAULT_MESH_GEOMETRY_PARAMETERS as k, DEFAULT_PHYSICS_STATE as l, DEFAULT_POSE_CURLS as m, DEFAULT_RIGIDBODY_STATE as n, EntityType as o, ImageTarget as p, ImageTargetAnchor as q, type ImageTargetAnchorOptions as r, type ImageTargetReference as s, InstanceSlotComponent as t, type InstanceTransform as u, InstancedMeshComponent as v, type InstancedMeshKind as w, type LightValueState as x, type MaterialTypeValue as y, type MaterialValueState as z };
@@ -1241,6 +1241,47 @@ type XrDistanceGrabBehavior = "snap" | "remote";
1241
1241
  * precise pickups with firm grabs — a chess piece versus a suitcase handle.
1242
1242
  */
1243
1243
  type XrGrabGesture = "any" | "pinch" | "full";
1244
+ /**
1245
+ * A hand-hold authored on the object.
1246
+ *
1247
+ * Without attach points a hand grabs wherever it happens to touch, which is
1248
+ * right for a ball and wrong for a rifle — a weapon has a grip and a foregrip,
1249
+ * and the hands belong on those exact spots. `role` is what lets an author say
1250
+ * "this is the trigger hand's hold" so a two-hand grab assembles correctly no
1251
+ * matter which hand arrives first.
1252
+ */
1253
+ type XrAttachPoint = {
1254
+ /** Stable id; referenced by scripts and by the inspector list. */
1255
+ id: string;
1256
+ name: string;
1257
+ /** Object-local position of the hold (unscaled). */
1258
+ position: {
1259
+ x: number;
1260
+ y: number;
1261
+ z: number;
1262
+ };
1263
+ /** Object-local orientation of the hold, radians. */
1264
+ rotation: {
1265
+ x: number;
1266
+ y: number;
1267
+ z: number;
1268
+ };
1269
+ /** Restrict to one hand, or `any`. */
1270
+ hand: "left" | "right" | "any";
1271
+ /** Whether this hold is the anchoring hand, the steering hand, or either. */
1272
+ role: "primary" | "secondary" | "any";
1273
+ };
1274
+ /**
1275
+ * How many hands may hold the object at once, and what a second grab does.
1276
+ *
1277
+ * `single` is a plain pickup. `handOff` lets the other hand TAKE it — the
1278
+ * everyday gesture of passing something between your hands. `two` keeps both
1279
+ * hands on it, which is what enables aiming a two-handed weapon and
1280
+ * pull-apart scaling.
1281
+ */
1282
+ type XrGrabHands = "single" | "handOff" | "two";
1283
+ /** How the second hand affects orientation. See `solveTwoHandTransform`. */
1284
+ type XrTwoHandRotation = "align" | "primary";
1244
1285
  /** Optional initializer for {@link XRInteractableComponent}. */
1245
1286
  type XRInteractableOptions = {
1246
1287
  enabled?: boolean;
@@ -1264,6 +1305,18 @@ type XRInteractableOptions = {
1264
1305
  y: number;
1265
1306
  z: number;
1266
1307
  };
1308
+ /** How many hands may hold it, and whether a second grab transfers it. */
1309
+ grabHands?: XrGrabHands;
1310
+ /** Whether the second hand aims the object or only scales it. */
1311
+ twoHandRotation?: XrTwoHandRotation;
1312
+ /** Let a two-hand grab resize the object by moving the hands apart. */
1313
+ allowTwoHandScale?: boolean;
1314
+ /** Smallest fraction of its size a single scaling gesture may reach. */
1315
+ minScale?: number;
1316
+ /** Largest multiple of its size a single scaling gesture may reach. */
1317
+ maxScale?: number;
1318
+ /** Authored hand-holds. Empty means grab anywhere. */
1319
+ attachPoints?: XrAttachPoint[];
1267
1320
  /** Carry the hand's momentum into the body on release. */
1268
1321
  throwOnRelease?: boolean;
1269
1322
  /** Scales released velocity; >1 makes throws feel stronger than real life. */
@@ -1304,6 +1357,18 @@ declare class XRInteractableComponent extends Component {
1304
1357
  y: number;
1305
1358
  z: number;
1306
1359
  };
1360
+ /** How many hands may hold it, and whether a second grab transfers it. */
1361
+ grabHands: XrGrabHands;
1362
+ /** Whether the second hand aims the object or only scales it. */
1363
+ twoHandRotation: XrTwoHandRotation;
1364
+ /** Whether a two-hand grab may resize the object. */
1365
+ allowTwoHandScale: boolean;
1366
+ /** Scale floor for one gesture, as a fraction of the size at grab time. */
1367
+ minScale: number;
1368
+ /** Scale ceiling for one gesture, as a multiple of the size at grab time. */
1369
+ maxScale: number;
1370
+ /** Authored hand-holds; empty means grab anywhere. */
1371
+ attachPoints: XrAttachPoint[];
1307
1372
  /** Carry hand momentum into the body on release. */
1308
1373
  throwOnRelease: boolean;
1309
1374
  /** Multiplier on released velocity. */
@@ -1311,6 +1376,10 @@ declare class XRInteractableComponent extends Component {
1311
1376
  highlightOnHover: boolean;
1312
1377
  constructor(options?: XRInteractableOptions);
1313
1378
  }
1379
+ /** An attach point with every field populated, for the editor and AI tools. */
1380
+ declare function createAttachPoint(partial: Partial<XrAttachPoint> & {
1381
+ id: string;
1382
+ }): XrAttachPoint;
1314
1383
 
1315
1384
  /**
1316
1385
  * Where the headset's origin sits in the scene.
@@ -1508,4 +1577,4 @@ declare class XRHandPoseComponent extends Component {
1508
1577
  constructor(options?: XRHandPoseOptions);
1509
1578
  }
1510
1579
 
1511
- export { SelectionTransformState as $, AnimationComponent as A, MeshComponent as B, CameraComponent as C, DEFAULT_COLLIDER_STATE as D, type EditableMeshObjectKind as E, MeshGeometryComponent as F, type MeshGeometryParameters as G, type MeshGeometryParametersByKind as H, ImageComponent as I, ModelComponent as J, type PhysicsState as K, LightComponent as L, MaterialComponent as M, Name as N, Object3DRef as O, PhysicsComponent as P, type PlaneMeshParameters as Q, type RadiusHeightMeshParameters as R, type RadiusMeshParameters as S, type RigidbodyState as T, type RigidbodyType as U, ScriptComponent as V, type ScriptEntry as W, ScriptObjectComponent as X, type ScriptObjectComponentInput as Y, type ScriptObjectRuntimeState as Z, Selectable as _, type AnimationComponentOptions as a, SpriteComponent as a0, type TextureFilteringValue as a1, type TransformModeValue as a2, type TransformSpaceValue as a3, VRTeleportAreaComponent as a4, type VRTeleportAreaOptions as a5, VideoComponent as a6, type VrTeleportShape as a7, XRHandPoseComponent as a8, type XRHandPoseOptions as a9, XRInteractableComponent as aa, type XRInteractableOptions as ab, XRInteractorComponent as ac, type XRInteractorOptions as ad, XRInteractorSideComponent as ae, XRRigComponent as af, type XRRigOptions as ag, type XrGrabMode as ah, type XrHandPoseEntry as ai, type XrHandPreset as aj, type XrInteractorSide as ak, type XrInteractorType as al, type XrLocomotionMode as am, type XrTrackingOrigin as an, createHandPoseEntry as ao, defaultMaterialValue as ap, handPoseDefinitionFor as aq, normalizePhysicsState as ar, setPhysicsLiveRef as as, type AnimationStateCallbacks as at, AnimationStateMachine as au, AnimationStateManager as av, type StateMachine as aw, AudioComponent as b, type CameraComponentOptions as c, type CameraProjection as d, type CameraRuntimeType as e, type ColliderShape as f, type ColliderState as g, type CubeMeshParameters as h, DEFAULT_INSTANCED_MESH_PARAMETERS as i, DEFAULT_INSTANCE_TRANSFORM as j, DEFAULT_MESH_GEOMETRY_PARAMETERS as k, DEFAULT_PHYSICS_STATE as l, DEFAULT_POSE_CURLS as m, DEFAULT_RIGIDBODY_STATE as n, EntityType as o, ImageTarget as p, ImageTargetAnchor as q, type ImageTargetAnchorOptions as r, type ImageTargetReference as s, InstanceSlotComponent as t, type InstanceTransform as u, InstancedMeshComponent as v, type InstancedMeshKind as w, type LightValueState as x, type MaterialTypeValue as y, type MaterialValueState as z };
1580
+ export { SelectionTransformState as $, AnimationComponent as A, MeshComponent as B, CameraComponent as C, DEFAULT_COLLIDER_STATE as D, type EditableMeshObjectKind as E, MeshGeometryComponent as F, type MeshGeometryParameters as G, type MeshGeometryParametersByKind as H, ImageComponent as I, ModelComponent as J, type PhysicsState as K, LightComponent as L, MaterialComponent as M, Name as N, Object3DRef as O, PhysicsComponent as P, type PlaneMeshParameters as Q, type RadiusHeightMeshParameters as R, type RadiusMeshParameters as S, type RigidbodyState as T, type RigidbodyType as U, ScriptComponent as V, type ScriptEntry as W, ScriptObjectComponent as X, type ScriptObjectComponentInput as Y, type ScriptObjectRuntimeState as Z, Selectable as _, type AnimationComponentOptions as a, SpriteComponent as a0, type TextureFilteringValue as a1, type TransformModeValue as a2, type TransformSpaceValue as a3, VRTeleportAreaComponent as a4, type VRTeleportAreaOptions as a5, VideoComponent as a6, type VrTeleportShape as a7, XRHandPoseComponent as a8, type XRHandPoseOptions as a9, type AnimationStateCallbacks as aA, AnimationStateMachine as aB, AnimationStateManager as aC, type StateMachine as aD, XRInteractableComponent as aa, type XRInteractableOptions as ab, XRInteractorComponent as ac, type XRInteractorOptions as ad, XRInteractorSideComponent as ae, XRRigComponent as af, type XRRigOptions as ag, type XrAttachPoint as ah, type XrDistanceGrabBehavior as ai, type XrGrabGesture as aj, type XrGrabHands as ak, type XrGrabMode as al, type XrGrabReach as am, type XrHandPoseEntry as an, type XrHandPreset as ao, type XrInteractorSide as ap, type XrInteractorType as aq, type XrLocomotionMode as ar, type XrTrackingOrigin as as, type XrTwoHandRotation as at, createAttachPoint as au, createHandPoseEntry as av, defaultMaterialValue as aw, handPoseDefinitionFor as ax, normalizePhysicsState as ay, setPhysicsLiveRef as az, AudioComponent as b, type CameraComponentOptions as c, type CameraProjection as d, type CameraRuntimeType as e, type ColliderShape as f, type ColliderState as g, type CubeMeshParameters as h, DEFAULT_INSTANCED_MESH_PARAMETERS as i, DEFAULT_INSTANCE_TRANSFORM as j, DEFAULT_MESH_GEOMETRY_PARAMETERS as k, DEFAULT_PHYSICS_STATE as l, DEFAULT_POSE_CURLS as m, DEFAULT_RIGIDBODY_STATE as n, EntityType as o, ImageTarget as p, ImageTargetAnchor as q, type ImageTargetAnchorOptions as r, type ImageTargetReference as s, InstanceSlotComponent as t, type InstanceTransform as u, InstancedMeshComponent as v, type InstancedMeshKind as w, type LightValueState as x, type MaterialTypeValue as y, type MaterialValueState as z };
@@ -1,5 +1,5 @@
1
- import { createTransform, applyTransform, resolveDracoDecoderPath, loadSharedGltf, cloneModelScene } from './chunk-L5BP727H.js';
2
- import { AnimationComponent, AudioComponent, Object3DRef, CameraComponent, MeshGeometryComponent, PhysicsComponent, Environment, EntityType, ImageComponent, ImageTargetAnchor, ImageTarget, LightComponent, MaterialComponent, MeshComponent, ModelComponent, Name, ParentId, Postprocessing, ScriptComponent, ScriptObjectComponent, Selectable, SelectionTransformState, SpriteComponent, TransformComponent, InstancedMeshComponent, InstanceSlotComponent, VideoComponent, XRRigComponent, VRTeleportAreaComponent, XRHandPoseComponent, XRInteractableComponent, XRInteractorComponent, XRInteractorSideComponent, DEFAULT_INSTANCE_TRANSFORM } from './chunk-KVGGAL5V.js';
1
+ import { createTransform, applyTransform, resolveDracoDecoderPath, loadSharedGltf, cloneModelScene } from './chunk-NJOO7NO6.js';
2
+ import { AnimationComponent, AudioComponent, Object3DRef, CameraComponent, MeshGeometryComponent, PhysicsComponent, Environment, EntityType, ImageComponent, ImageTargetAnchor, ImageTarget, LightComponent, MaterialComponent, MeshComponent, ModelComponent, Name, ParentId, Postprocessing, ScriptComponent, ScriptObjectComponent, Selectable, SelectionTransformState, SpriteComponent, TransformComponent, InstancedMeshComponent, InstanceSlotComponent, VideoComponent, XRRigComponent, VRTeleportAreaComponent, XRHandPoseComponent, XRInteractableComponent, XRInteractorComponent, XRInteractorSideComponent, DEFAULT_INSTANCE_TRANSFORM } from './chunk-ELSZ5U3F.js';
3
3
  import { __name } from './chunk-OY7ZODZP.js';
4
4
  import * as THREE25 from 'three';
5
5
  import { RectAreaLightHelper } from 'three/examples/jsm/helpers/RectAreaLightHelper.js';
@@ -1665,5 +1665,5 @@ function registerDefaultFactories(objectManagementSystem) {
1665
1665
  __name(registerDefaultFactories, "registerDefaultFactories");
1666
1666
 
1667
1667
  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, createXRHandPoseComponent, createXRInteractableComponent, createXRInteractorComponent, createXRInteractorSideComponent, createXRRigComponent, registerDefaultComponentFactories, registerDefaultFactories };
1668
- //# sourceMappingURL=chunk-KIKIWCEB.js.map
1669
- //# sourceMappingURL=chunk-KIKIWCEB.js.map
1668
+ //# sourceMappingURL=chunk-5UVBEAGW.js.map
1669
+ //# sourceMappingURL=chunk-5UVBEAGW.js.map