@lovelace_lol/embody 0.0.17 → 0.0.18
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 +84 -1
- package/dist/index.js.map +1 -1
- package/dist/three/authoring.d.ts +5 -2
- package/dist/three/authoringTypes.d.ts +7 -0
- package/dist/three.js.map +1 -1
- package/dist/wasm/README.md +84 -1
- package/dist/wasm/auDescriptors.d.ts +9 -0
- package/dist/wasm/embody_wasm.d.ts +131 -131
- package/dist/wasm/embody_wasm_bg.wasm +0 -0
- package/dist/wasm/embody_wasm_bg.wasm.d.ts +131 -131
- package/dist/wasm/index.d.ts +1 -1
- package/dist/wasm.js.map +1 -1
- package/model-tools/extract-garment.mjs +599 -0
- package/model-tools/glb-source.mjs +31 -0
- package/model-tools/index.d.ts +21 -0
- package/model-tools/index.mjs +3 -29
- package/package.json +2 -2
|
@@ -58,8 +58,11 @@ export declare const buildBoneAuOptions: (profile: Partial<Types.Profile>) => Ar
|
|
|
58
58
|
value: string;
|
|
59
59
|
label: string;
|
|
60
60
|
detail?: string;
|
|
61
|
+
category?: import("@lovelace_lol/embody/wasm").ControlCategory;
|
|
62
|
+
section?: string | null;
|
|
63
|
+
order?: number | null;
|
|
61
64
|
}>;
|
|
62
|
-
export declare const isJointControlAuInfo: (info?: Pick<Types.AUInfo, "facePart"> | null) => boolean;
|
|
65
|
+
export declare const isJointControlAuInfo: (info?: Pick<Types.AUInfo, "facePart" | "category"> | null) => boolean;
|
|
63
66
|
export declare const classifyAuAsJointControl: (profile: Types.Profile, auId: number, options?: {
|
|
64
67
|
boneName?: string | null;
|
|
65
68
|
nodeKey?: string | null;
|
|
@@ -96,4 +99,4 @@ export declare function extractHumanoidSkeletonTemplateFromModel(model: Object3D
|
|
|
96
99
|
sourceAsset?: string;
|
|
97
100
|
sourceSkinName?: string;
|
|
98
101
|
}): Types.HumanoidSkeletonTemplate;
|
|
99
|
-
export type { AUDescriptor } from '@lovelace_lol/embody/wasm';
|
|
102
|
+
export type { AUDescriptor, ControlCategory } from '@lovelace_lol/embody/wasm';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Region, MarkerStyle, MarkerGroup, LineConfig, MarkerStyleOverrides } from './annotations/types';
|
|
2
|
+
import type { ControlCategory } from '@lovelace_lol/embody/wasm';
|
|
2
3
|
export interface AuthoringVector3 {
|
|
3
4
|
x: number;
|
|
4
5
|
y: number;
|
|
@@ -47,6 +48,10 @@ export interface AUInfo {
|
|
|
47
48
|
links?: string[];
|
|
48
49
|
faceArea?: 'Upper' | 'Lower' | 'Body';
|
|
49
50
|
facePart?: string;
|
|
51
|
+
category?: ControlCategory | null;
|
|
52
|
+
section?: string | null;
|
|
53
|
+
order?: number | null;
|
|
54
|
+
controlLabel?: string | null;
|
|
50
55
|
}
|
|
51
56
|
export interface RotationAxis {
|
|
52
57
|
aus: number[];
|
|
@@ -243,6 +248,8 @@ export interface Profile {
|
|
|
243
248
|
visemeTongueTargets?: VisemeTongueTarget[];
|
|
244
249
|
auMixDefaults?: Record<number, number>;
|
|
245
250
|
auInfo?: Record<string, AUInfo>;
|
|
251
|
+
/** Legacy metadata spelling retained for authored custom profiles. */
|
|
252
|
+
actionInfo?: Record<string, AUInfo>;
|
|
246
253
|
eyeMeshNodes?: {
|
|
247
254
|
LEFT: string;
|
|
248
255
|
RIGHT: string;
|