@relu-interactives/spatial-ecs 0.3.11 → 0.3.13
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/{XRHandPose-C-KJeYcJ.d.cts → XRHandPose-9mVZVU3K.d.cts} +32 -8
- package/dist/{XRHandPose-B6I4y1lj.d.ts → XRHandPose-To0260Lc.d.ts} +32 -8
- package/dist/{chunk-TXEGYR76.js → chunk-3LDQ4GVZ.js} +7 -5
- package/dist/chunk-3LDQ4GVZ.js.map +1 -0
- package/dist/{chunk-Y3AC3VZ2.js → chunk-CHZQ4NXP.js} +3 -3
- package/dist/{chunk-Y3AC3VZ2.js.map → chunk-CHZQ4NXP.js.map} +1 -1
- package/dist/{chunk-FSHRPY65.js → chunk-JHFBEMXM.js} +4 -4
- package/dist/{chunk-FSHRPY65.js.map → chunk-JHFBEMXM.js.map} +1 -1
- package/dist/{chunk-KLU2M43M.js → chunk-N2634D4W.js} +112 -29
- package/dist/chunk-N2634D4W.js.map +1 -0
- package/dist/components/index.cjs +5 -3
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +1 -1
- package/dist/docs/guide/vr-and-hand-poses.md +5 -3
- package/dist/factories/index.cjs +5 -3
- package/dist/factories/index.cjs.map +1 -1
- package/dist/factories/index.d.cts +1 -1
- package/dist/factories/index.d.ts +1 -1
- package/dist/factories/index.js +3 -3
- package/dist/{index-DPRnnSI-.d.cts → index-BPKDsVF7.d.cts} +1 -1
- package/dist/{index-Bi_wIo1o.d.ts → index-BbXqWyEZ.d.ts} +34 -0
- package/dist/{index-CEZp7qLL.d.ts → index-Wzs-8FYa.d.ts} +1 -1
- package/dist/{index-jlgDou9W.d.cts → index-lqw8BM6E.d.cts} +34 -0
- package/dist/index.cjs +113 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +8 -8
- package/dist/systems/index.cjs +113 -28
- package/dist/systems/index.cjs.map +1 -1
- package/dist/systems/index.d.cts +1 -1
- package/dist/systems/index.d.ts +1 -1
- package/dist/systems/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-KLU2M43M.js.map +0 -1
- package/dist/chunk-TXEGYR76.js.map +0 -1
|
@@ -1938,8 +1938,8 @@ var _XRInteractableComponent = class _XRInteractableComponent extends Component
|
|
|
1938
1938
|
this.attachPoints = (options?.attachPoints ?? []).map(
|
|
1939
1939
|
(point) => createAttachPoint(point)
|
|
1940
1940
|
);
|
|
1941
|
-
this.
|
|
1942
|
-
this.
|
|
1941
|
+
this.applyVelocityOnRelease = options?.applyVelocityOnRelease ?? true;
|
|
1942
|
+
this.velocityScale = options?.velocityScale ?? 1;
|
|
1943
1943
|
this.hoverBehavior = options?.hoverBehavior ?? "color";
|
|
1944
1944
|
this.hoverColor = options?.hoverColor ?? "#4da3ff";
|
|
1945
1945
|
this.hoverScale = options?.hoverScale ?? 1.06;
|
|
@@ -1983,7 +1983,9 @@ var _XRInteractorComponent = class _XRInteractorComponent extends Component {
|
|
|
1983
1983
|
this.handColor = options?.handColor ?? "#e8b48a";
|
|
1984
1984
|
this.handOpacity = options?.handOpacity ?? 1;
|
|
1985
1985
|
this.handEmissiveIntensity = options?.handEmissiveIntensity ?? 0;
|
|
1986
|
-
this.
|
|
1986
|
+
this.rayVisibility = options?.rayVisibility ?? "interacting";
|
|
1987
|
+
this.rayColor = options?.rayColor ?? "#4da3ff";
|
|
1988
|
+
this.rayThickness = options?.rayThickness ?? 6e-3;
|
|
1987
1989
|
}
|
|
1988
1990
|
};
|
|
1989
1991
|
__name(_XRInteractorComponent, "XRInteractorComponent");
|