@opsydyn/effect-three-foldkit 0.4.0 → 1.0.0-next.0
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/CHANGELOG.md +39 -0
- package/README.md +29 -23
- package/dist/boxSelect.d.ts +91 -117
- package/dist/boxSelect.d.ts.map +1 -1
- package/dist/browser.d.ts +3 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +32 -0
- package/dist/browser.js.map +10 -0
- package/dist/element.d.ts +13 -869
- package/dist/element.d.ts.map +1 -1
- package/dist/index.d.ts +17 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +173 -2383
- package/dist/index.js.map +14 -38
- package/dist/inspector.d.ts +4 -21
- package/dist/inspector.d.ts.map +1 -1
- package/dist/measuringTape.d.ts +39 -46
- package/dist/measuringTape.d.ts.map +1 -1
- package/dist/mount.d.ts +17 -11
- package/dist/mount.d.ts.map +1 -1
- package/dist/overlayView.d.ts +7 -18
- package/dist/overlayView.d.ts.map +1 -1
- package/dist/pivotControls.d.ts +64 -76
- package/dist/pivotControls.d.ts.map +1 -1
- package/dist/transformGizmo.d.ts +113 -125
- package/dist/transformGizmo.d.ts.map +1 -1
- package/dist/view.d.ts +37 -4
- package/dist/view.d.ts.map +1 -1
- package/dist/viewportGizmo.d.ts +107 -119
- package/dist/viewportGizmo.d.ts.map +1 -1
- package/package.json +15 -10
- package/src/boxSelect.ts +12 -133
- package/src/browser.ts +16 -0
- package/src/element.ts +19 -106
- package/src/index.ts +35 -16
- package/src/inspector.ts +70 -93
- package/src/measuringTape.ts +28 -92
- package/src/mount.ts +53 -286
- package/src/overlayView.ts +36 -57
- package/src/pivotControls.ts +8 -94
- package/src/transformGizmo.ts +8 -108
- package/src/view.ts +89 -51
- package/src/viewportGizmo.ts +8 -97
- package/dist/assets.d.ts +0 -53
- package/dist/assets.d.ts.map +0 -1
- package/dist/dom/animationFrames.d.ts +0 -12
- package/dist/dom/animationFrames.d.ts.map +0 -1
- package/dist/dom/canvas.d.ts +0 -26
- package/dist/dom/canvas.d.ts.map +0 -1
- package/dist/dom/latch.d.ts +0 -15
- package/dist/dom/latch.d.ts.map +0 -1
- package/dist/dom/models.d.ts +0 -10
- package/dist/dom/models.d.ts.map +0 -1
- package/dist/dom/overlays.d.ts +0 -24
- package/dist/dom/overlays.d.ts.map +0 -1
- package/dist/dom/pointer.d.ts +0 -49
- package/dist/dom/pointer.d.ts.map +0 -1
- package/dist/dom/postprocessing.d.ts +0 -22
- package/dist/dom/postprocessing.d.ts.map +0 -1
- package/dist/dom/property.d.ts +0 -15
- package/dist/dom/property.d.ts.map +0 -1
- package/dist/dom/reconciled.d.ts +0 -10
- package/dist/dom/reconciled.d.ts.map +0 -1
- package/dist/dom/renderSettings.d.ts +0 -58
- package/dist/dom/renderSettings.d.ts.map +0 -1
- package/dist/dom/typedScenes.d.ts +0 -14
- package/dist/dom/typedScenes.d.ts.map +0 -1
- package/dist/dom/updates.d.ts +0 -8
- package/dist/dom/updates.d.ts.map +0 -1
- package/dist/dom/viewport.d.ts +0 -40
- package/dist/dom/viewport.d.ts.map +0 -1
- package/dist/dom/webgl.d.ts +0 -12
- package/dist/dom/webgl.d.ts.map +0 -1
- package/dist/dom/webgpu.d.ts +0 -24
- package/dist/dom/webgpu.d.ts.map +0 -1
- package/dist/dom/webgpuPostprocessing.d.ts +0 -4
- package/dist/dom/webgpuPostprocessing.d.ts.map +0 -1
- package/dist/dom/xr.d.ts +0 -53
- package/dist/dom/xr.d.ts.map +0 -1
- package/dist/dom/xrGlide.d.ts +0 -49
- package/dist/dom/xrGlide.d.ts.map +0 -1
- package/dist/dom/xrHub.d.ts +0 -45
- package/dist/dom/xrHub.d.ts.map +0 -1
- package/dist/dom/xrInputs.d.ts +0 -40
- package/dist/dom/xrInputs.d.ts.map +0 -1
- package/dist/dom/xrSpaces.d.ts +0 -33
- package/dist/dom/xrSpaces.d.ts.map +0 -1
- package/dist/dom/xrTarget.d.ts +0 -36
- package/dist/dom/xrTarget.d.ts.map +0 -1
- package/dist/environment.d.ts +0 -64
- package/dist/environment.d.ts.map +0 -1
- package/dist/xr.d.ts +0 -34
- package/dist/xr.d.ts.map +0 -1
- package/src/assets.ts +0 -151
- package/src/dom/animationFrames.ts +0 -32
- package/src/dom/canvas.ts +0 -54
- package/src/dom/latch.ts +0 -36
- package/src/dom/models.ts +0 -37
- package/src/dom/overlays.ts +0 -63
- package/src/dom/pointer.ts +0 -163
- package/src/dom/postprocessing.ts +0 -116
- package/src/dom/property.ts +0 -43
- package/src/dom/reconciled.ts +0 -51
- package/src/dom/renderSettings.ts +0 -117
- package/src/dom/typedScenes.ts +0 -21
- package/src/dom/updates.ts +0 -14
- package/src/dom/viewport.ts +0 -97
- package/src/dom/webgl.ts +0 -231
- package/src/dom/webgpu.ts +0 -220
- package/src/dom/webgpuPostprocessing.ts +0 -102
- package/src/dom/xr.ts +0 -211
- package/src/dom/xrGlide.ts +0 -114
- package/src/dom/xrHub.ts +0 -118
- package/src/dom/xrInputs.ts +0 -309
- package/src/dom/xrSpaces.ts +0 -287
- package/src/dom/xrTarget.ts +0 -71
- package/src/environment.ts +0 -78
- package/src/xr.ts +0 -36
package/dist/transformGizmo.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A transform gizmo as
|
|
2
|
+
* A transform gizmo as an Effect UI submodel (roadmap, "Beyond parity" 5): the core's pure
|
|
3
3
|
* gizmo (`gizmoNodes`, `pressGizmo`, `dragGizmo`, after three's `TransformControls`)
|
|
4
4
|
* with Messages for the scene's pointer events and OutMessages for what the parent does
|
|
5
5
|
* with them. The parent owns where its objects are; the submodel owns only the gizmo:
|
|
@@ -16,143 +16,131 @@
|
|
|
16
16
|
*
|
|
17
17
|
* @module
|
|
18
18
|
*/
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly
|
|
40
|
-
readonly rotation: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
41
|
-
readonly scale: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
19
|
+
import { UiSchema } from '@effect/ui';
|
|
20
|
+
import { TransformGizmo as Controller } from '@opsydyn/effect-three/browser';
|
|
21
|
+
export declare const Model: import("effect/Schema").Struct<{
|
|
22
|
+
readonly key: import("effect/Schema").String;
|
|
23
|
+
readonly gizmo: import("effect/Schema").Struct<{
|
|
24
|
+
readonly mode: import("effect/Schema").Literals<readonly ["translate", "rotate", "scale"]>;
|
|
25
|
+
readonly space: import("effect/Schema").Literals<readonly ["world", "local"]>;
|
|
26
|
+
readonly size: import("effect/Schema").Finite;
|
|
27
|
+
readonly translationSnap: import("effect/Schema").NullOr<import("effect/Schema").Finite>;
|
|
28
|
+
readonly rotationSnap: import("effect/Schema").NullOr<import("effect/Schema").Finite>;
|
|
29
|
+
readonly scaleSnap: import("effect/Schema").NullOr<import("effect/Schema").Finite>;
|
|
30
|
+
readonly showX: import("effect/Schema").Boolean;
|
|
31
|
+
readonly showY: import("effect/Schema").Boolean;
|
|
32
|
+
readonly showZ: import("effect/Schema").Boolean;
|
|
33
|
+
readonly hovered: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["x", "y", "z", "xy", "yz", "xz", "xyz"]>>;
|
|
34
|
+
readonly grab: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
35
|
+
readonly handle: import("effect/Schema").Literals<readonly ["x", "y", "z", "xy", "yz", "xz", "xyz"]>;
|
|
36
|
+
readonly start: import("effect/Schema").Struct<{
|
|
37
|
+
readonly position: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
38
|
+
readonly rotation: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
39
|
+
readonly scale: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
42
40
|
}>;
|
|
43
|
-
readonly from: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
44
|
-
readonly plane: Schema.Struct<{
|
|
45
|
-
readonly normal: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
46
|
-
readonly constant: Schema.Finite;
|
|
41
|
+
readonly from: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
42
|
+
readonly plane: import("effect/Schema").Struct<{
|
|
43
|
+
readonly normal: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
44
|
+
readonly constant: import("effect/Schema").Finite;
|
|
47
45
|
}>;
|
|
48
|
-
readonly eye: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
49
|
-
readonly distance: Schema.Finite;
|
|
46
|
+
readonly eye: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
47
|
+
readonly distance: import("effect/Schema").Finite;
|
|
50
48
|
}>>;
|
|
51
49
|
}>;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly scale: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
50
|
+
readonly last: import("effect/Schema").Option<import("effect/Schema").Struct<{
|
|
51
|
+
readonly position: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
52
|
+
readonly rotation: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
53
|
+
readonly scale: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
57
54
|
}>>;
|
|
58
|
-
}
|
|
59
|
-
export type Model =
|
|
60
|
-
export declare const Message:
|
|
61
|
-
readonly
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
55
|
+
}>, init: (key: string, options?: Parameters<typeof import("@opsydyn/effect-three").gizmo>[0]) => Controller.Model, handleOf: (model: Controller.Model, key: string) => import("effect/Option").Option<import("@opsydyn/effect-three").GizmoHandle>, held: (model: Controller.Model) => boolean, nodes: (model: Controller.Model, placement: import("@opsydyn/effect-three").Placement, camera: import("@opsydyn/effect-three").Camera) => import("@opsydyn/effect-three").SceneNode;
|
|
56
|
+
export type Model = Controller.Model;
|
|
57
|
+
export declare const Message: UiSchema.TaggedEnum<{
|
|
58
|
+
readonly ChoseMode: import("effect/Schema").TaggedStruct<"ChoseMode", {
|
|
59
|
+
readonly mode: import("effect/Schema").Literals<readonly ["translate", "rotate", "scale"]>;
|
|
60
|
+
}>;
|
|
61
|
+
readonly ChoseSpace: import("effect/Schema").TaggedStruct<"ChoseSpace", {
|
|
62
|
+
readonly space: import("effect/Schema").Literals<readonly ["world", "local"]>;
|
|
63
|
+
}>;
|
|
64
|
+
readonly Dragged: import("effect/Schema").TaggedStruct<"Dragged", {
|
|
65
|
+
readonly origin: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
66
|
+
readonly direction: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
67
|
+
}>;
|
|
68
|
+
readonly Hovered: import("effect/Schema").TaggedStruct<"Hovered", {
|
|
69
|
+
readonly handle: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["x", "y", "z", "xy", "yz", "xz", "xyz"]>>;
|
|
70
|
+
}>;
|
|
71
|
+
readonly Pressed: import("effect/Schema").TaggedStruct<"Pressed", {
|
|
72
|
+
readonly handle: import("effect/Schema").Literals<readonly ["x", "y", "z", "xy", "yz", "xz", "xyz"]>;
|
|
73
|
+
readonly origin: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
74
|
+
readonly direction: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
75
|
+
readonly placement: import("effect/Schema").Struct<{
|
|
76
|
+
readonly position: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
77
|
+
readonly rotation: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
78
|
+
readonly scale: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
69
79
|
}>;
|
|
70
|
-
camera: Schema.Union<readonly [Schema.TaggedStruct<"Perspective", {
|
|
71
|
-
readonly fov: Schema.Finite;
|
|
72
|
-
readonly near: Schema.Finite;
|
|
73
|
-
readonly far: Schema.Finite;
|
|
74
|
-
readonly position: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
75
|
-
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
76
|
-
readonly damping: Schema.Finite;
|
|
77
|
-
readonly autoRotate: Schema.Finite;
|
|
78
|
-
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
79
|
-
readonly intensity: Schema.Finite;
|
|
80
|
-
readonly decay: Schema.Boolean;
|
|
81
|
-
readonly decayRate: Schema.Finite;
|
|
82
|
-
readonly maxYaw: Schema.Finite;
|
|
83
|
-
readonly maxPitch: Schema.Finite;
|
|
84
|
-
readonly maxRoll: Schema.Finite;
|
|
85
|
-
readonly yawFrequency: Schema.Finite;
|
|
86
|
-
readonly pitchFrequency: Schema.Finite;
|
|
87
|
-
readonly rollFrequency: Schema.Finite;
|
|
88
|
-
readonly trigger: Schema.Finite;
|
|
80
|
+
readonly camera: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"Perspective", {
|
|
81
|
+
readonly fov: import("effect/Schema").Finite;
|
|
82
|
+
readonly near: import("effect/Schema").Finite;
|
|
83
|
+
readonly far: import("effect/Schema").Finite;
|
|
84
|
+
readonly position: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
85
|
+
readonly lookAt: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
86
|
+
readonly damping: import("effect/Schema").Finite;
|
|
87
|
+
readonly autoRotate: import("effect/Schema").Finite;
|
|
88
|
+
readonly shake: import("effect/Schema").withDecodingDefaultKey<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
89
|
+
readonly intensity: import("effect/Schema").Finite;
|
|
90
|
+
readonly decay: import("effect/Schema").Boolean;
|
|
91
|
+
readonly decayRate: import("effect/Schema").Finite;
|
|
92
|
+
readonly maxYaw: import("effect/Schema").Finite;
|
|
93
|
+
readonly maxPitch: import("effect/Schema").Finite;
|
|
94
|
+
readonly maxRoll: import("effect/Schema").Finite;
|
|
95
|
+
readonly yawFrequency: import("effect/Schema").Finite;
|
|
96
|
+
readonly pitchFrequency: import("effect/Schema").Finite;
|
|
97
|
+
readonly rollFrequency: import("effect/Schema").Finite;
|
|
98
|
+
readonly trigger: import("effect/Schema").Finite;
|
|
89
99
|
}>>, never>;
|
|
90
|
-
}>, Schema.TaggedStruct<"Orthographic", {
|
|
91
|
-
readonly zoom: Schema.Finite;
|
|
92
|
-
readonly near: Schema.Finite;
|
|
93
|
-
readonly far: Schema.Finite;
|
|
94
|
-
readonly position: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
95
|
-
readonly lookAt: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
96
|
-
readonly damping: Schema.Finite;
|
|
97
|
-
readonly autoRotate: Schema.Finite;
|
|
98
|
-
readonly shake: Schema.withDecodingDefaultKey<Schema.NullOr<Schema.Struct<{
|
|
99
|
-
readonly intensity: Schema.Finite;
|
|
100
|
-
readonly decay: Schema.Boolean;
|
|
101
|
-
readonly decayRate: Schema.Finite;
|
|
102
|
-
readonly maxYaw: Schema.Finite;
|
|
103
|
-
readonly maxPitch: Schema.Finite;
|
|
104
|
-
readonly maxRoll: Schema.Finite;
|
|
105
|
-
readonly yawFrequency: Schema.Finite;
|
|
106
|
-
readonly pitchFrequency: Schema.Finite;
|
|
107
|
-
readonly rollFrequency: Schema.Finite;
|
|
108
|
-
readonly trigger: Schema.Finite;
|
|
100
|
+
}>, import("effect/Schema").TaggedStruct<"Orthographic", {
|
|
101
|
+
readonly zoom: import("effect/Schema").Finite;
|
|
102
|
+
readonly near: import("effect/Schema").Finite;
|
|
103
|
+
readonly far: import("effect/Schema").Finite;
|
|
104
|
+
readonly position: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
105
|
+
readonly lookAt: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
106
|
+
readonly damping: import("effect/Schema").Finite;
|
|
107
|
+
readonly autoRotate: import("effect/Schema").Finite;
|
|
108
|
+
readonly shake: import("effect/Schema").withDecodingDefaultKey<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
109
|
+
readonly intensity: import("effect/Schema").Finite;
|
|
110
|
+
readonly decay: import("effect/Schema").Boolean;
|
|
111
|
+
readonly decayRate: import("effect/Schema").Finite;
|
|
112
|
+
readonly maxYaw: import("effect/Schema").Finite;
|
|
113
|
+
readonly maxPitch: import("effect/Schema").Finite;
|
|
114
|
+
readonly maxRoll: import("effect/Schema").Finite;
|
|
115
|
+
readonly yawFrequency: import("effect/Schema").Finite;
|
|
116
|
+
readonly pitchFrequency: import("effect/Schema").Finite;
|
|
117
|
+
readonly rollFrequency: import("effect/Schema").Finite;
|
|
118
|
+
readonly trigger: import("effect/Schema").Finite;
|
|
109
119
|
}>>, never>;
|
|
110
120
|
}>]>;
|
|
111
|
-
}
|
|
112
|
-
readonly
|
|
113
|
-
origin: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
114
|
-
direction: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
115
|
-
};
|
|
116
|
-
readonly Released: {};
|
|
117
|
-
readonly Hovered: {
|
|
118
|
-
handle: Schema.NullOr<Schema.Literals<readonly ["x", "y", "z", "xy", "yz", "xz", "xyz"]>>;
|
|
119
|
-
};
|
|
120
|
-
readonly ChoseMode: {
|
|
121
|
-
mode: Schema.Literals<readonly ["translate", "rotate", "scale"]>;
|
|
122
|
-
};
|
|
123
|
-
readonly ChoseSpace: {
|
|
124
|
-
space: Schema.Literals<readonly ["world", "local"]>;
|
|
125
|
-
};
|
|
121
|
+
}>;
|
|
122
|
+
readonly Released: import("effect/Schema").TaggedStruct<"Released", {}>;
|
|
126
123
|
}>;
|
|
127
124
|
export type Message = typeof Message.Type;
|
|
128
|
-
export declare const OutMessage:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly scale: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
125
|
+
export declare const OutMessage: UiSchema.TaggedEnum<{
|
|
126
|
+
readonly Finished: import("effect/Schema").TaggedStruct<"Finished", {
|
|
127
|
+
readonly placement: import("effect/Schema").Struct<{
|
|
128
|
+
readonly position: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
129
|
+
readonly rotation: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
130
|
+
readonly scale: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
135
131
|
}>;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly scale: Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>;
|
|
132
|
+
}>;
|
|
133
|
+
readonly Moved: import("effect/Schema").TaggedStruct<"Moved", {
|
|
134
|
+
readonly placement: import("effect/Schema").Struct<{
|
|
135
|
+
readonly position: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
136
|
+
readonly rotation: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
137
|
+
readonly scale: import("effect/Schema").Tuple<readonly [import("effect/Schema").Finite, import("effect/Schema").Finite, import("effect/Schema").Finite]>;
|
|
143
138
|
}>;
|
|
144
|
-
}
|
|
139
|
+
}>;
|
|
145
140
|
}>;
|
|
146
141
|
export type OutMessage = typeof OutMessage.Type;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
/** Whether a hit `key` is one of this gizmo's handles, and which. */
|
|
152
|
-
export declare const handleOf: (model: Model, key: string) => Option.Option<GizmoHandle>;
|
|
153
|
-
/** Whether the gizmo is held: the parent leaves the camera alone while it is. */
|
|
154
|
-
export declare const held: (model: Model) => boolean;
|
|
155
|
-
/** The handles for `placement`, seen from `camera`, for the parent's scene. */
|
|
156
|
-
export declare const nodes: (model: Model, placement: Placement, camera: Camera) => SceneNode;
|
|
157
|
-
export {};
|
|
142
|
+
export declare const update: (model: Controller.Model, message: Controller.Message) => {
|
|
143
|
+
readonly model: Controller.Model;
|
|
144
|
+
readonly outMessage?: Controller.OutMessage;
|
|
145
|
+
};
|
|
158
146
|
//# sourceMappingURL=transformGizmo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformGizmo.d.ts","sourceRoot":"","sources":["../src/transformGizmo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"transformGizmo.d.ts","sourceRoot":"","sources":["../src/transformGizmo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE7E,eAAO,MAAQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,IAAI,4GAAE,QAAQ,yHAAE,IAAI,wCAAE,KAAK,8KAAe,CAAC;AACjE,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;AAErC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgD,CAAC;AACrE,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,IAAI,CAAC;AAC1C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;EAAmD,CAAC;AAC3E,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,IAAI,CAAC;AAEhD,eAAO,MAAM,MAAM;;;CAAoB,CAAC"}
|
package/dist/view.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The scene view: one call from
|
|
2
|
+
* The scene view: one call from an Effect UI view renders a scene and maps its events to
|
|
3
3
|
* the app's typed Messages. The scene is plain data derived from the Model.
|
|
4
4
|
*
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
+
import { type View } from '@effect/ui';
|
|
8
|
+
import type { Html } from '@effect/ui/html';
|
|
7
9
|
import type { SceneDescription, SceneSchema } from '@opsydyn/effect-three';
|
|
8
|
-
import
|
|
10
|
+
import { type Scope } from 'effect';
|
|
9
11
|
import { type ReconciledDetail, type SceneError, type SceneLifecycle, type XrSessionDetail } from './element.ts';
|
|
10
12
|
import type { SceneMount } from './mount.ts';
|
|
11
13
|
import { type OverlayView } from './overlayView.ts';
|
|
@@ -33,6 +35,9 @@ export type GestureEndDetail = typeof SceneSchema.GestureEndDetail.Type;
|
|
|
33
35
|
export type CollisionDetail = typeof SceneSchema.CollisionDetail.Type;
|
|
34
36
|
/** Detail of contact force events: the two bodies, and how hard they pushed. */
|
|
35
37
|
export type ContactForceDetail = typeof SceneSchema.ContactForceDetail.Type;
|
|
38
|
+
export type PhysicsReachedDetail = typeof SceneSchema.PhysicsReachedDetail.Type;
|
|
39
|
+
export type AssetLoadedDetail = typeof SceneSchema.AssetLoadedDetail.Type;
|
|
40
|
+
export type AssetFailedDetail = typeof SceneSchema.AssetFailedDetail.Type;
|
|
36
41
|
/** Detail of measured events: a node's world bounding box. */
|
|
37
42
|
export type MeasuredDetail = typeof SceneSchema.MeasuredDetail.Type;
|
|
38
43
|
/** Detail of auto-rotated events: where a camera turning by itself got to. */
|
|
@@ -45,6 +50,9 @@ export type XrStickDetail = typeof SceneSchema.XrStickDetail.Type;
|
|
|
45
50
|
export type XrButtonDetail = typeof SceneSchema.XrButtonDetail.Type;
|
|
46
51
|
/** Detail of XR moved events: where gliding left the player. */
|
|
47
52
|
export type XrMovedDetail = typeof SceneSchema.XrMovedDetail.Type;
|
|
53
|
+
export type XrTeleportedDetail = typeof SceneSchema.XrTeleportedDetail.Type;
|
|
54
|
+
/** Detail of XR poses events: where the player's head and hands are, in the scene. */
|
|
55
|
+
export type XrPosesDetail = typeof SceneSchema.XrPosesDetail.Type;
|
|
48
56
|
/** Detail of XR planes events: every plane the session detected, as it is now. */
|
|
49
57
|
export type XrPlanesDetail = typeof SceneSchema.XrPlanesDetail.Type;
|
|
50
58
|
/** Detail of XR meshes events: every mesh the session detected, as it is now. */
|
|
@@ -113,6 +121,12 @@ export type ViewConfig<Message> = {
|
|
|
113
121
|
* set the threshold high.
|
|
114
122
|
*/
|
|
115
123
|
readonly onContactForce?: (detail: ContactForceDetail) => Message;
|
|
124
|
+
/**
|
|
125
|
+
* A world on `physics({ until })` reached that step and waits there, with its run and a
|
|
126
|
+
* checksum of its bodies' poses (ADR-014): the moment to apply the inputs due at that
|
|
127
|
+
* step and move `until` on. It follows the collisions of the steps that led there.
|
|
128
|
+
*/
|
|
129
|
+
readonly onPhysicsReached?: (detail: PhysicsReachedDetail) => Message;
|
|
116
130
|
/**
|
|
117
131
|
* A node listed in the scene's `measure` has a new world bounding box (Drei's `Bounds`
|
|
118
132
|
* measuring, as a Message): fit the camera to it with `fitCamera`.
|
|
@@ -146,6 +160,16 @@ export type ViewConfig<Message> = {
|
|
|
146
160
|
* with `glided(model.xr, detail)`.
|
|
147
161
|
*/
|
|
148
162
|
readonly onXRMoved?: (detail: XrMovedDetail) => Message;
|
|
163
|
+
/**
|
|
164
|
+
* The teleport arc (`xr({ teleportArc })`) was let go over a target: where it landed and
|
|
165
|
+
* where the player's origin goes, to keep in the Model (`teleported`).
|
|
166
|
+
*/
|
|
167
|
+
readonly onXRTeleported?: (detail: XrTeleportedDetail) => Message;
|
|
168
|
+
/**
|
|
169
|
+
* With `xr({ poses })`, every so many seconds while presenting: where the player's head
|
|
170
|
+
* and hands are, in the scene's space, to send to other players (`avatar`).
|
|
171
|
+
*/
|
|
172
|
+
readonly onXRPoses?: (detail: XrPosesDetail) => Message;
|
|
149
173
|
/**
|
|
150
174
|
* With `xr({ planes: true })`, the detected planes changed (found, reshaped, lost, or
|
|
151
175
|
* seen from where the player moved to): every plane, as it is now. Follow one with
|
|
@@ -168,6 +192,13 @@ export type ViewConfig<Message> = {
|
|
|
168
192
|
readonly onError?: (detail: {
|
|
169
193
|
readonly error: SceneError;
|
|
170
194
|
}) => Message;
|
|
195
|
+
/**
|
|
196
|
+
* An asset the scene asks for (`scene({ assets })`) has loaded and is lent under its id:
|
|
197
|
+
* at once, for one another scene loaded already. A model's parts and clips come with it.
|
|
198
|
+
*/
|
|
199
|
+
readonly onAssetLoaded?: (detail: AssetLoadedDetail) => Message;
|
|
200
|
+
/** An asset the scene asks for could not be loaded, and why. */
|
|
201
|
+
readonly onAssetFailed?: (detail: AssetFailedDetail) => Message;
|
|
171
202
|
/**
|
|
172
203
|
* What each scene update did (operations by kind) and the GPU resources held afterwards.
|
|
173
204
|
* Fires at startup and after every update that changed something, never for no-ops.
|
|
@@ -178,9 +209,11 @@ export type ViewConfig<Message> = {
|
|
|
178
209
|
* perhaps on a node), `content` what. The scene moves the HTML there every frame it
|
|
179
210
|
* draws; the content is ordinary view HTML, rendered from the Model.
|
|
180
211
|
*/
|
|
181
|
-
readonly overlays?: ReadonlyArray<OverlayView
|
|
212
|
+
readonly overlays?: ReadonlyArray<OverlayView<Message>>;
|
|
182
213
|
readonly className?: string;
|
|
214
|
+
/** When false, pointer and XR input is ignored until the scene is live again. */
|
|
215
|
+
readonly live?: boolean;
|
|
183
216
|
};
|
|
184
217
|
/** Renders a scene element. Only the event handlers you pass are bound. */
|
|
185
|
-
export declare const view: <Message>(config: ViewConfig<NoInfer<Message>>, h:
|
|
218
|
+
export declare const view: <Message>(config: ViewConfig<NoInfer<Message>>, h: Html.H<Message>) => View.Content<Message, Scope.Scope>;
|
|
186
219
|
//# sourceMappingURL=view.d.ts.map
|
package/dist/view.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.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