@lovelace_lol/embody 0.0.14 → 0.0.15
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/README.md +29 -0
- package/dist/index.js +80 -31
- package/dist/index.js.map +1 -1
- package/dist/three/authoring.d.ts +4 -0
- package/dist/three/authoringTypes.d.ts +7 -0
- package/dist/three/editor/morphVertexPreview.d.ts +3 -2
- package/dist/three.js +80 -31
- package/dist/three.js.map +1 -1
- package/dist/wasm/README.md +29 -0
- package/dist/wasm/embody_wasm.d.ts +62 -62
- package/dist/wasm/embody_wasm_bg.wasm +0 -0
- package/dist/wasm/embody_wasm_bg.wasm.d.ts +62 -62
- package/package.json +2 -2
package/dist/wasm/README.md
CHANGED
|
@@ -38,6 +38,26 @@ The Rust core owns:
|
|
|
38
38
|
- profile-aware screen-space gaze geometry for eye/head AU trajectories
|
|
39
39
|
- renderer-neutral model analysis and packed live frame generation
|
|
40
40
|
|
|
41
|
+
`resolveMorphMeshSelections(profile, categories, availableNames)` resolves editor
|
|
42
|
+
mesh selections in one Rust request. It returns each requested category's effective
|
|
43
|
+
category, `hasSelection` (including explicit empty arrays), resolved loaded names,
|
|
44
|
+
and unresolved configured names. Request `viseme` for speech routing. Facial
|
|
45
|
+
categories share an authored `face` selection; body and hair stay independent.
|
|
46
|
+
Exact names take precedence over legacy mesh aliases. Consumers save concrete
|
|
47
|
+
resolved names plus unresolved names when editing, so deselecting one mesh does
|
|
48
|
+
not reactivate it through a legacy alias. This query does not change the profile.
|
|
49
|
+
|
|
50
|
+
`getAUBoneBindingStates(profile, auIds)` resolves a panel's AU bone links in one
|
|
51
|
+
Rust request and returns an object keyed by AU ID. It uses the existing
|
|
52
|
+
`getAUBoneBindingState` semantics, including custom bone names, axis/range,
|
|
53
|
+
continuum opposites and explicitly cleared bindings. Its profile input contains
|
|
54
|
+
only `auToBones`, `boneNodes`, `bonePrefix`, `boneSuffix`, `suffixPattern`,
|
|
55
|
+
`compositeRotations`, `continuumPairs` and `humanoidCharacterization`.
|
|
56
|
+
The adapter omits unrelated morph/mesh configuration, authored vertices and saved
|
|
57
|
+
clips before serialization. Mesh selection edits do not invalidate these bone
|
|
58
|
+
links; hosts can cache by those bone inputs and the requested AU IDs. This is a
|
|
59
|
+
read-only authoring query, with no rig replacement or playback effects.
|
|
60
|
+
|
|
41
61
|
The host animation library (Three `AnimationMixer`, Unity Animator, etc.) owns
|
|
42
62
|
clip playback, lerping, blending, looping, seeking, and crossfades. Rust must
|
|
43
63
|
not sample or lerp clips on the hot path.
|
|
@@ -63,9 +83,18 @@ mesh visibility and material overrides when a host binds or replaces a profile.
|
|
|
63
83
|
It applies explicit `visible: false` and `visible: true` even without a material
|
|
64
84
|
entry, and restores render order, opacity, transparency, depth flags and blending
|
|
65
85
|
from `material`. Omitted fields leave the model's current values unchanged.
|
|
86
|
+
Replaying identical material values during a mapping edit leaves the material
|
|
87
|
+
version unchanged; render-order-only edits also avoid invalidating material programs.
|
|
66
88
|
Polymer calls this adapter during model binding and profile replacement; hosts
|
|
67
89
|
do not need a separate mesh-visibility replay loop.
|
|
68
90
|
|
|
91
|
+
`MorphVertexPreview` owns the editor's affected-vertex overlay and updates from
|
|
92
|
+
the existing Three scene render callback. It reuses position/color frame arrays,
|
|
93
|
+
retains samples only for the active hover, and releases old GPU attributes before
|
|
94
|
+
replacing differently sized geometry. Hiding or changing the hover clears its
|
|
95
|
+
sample cache; an explicitly empty mesh selection produces no preview. Applications
|
|
96
|
+
forward hover/show/hide events and dispose the overlay when its scene is released.
|
|
97
|
+
|
|
69
98
|
### Annotation runtime
|
|
70
99
|
|
|
71
100
|
`AnnotationRuntime` in `src/annotation_runtime/` owns the annotation behavior
|
|
@@ -673,6 +673,8 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
673
673
|
|
|
674
674
|
export interface InitOutput {
|
|
675
675
|
readonly memory: WebAssembly.Memory;
|
|
676
|
+
readonly compose_template_skeleton_fit_transform: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
677
|
+
readonly template_skeleton_fit_transform_stride: () => number;
|
|
676
678
|
readonly core_abi_version: () => number;
|
|
677
679
|
readonly pack_morph_frame_delta: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
678
680
|
readonly packed_bone_frame_delta_stride: () => number;
|
|
@@ -680,39 +682,6 @@ export interface InitOutput {
|
|
|
680
682
|
readonly solve_axis_quaternion: (a: number, b: number, c: number, d: number) => [number, number];
|
|
681
683
|
readonly solve_bilateral_values: (a: number, b: number) => [number, number];
|
|
682
684
|
readonly solve_morph_batch: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
683
|
-
readonly compose_template_skeleton_fit_transform: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
684
|
-
readonly template_skeleton_fit_transform_stride: () => number;
|
|
685
|
-
readonly __wbg_annotationruntime_free: (a: number, b: number) => void;
|
|
686
|
-
readonly __wbg_nativeplaybacksession_free: (a: number, b: number) => void;
|
|
687
|
-
readonly annotation_marker_frame_stride: () => number;
|
|
688
|
-
readonly annotationruntime_camera_frame: (a: number, b: number, c: number, d: number) => [number, number];
|
|
689
|
-
readonly annotationruntime_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
690
|
-
readonly annotationruntime_completed_camera_request: (a: number) => number;
|
|
691
|
-
readonly annotationruntime_dispose: (a: number) => void;
|
|
692
|
-
readonly annotationruntime_finish_markers: (a: number, b: number) => void;
|
|
693
|
-
readonly annotationruntime_generation: (a: number) => number;
|
|
694
|
-
readonly annotationruntime_is_current: (a: number, b: number) => number;
|
|
695
|
-
readonly annotationruntime_label_metrics: (a: number, b: number, c: number, d: number) => void;
|
|
696
|
-
readonly annotationruntime_marker_frame: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
697
|
-
readonly annotationruntime_needs_frame: (a: number) => number;
|
|
698
|
-
readonly annotationruntime_new: (a: number, b: number) => [number, number, number];
|
|
699
|
-
readonly annotationruntime_observe_model: (a: number, b: number, c: number) => [number, number];
|
|
700
|
-
readonly annotationruntime_observe_occlusion: (a: number, b: number, c: number) => void;
|
|
701
|
-
readonly annotationruntime_observe_transforms: (a: number, b: number, c: number) => void;
|
|
702
|
-
readonly annotationruntime_occlusion_queries: (a: number) => [number, number];
|
|
703
|
-
readonly annotationruntime_plan_markers: (a: number, b: number, c: number) => [number, number, number, number];
|
|
704
|
-
readonly annotationruntime_revision: (a: number) => number;
|
|
705
|
-
readonly annotationruntime_set_model: (a: number, b: number, c: number) => [number, number];
|
|
706
|
-
readonly annotationruntime_snapshot: (a: number) => [number, number];
|
|
707
|
-
readonly annotationruntime_surface_result: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
708
|
-
readonly annotationruntime_tracked_objects: (a: number) => [number, number];
|
|
709
|
-
readonly nativeplaybacksession_control: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
710
|
-
readonly nativeplaybacksession_dispose: (a: number) => [number, number, number, number];
|
|
711
|
-
readonly nativeplaybacksession_new: () => [number, number, number];
|
|
712
|
-
readonly nativeplaybacksession_notify: (a: number, b: number, c: number) => [number, number, number, number];
|
|
713
|
-
readonly nativeplaybacksession_play: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
714
|
-
readonly nativeplaybacksession_rebind: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
715
|
-
readonly nativeplaybacksession_replace_clip: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
716
685
|
readonly analyze_model_descriptor: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
|
|
717
686
|
readonly build_hair_gravity_curves: (a: number, b: number) => [number, number, number, number];
|
|
718
687
|
readonly build_hair_idle_curves: (a: number, b: number, c: number) => [number, number, number, number];
|
|
@@ -729,7 +698,17 @@ export interface InitOutput {
|
|
|
729
698
|
readonly resolve_profile_view: (a: number, b: number) => [number, number, number, number];
|
|
730
699
|
readonly validate_humanoid_characterization: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
731
700
|
readonly validate_profile_model: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
732
|
-
readonly
|
|
701
|
+
readonly __wbg_annotationlifecycle_free: (a: number, b: number) => void;
|
|
702
|
+
readonly annotationlifecycle_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
703
|
+
readonly annotationlifecycle_deadline: (a: number) => [number, number];
|
|
704
|
+
readonly annotationlifecycle_is_active: (a: number) => number;
|
|
705
|
+
readonly annotationlifecycle_new: (a: number, b: number, c: number) => number;
|
|
706
|
+
readonly compute_humanoid_skeleton_template_rest_bounds: (a: number, b: number) => [number, number, number, number];
|
|
707
|
+
readonly create_validation_skeleton_json: (a: number, b: number) => [number, number, number, number];
|
|
708
|
+
readonly extract_humanoid_skeleton_template_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
709
|
+
readonly get_humanoid_skeleton_template_json: (a: number, b: number) => [number, number, number, number];
|
|
710
|
+
readonly humanoid_skeleton_template_bone_names: (a: number, b: number) => [number, number, number, number];
|
|
711
|
+
readonly list_humanoid_skeleton_templates_json: () => [number, number, number, number];
|
|
733
712
|
readonly __wbg_hairphysicssolver_free: (a: number, b: number) => void;
|
|
734
713
|
readonly __wbg_runtimecore_free: (a: number, b: number) => void;
|
|
735
714
|
readonly annotation_bone_vertices: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
@@ -810,34 +789,6 @@ export interface InitOutput {
|
|
|
810
789
|
readonly runtimecore_au_morph_binding_stride: () => number;
|
|
811
790
|
readonly runtimecore_viseme_morph_binding_stride: () => number;
|
|
812
791
|
readonly runtimecore_remove_animation_clip: (a: number, b: number, c: number) => number;
|
|
813
|
-
readonly __wbg_annotationlifecycle_free: (a: number, b: number) => void;
|
|
814
|
-
readonly annotationlifecycle_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
815
|
-
readonly annotationlifecycle_deadline: (a: number) => [number, number];
|
|
816
|
-
readonly annotationlifecycle_is_active: (a: number) => number;
|
|
817
|
-
readonly annotationlifecycle_new: (a: number, b: number, c: number) => number;
|
|
818
|
-
readonly compute_humanoid_skeleton_template_rest_bounds: (a: number, b: number) => [number, number, number, number];
|
|
819
|
-
readonly create_validation_skeleton_json: (a: number, b: number) => [number, number, number, number];
|
|
820
|
-
readonly extract_humanoid_skeleton_template_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
821
|
-
readonly get_humanoid_skeleton_template_json: (a: number, b: number) => [number, number, number, number];
|
|
822
|
-
readonly humanoid_skeleton_template_bone_names: (a: number, b: number) => [number, number, number, number];
|
|
823
|
-
readonly list_humanoid_skeleton_templates_json: () => [number, number, number, number];
|
|
824
|
-
readonly __wbg_cameraflight_free: (a: number, b: number) => void;
|
|
825
|
-
readonly __wbg_cameraorbit_free: (a: number, b: number) => void;
|
|
826
|
-
readonly annotation_camera_framing_stride: () => number;
|
|
827
|
-
readonly cameraflight_duration_ms: (a: number) => number;
|
|
828
|
-
readonly cameraflight_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
829
|
-
readonly cameraflight_sample: (a: number, b: number) => [number, number];
|
|
830
|
-
readonly cameraorbit_duration_ms: (a: number) => number;
|
|
831
|
-
readonly cameraorbit_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
832
|
-
readonly cameraorbit_sample: (a: number, b: number) => [number, number];
|
|
833
|
-
readonly focus_padding_factor: (a: number, b: number, c: number, d: number) => number;
|
|
834
|
-
readonly normalize_camera_angle_degrees: (a: number) => number;
|
|
835
|
-
readonly resolve_auto_closeup_angle: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
836
|
-
readonly resolve_focus_camera_direction: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
837
|
-
readonly solve_focus_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => [number, number];
|
|
838
|
-
readonly solve_full_body_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => [number, number];
|
|
839
|
-
readonly world_direction_for_camera_angle: (a: number, b: number, c: number) => [number, number];
|
|
840
|
-
readonly camera_flight_sample_stride: () => number;
|
|
841
792
|
readonly analyze_mesh_proportions: (a: number, b: number, c: number) => [number, number];
|
|
842
793
|
readonly compose_template_fit_adjustment: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
843
794
|
readonly default_hair_color_appearance_json: () => [number, number, number, number];
|
|
@@ -856,6 +807,55 @@ export interface InitOutput {
|
|
|
856
807
|
readonly solve_template_skeleton_fit: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
857
808
|
readonly template_skeleton_fit_solution_stride: () => number;
|
|
858
809
|
readonly marker_visibility_factors_stride: () => number;
|
|
810
|
+
readonly __wbg_annotationruntime_free: (a: number, b: number) => void;
|
|
811
|
+
readonly __wbg_nativeplaybacksession_free: (a: number, b: number) => void;
|
|
812
|
+
readonly annotation_marker_frame_stride: () => number;
|
|
813
|
+
readonly annotationruntime_camera_frame: (a: number, b: number, c: number, d: number) => [number, number];
|
|
814
|
+
readonly annotationruntime_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
815
|
+
readonly annotationruntime_completed_camera_request: (a: number) => number;
|
|
816
|
+
readonly annotationruntime_dispose: (a: number) => void;
|
|
817
|
+
readonly annotationruntime_finish_markers: (a: number, b: number) => void;
|
|
818
|
+
readonly annotationruntime_generation: (a: number) => number;
|
|
819
|
+
readonly annotationruntime_is_current: (a: number, b: number) => number;
|
|
820
|
+
readonly annotationruntime_label_metrics: (a: number, b: number, c: number, d: number) => void;
|
|
821
|
+
readonly annotationruntime_marker_frame: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
822
|
+
readonly annotationruntime_needs_frame: (a: number) => number;
|
|
823
|
+
readonly annotationruntime_new: (a: number, b: number) => [number, number, number];
|
|
824
|
+
readonly annotationruntime_observe_model: (a: number, b: number, c: number) => [number, number];
|
|
825
|
+
readonly annotationruntime_observe_occlusion: (a: number, b: number, c: number) => void;
|
|
826
|
+
readonly annotationruntime_observe_transforms: (a: number, b: number, c: number) => void;
|
|
827
|
+
readonly annotationruntime_occlusion_queries: (a: number) => [number, number];
|
|
828
|
+
readonly annotationruntime_plan_markers: (a: number, b: number, c: number) => [number, number, number, number];
|
|
829
|
+
readonly annotationruntime_revision: (a: number) => number;
|
|
830
|
+
readonly annotationruntime_set_model: (a: number, b: number, c: number) => [number, number];
|
|
831
|
+
readonly annotationruntime_snapshot: (a: number) => [number, number];
|
|
832
|
+
readonly annotationruntime_surface_result: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
833
|
+
readonly annotationruntime_tracked_objects: (a: number) => [number, number];
|
|
834
|
+
readonly nativeplaybacksession_control: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
835
|
+
readonly nativeplaybacksession_dispose: (a: number) => [number, number, number, number];
|
|
836
|
+
readonly nativeplaybacksession_new: () => [number, number, number];
|
|
837
|
+
readonly nativeplaybacksession_notify: (a: number, b: number, c: number) => [number, number, number, number];
|
|
838
|
+
readonly nativeplaybacksession_play: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
839
|
+
readonly nativeplaybacksession_rebind: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
840
|
+
readonly nativeplaybacksession_replace_clip: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
841
|
+
readonly __wbg_cameraflight_free: (a: number, b: number) => void;
|
|
842
|
+
readonly __wbg_cameraorbit_free: (a: number, b: number) => void;
|
|
843
|
+
readonly annotation_camera_framing_stride: () => number;
|
|
844
|
+
readonly cameraflight_duration_ms: (a: number) => number;
|
|
845
|
+
readonly cameraflight_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
846
|
+
readonly cameraflight_sample: (a: number, b: number) => [number, number];
|
|
847
|
+
readonly cameraorbit_duration_ms: (a: number) => number;
|
|
848
|
+
readonly cameraorbit_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
849
|
+
readonly cameraorbit_sample: (a: number, b: number) => [number, number];
|
|
850
|
+
readonly focus_padding_factor: (a: number, b: number, c: number, d: number) => number;
|
|
851
|
+
readonly normalize_camera_angle_degrees: (a: number) => number;
|
|
852
|
+
readonly resolve_auto_closeup_angle: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
853
|
+
readonly resolve_focus_camera_direction: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
854
|
+
readonly solve_focus_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => [number, number];
|
|
855
|
+
readonly solve_full_body_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => [number, number];
|
|
856
|
+
readonly world_direction_for_camera_angle: (a: number, b: number, c: number) => [number, number];
|
|
857
|
+
readonly camera_flight_sample_stride: () => number;
|
|
858
|
+
readonly embody_request: (a: number, b: number) => [number, number, number, number];
|
|
859
859
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
860
860
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
861
861
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
Binary file
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const compose_template_skeleton_fit_transform: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
5
|
+
export const template_skeleton_fit_transform_stride: () => number;
|
|
4
6
|
export const core_abi_version: () => number;
|
|
5
7
|
export const pack_morph_frame_delta: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
6
8
|
export const packed_bone_frame_delta_stride: () => number;
|
|
@@ -8,39 +10,6 @@ export const packed_morph_frame_delta_stride: () => number;
|
|
|
8
10
|
export const solve_axis_quaternion: (a: number, b: number, c: number, d: number) => [number, number];
|
|
9
11
|
export const solve_bilateral_values: (a: number, b: number) => [number, number];
|
|
10
12
|
export const solve_morph_batch: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
11
|
-
export const compose_template_skeleton_fit_transform: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
12
|
-
export const template_skeleton_fit_transform_stride: () => number;
|
|
13
|
-
export const __wbg_annotationruntime_free: (a: number, b: number) => void;
|
|
14
|
-
export const __wbg_nativeplaybacksession_free: (a: number, b: number) => void;
|
|
15
|
-
export const annotation_marker_frame_stride: () => number;
|
|
16
|
-
export const annotationruntime_camera_frame: (a: number, b: number, c: number, d: number) => [number, number];
|
|
17
|
-
export const annotationruntime_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
18
|
-
export const annotationruntime_completed_camera_request: (a: number) => number;
|
|
19
|
-
export const annotationruntime_dispose: (a: number) => void;
|
|
20
|
-
export const annotationruntime_finish_markers: (a: number, b: number) => void;
|
|
21
|
-
export const annotationruntime_generation: (a: number) => number;
|
|
22
|
-
export const annotationruntime_is_current: (a: number, b: number) => number;
|
|
23
|
-
export const annotationruntime_label_metrics: (a: number, b: number, c: number, d: number) => void;
|
|
24
|
-
export const annotationruntime_marker_frame: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
25
|
-
export const annotationruntime_needs_frame: (a: number) => number;
|
|
26
|
-
export const annotationruntime_new: (a: number, b: number) => [number, number, number];
|
|
27
|
-
export const annotationruntime_observe_model: (a: number, b: number, c: number) => [number, number];
|
|
28
|
-
export const annotationruntime_observe_occlusion: (a: number, b: number, c: number) => void;
|
|
29
|
-
export const annotationruntime_observe_transforms: (a: number, b: number, c: number) => void;
|
|
30
|
-
export const annotationruntime_occlusion_queries: (a: number) => [number, number];
|
|
31
|
-
export const annotationruntime_plan_markers: (a: number, b: number, c: number) => [number, number, number, number];
|
|
32
|
-
export const annotationruntime_revision: (a: number) => number;
|
|
33
|
-
export const annotationruntime_set_model: (a: number, b: number, c: number) => [number, number];
|
|
34
|
-
export const annotationruntime_snapshot: (a: number) => [number, number];
|
|
35
|
-
export const annotationruntime_surface_result: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
36
|
-
export const annotationruntime_tracked_objects: (a: number) => [number, number];
|
|
37
|
-
export const nativeplaybacksession_control: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
38
|
-
export const nativeplaybacksession_dispose: (a: number) => [number, number, number, number];
|
|
39
|
-
export const nativeplaybacksession_new: () => [number, number, number];
|
|
40
|
-
export const nativeplaybacksession_notify: (a: number, b: number, c: number) => [number, number, number, number];
|
|
41
|
-
export const nativeplaybacksession_play: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
42
|
-
export const nativeplaybacksession_rebind: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
43
|
-
export const nativeplaybacksession_replace_clip: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
44
13
|
export const analyze_model_descriptor: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
|
|
45
14
|
export const build_hair_gravity_curves: (a: number, b: number) => [number, number, number, number];
|
|
46
15
|
export const build_hair_idle_curves: (a: number, b: number, c: number) => [number, number, number, number];
|
|
@@ -57,7 +26,17 @@ export const resolve_embedded_profile_view: (a: number, b: number, c: number, d:
|
|
|
57
26
|
export const resolve_profile_view: (a: number, b: number) => [number, number, number, number];
|
|
58
27
|
export const validate_humanoid_characterization: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
59
28
|
export const validate_profile_model: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
60
|
-
export const
|
|
29
|
+
export const __wbg_annotationlifecycle_free: (a: number, b: number) => void;
|
|
30
|
+
export const annotationlifecycle_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
31
|
+
export const annotationlifecycle_deadline: (a: number) => [number, number];
|
|
32
|
+
export const annotationlifecycle_is_active: (a: number) => number;
|
|
33
|
+
export const annotationlifecycle_new: (a: number, b: number, c: number) => number;
|
|
34
|
+
export const compute_humanoid_skeleton_template_rest_bounds: (a: number, b: number) => [number, number, number, number];
|
|
35
|
+
export const create_validation_skeleton_json: (a: number, b: number) => [number, number, number, number];
|
|
36
|
+
export const extract_humanoid_skeleton_template_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
37
|
+
export const get_humanoid_skeleton_template_json: (a: number, b: number) => [number, number, number, number];
|
|
38
|
+
export const humanoid_skeleton_template_bone_names: (a: number, b: number) => [number, number, number, number];
|
|
39
|
+
export const list_humanoid_skeleton_templates_json: () => [number, number, number, number];
|
|
61
40
|
export const __wbg_hairphysicssolver_free: (a: number, b: number) => void;
|
|
62
41
|
export const __wbg_runtimecore_free: (a: number, b: number) => void;
|
|
63
42
|
export const annotation_bone_vertices: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
@@ -138,34 +117,6 @@ export const validate_generated_template_fit_metadata: (a: number, b: number, c:
|
|
|
138
117
|
export const runtimecore_au_morph_binding_stride: () => number;
|
|
139
118
|
export const runtimecore_viseme_morph_binding_stride: () => number;
|
|
140
119
|
export const runtimecore_remove_animation_clip: (a: number, b: number, c: number) => number;
|
|
141
|
-
export const __wbg_annotationlifecycle_free: (a: number, b: number) => void;
|
|
142
|
-
export const annotationlifecycle_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
143
|
-
export const annotationlifecycle_deadline: (a: number) => [number, number];
|
|
144
|
-
export const annotationlifecycle_is_active: (a: number) => number;
|
|
145
|
-
export const annotationlifecycle_new: (a: number, b: number, c: number) => number;
|
|
146
|
-
export const compute_humanoid_skeleton_template_rest_bounds: (a: number, b: number) => [number, number, number, number];
|
|
147
|
-
export const create_validation_skeleton_json: (a: number, b: number) => [number, number, number, number];
|
|
148
|
-
export const extract_humanoid_skeleton_template_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
149
|
-
export const get_humanoid_skeleton_template_json: (a: number, b: number) => [number, number, number, number];
|
|
150
|
-
export const humanoid_skeleton_template_bone_names: (a: number, b: number) => [number, number, number, number];
|
|
151
|
-
export const list_humanoid_skeleton_templates_json: () => [number, number, number, number];
|
|
152
|
-
export const __wbg_cameraflight_free: (a: number, b: number) => void;
|
|
153
|
-
export const __wbg_cameraorbit_free: (a: number, b: number) => void;
|
|
154
|
-
export const annotation_camera_framing_stride: () => number;
|
|
155
|
-
export const cameraflight_duration_ms: (a: number) => number;
|
|
156
|
-
export const cameraflight_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
157
|
-
export const cameraflight_sample: (a: number, b: number) => [number, number];
|
|
158
|
-
export const cameraorbit_duration_ms: (a: number) => number;
|
|
159
|
-
export const cameraorbit_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
160
|
-
export const cameraorbit_sample: (a: number, b: number) => [number, number];
|
|
161
|
-
export const focus_padding_factor: (a: number, b: number, c: number, d: number) => number;
|
|
162
|
-
export const normalize_camera_angle_degrees: (a: number) => number;
|
|
163
|
-
export const resolve_auto_closeup_angle: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
164
|
-
export const resolve_focus_camera_direction: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
165
|
-
export const solve_focus_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => [number, number];
|
|
166
|
-
export const solve_full_body_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => [number, number];
|
|
167
|
-
export const world_direction_for_camera_angle: (a: number, b: number, c: number) => [number, number];
|
|
168
|
-
export const camera_flight_sample_stride: () => number;
|
|
169
120
|
export const analyze_mesh_proportions: (a: number, b: number, c: number) => [number, number];
|
|
170
121
|
export const compose_template_fit_adjustment: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
171
122
|
export const default_hair_color_appearance_json: () => [number, number, number, number];
|
|
@@ -184,6 +135,55 @@ export const should_show_marker: (a: number, b: number, c: number, d: number) =>
|
|
|
184
135
|
export const solve_template_skeleton_fit: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
185
136
|
export const template_skeleton_fit_solution_stride: () => number;
|
|
186
137
|
export const marker_visibility_factors_stride: () => number;
|
|
138
|
+
export const __wbg_annotationruntime_free: (a: number, b: number) => void;
|
|
139
|
+
export const __wbg_nativeplaybacksession_free: (a: number, b: number) => void;
|
|
140
|
+
export const annotation_marker_frame_stride: () => number;
|
|
141
|
+
export const annotationruntime_camera_frame: (a: number, b: number, c: number, d: number) => [number, number];
|
|
142
|
+
export const annotationruntime_command: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number, number];
|
|
143
|
+
export const annotationruntime_completed_camera_request: (a: number) => number;
|
|
144
|
+
export const annotationruntime_dispose: (a: number) => void;
|
|
145
|
+
export const annotationruntime_finish_markers: (a: number, b: number) => void;
|
|
146
|
+
export const annotationruntime_generation: (a: number) => number;
|
|
147
|
+
export const annotationruntime_is_current: (a: number, b: number) => number;
|
|
148
|
+
export const annotationruntime_label_metrics: (a: number, b: number, c: number, d: number) => void;
|
|
149
|
+
export const annotationruntime_marker_frame: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
150
|
+
export const annotationruntime_needs_frame: (a: number) => number;
|
|
151
|
+
export const annotationruntime_new: (a: number, b: number) => [number, number, number];
|
|
152
|
+
export const annotationruntime_observe_model: (a: number, b: number, c: number) => [number, number];
|
|
153
|
+
export const annotationruntime_observe_occlusion: (a: number, b: number, c: number) => void;
|
|
154
|
+
export const annotationruntime_observe_transforms: (a: number, b: number, c: number) => void;
|
|
155
|
+
export const annotationruntime_occlusion_queries: (a: number) => [number, number];
|
|
156
|
+
export const annotationruntime_plan_markers: (a: number, b: number, c: number) => [number, number, number, number];
|
|
157
|
+
export const annotationruntime_revision: (a: number) => number;
|
|
158
|
+
export const annotationruntime_set_model: (a: number, b: number, c: number) => [number, number];
|
|
159
|
+
export const annotationruntime_snapshot: (a: number) => [number, number];
|
|
160
|
+
export const annotationruntime_surface_result: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
161
|
+
export const annotationruntime_tracked_objects: (a: number) => [number, number];
|
|
162
|
+
export const nativeplaybacksession_control: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
163
|
+
export const nativeplaybacksession_dispose: (a: number) => [number, number, number, number];
|
|
164
|
+
export const nativeplaybacksession_new: () => [number, number, number];
|
|
165
|
+
export const nativeplaybacksession_notify: (a: number, b: number, c: number) => [number, number, number, number];
|
|
166
|
+
export const nativeplaybacksession_play: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
167
|
+
export const nativeplaybacksession_rebind: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
168
|
+
export const nativeplaybacksession_replace_clip: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
169
|
+
export const __wbg_cameraflight_free: (a: number, b: number) => void;
|
|
170
|
+
export const __wbg_cameraorbit_free: (a: number, b: number) => void;
|
|
171
|
+
export const annotation_camera_framing_stride: () => number;
|
|
172
|
+
export const cameraflight_duration_ms: (a: number) => number;
|
|
173
|
+
export const cameraflight_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
174
|
+
export const cameraflight_sample: (a: number, b: number) => [number, number];
|
|
175
|
+
export const cameraorbit_duration_ms: (a: number) => number;
|
|
176
|
+
export const cameraorbit_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
177
|
+
export const cameraorbit_sample: (a: number, b: number) => [number, number];
|
|
178
|
+
export const focus_padding_factor: (a: number, b: number, c: number, d: number) => number;
|
|
179
|
+
export const normalize_camera_angle_degrees: (a: number) => number;
|
|
180
|
+
export const resolve_auto_closeup_angle: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
181
|
+
export const resolve_focus_camera_direction: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
182
|
+
export const solve_focus_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => [number, number];
|
|
183
|
+
export const solve_full_body_framing: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => [number, number];
|
|
184
|
+
export const world_direction_for_camera_angle: (a: number, b: number, c: number) => [number, number];
|
|
185
|
+
export const camera_flight_sample_stride: () => number;
|
|
186
|
+
export const embody_request: (a: number, b: number) => [number, number, number, number];
|
|
187
187
|
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
188
188
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
189
189
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovelace_lol/embody",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Renderer-agnostic character animation runtime for facial AUs, visemes, and bone-driven motion",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"author": "Jonathan Sutton Fields",
|
|
93
93
|
"license": "MIT",
|
|
94
94
|
"packageManager": "npm@10.9.2",
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "dc825b5e13fbd632d5121f17166ca5d2541728a0"
|
|
96
96
|
}
|