@lovelace_lol/embody 0.0.4 → 0.0.5

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/index.d.ts CHANGED
@@ -45,11 +45,11 @@ export { applyCharacterModelTransform, disposeCharacterModel, loadCharacterModel
45
45
  export type { CharacterModelLoadOptions, CharacterModelLoadResult, CharacterModelTransform, } from './engines/three/modelLoader';
46
46
  export { TsClipCompiler, numericArrayToNumbers, } from './core/TsClipCompiler';
47
47
  export { TsRuntimeCore } from './core/TsRuntimeCore';
48
- export { AU_MORPH_BINDING_STRIDE, VISEME_MORPH_BINDING_STRIDE, WasmRuntimeCore, compileMorphBindings, compileBoneBindings, unpackMorphFrameDelta, unpackBoneFrameDelta, } from './core/WasmRuntimeCore';
48
+ export { WasmRuntimeCore, unpackMorphFrameDelta, unpackBoneFrameDelta, } from './core/WasmRuntimeCore';
49
49
  export { EMBODY_CORE_ABI_VERSION, HAIR_CONFIG_FIELDS, HAIR_CONFIG_STRIDE, HAIR_HEAD_STATE_FIELDS, HAIR_HEAD_STATE_STRIDE, HAIR_MORPH_OUTPUT_FIELDS, HAIR_MORPH_OUTPUT_STRIDE, HAIR_STATE_FIELDS, HAIR_STATE_STRIDE, MESH_PROPORTIONS_FIELDS, MESH_PROPORTIONS_STRIDE, PACKED_MORPH_FRAME_DELTA_FIELDS, PACKED_MORPH_FRAME_DELTA_STRIDE, PACKED_BONE_FRAME_DELTA_FIELDS, PACKED_BONE_FRAME_DELTA_STRIDE, TEMPLATE_SKELETON_FIT_SOLUTION_FIELDS, TEMPLATE_SKELETON_FIT_SOLUTION_STRIDE, TEMPLATE_SKELETON_FIT_TRANSFORM_FIELDS, TEMPLATE_SKELETON_FIT_TRANSFORM_STRIDE, getEmbodyCore, requireInitializedEmbodyCore, initEmbodyCore, resetEmbodyCoreForTests, } from './wasm';
50
50
  export type { TsClipCompilerInput, TsClipCompilerKeyframe, TsClipCompilerTrackInput, TsClipCurveTarget, TsClipCurvesInput, } from './core/TsClipCompiler';
51
51
  export type { TsRuntimeCoreOptions } from './core/TsRuntimeCore';
52
- export type { CompiledBoneBindings, MorphBindingSide, WasmRuntimeCoreOptions, } from './core/WasmRuntimeCore';
52
+ export type { WasmRuntimeCoreOptions, } from './core/WasmRuntimeCore';
53
53
  export type { EmbodyCoreWasmModule, WasmHairPhysicsSolver, WasmHairPhysicsSolverConstructor, } from './wasmTypes';
54
54
  export type { HairConfigField, HairHeadStateField, HairMorphOutputField, HairStateField, PackedHairMorphOutput, PackedHairPhysicsState, PackedMorphFrameDelta, PackedMorphFrameDeltaField, PackedTemplateSkeletonFitTransform, TemplateSkeletonFitTransformField, } from './core/contracts';
55
55
  export type { EmbodyRuntime, ReadyPayload, EmbodyConfig, } from './interfaces/EmbodyRuntime';
package/dist/index.js CHANGED
@@ -4209,16 +4209,6 @@ function positiveFiniteOr(value, fallback) {
4209
4209
  }
4210
4210
 
4211
4211
  // src/core/WasmRuntimeCore.ts
4212
- var AU_MORPH_BINDING_STRIDE = 5;
4213
- var VISEME_MORPH_BINDING_STRIDE = 4;
4214
- var AXIS_GROUP_NEGATIVE = 0;
4215
- var AXIS_GROUP_POSITIVE = 1;
4216
- var AXIS_GROUP_PLAIN = 2;
4217
- var BONE_SIDE_NONE = 0;
4218
- var BONE_SIDE_LEFT = 1;
4219
- var BONE_SIDE_RIGHT = 2;
4220
- var ROTATION_CHANNELS = { rx: 0, ry: 1, rz: 2 };
4221
- var TRANSLATION_CHANNELS = { tx: 0, ty: 1, tz: 2 };
4222
4212
  var WasmRuntimeCore = class {
4223
4213
  constructor(options) {
4224
4214
  __publicField(this, "wasm");
@@ -4284,179 +4274,6 @@ var WasmRuntimeCore = class {
4284
4274
  this.core.configure_with_profile(JSON.stringify(this.profile), JSON.stringify(this.model));
4285
4275
  }
4286
4276
  };
4287
- function compileMorphBindings(profile, model) {
4288
- const auRows = [];
4289
- const mixed = [];
4290
- for (const [auIdText, entry] of Object.entries(profile.auToMorphs || {})) {
4291
- const auId = Number(auIdText);
4292
- if (Number.isNaN(auId) || !entry) continue;
4293
- const meshNames = getMeshNamesForAUProfile(profile, auId);
4294
- const hasMorphs = !!(entry.left?.length || entry.right?.length || entry.center?.length);
4295
- if (hasMorphs && profile.auToBones?.[auId]?.length) {
4296
- mixed.push(auId);
4297
- }
4298
- pushAuSide(auRows, auId, 0, entry.left || [], meshNames, model, profile);
4299
- pushAuSide(auRows, auId, 1, entry.right || [], meshNames, model, profile);
4300
- pushAuSide(auRows, auId, 2, entry.center || [], meshNames, model, profile);
4301
- }
4302
- const visemeRows = [];
4303
- const visemeMeshNames = getMeshNamesForVisemeProfile(profile);
4304
- const slotCount = getProfileVisemeSlots(profile).length;
4305
- for (let index = 0; index < slotCount; index += 1) {
4306
- for (const bindingTarget of getVisemeBindingTargets(profile, index)) {
4307
- for (const resolved of resolveMorphTargets(model, profile, bindingTarget.morph, visemeMeshNames)) {
4308
- visemeRows.push(
4309
- index,
4310
- Number(resolved.mesh.id),
4311
- Number(resolved.morphTarget.id),
4312
- bindingTarget.weight
4313
- );
4314
- }
4315
- }
4316
- }
4317
- return {
4318
- auBindings: Float32Array.from(auRows),
4319
- visemeBindings: Float32Array.from(visemeRows),
4320
- mixedAus: Uint32Array.from(mixed)
4321
- };
4322
- }
4323
- function compileBoneBindings(profile, model) {
4324
- const referencedBones = /* @__PURE__ */ new Map();
4325
- const findBone = (nodeKey) => {
4326
- const bone = findBoneDescriptor(profile, model, nodeKey);
4327
- if (bone) referencedBones.set(bone.id, bone);
4328
- return bone;
4329
- };
4330
- const boneSideForAU = (auId, nodeKey) => {
4331
- const side = profile.auToBones?.[auId]?.find((candidate) => candidate.node === nodeKey)?.side;
4332
- if (side === "left") return BONE_SIDE_LEFT;
4333
- if (side === "right") return BONE_SIDE_RIGHT;
4334
- return BONE_SIDE_NONE;
4335
- };
4336
- const compositeRows = [];
4337
- for (const composite of profile.compositeRotations || []) {
4338
- const bone = findBone(composite.node);
4339
- if (!bone) continue;
4340
- const axes = [
4341
- { axis: 1, config: composite.yaw },
4342
- { axis: 0, config: composite.pitch },
4343
- { axis: 2, config: composite.roll }
4344
- ];
4345
- for (const { axis, config } of axes) {
4346
- if (!config) continue;
4347
- const negativeAUs = toAUList(config.negative);
4348
- const positiveAUs = toAUList(config.positive);
4349
- const hasDirectional = negativeAUs.length > 0 && positiveAUs.length > 0;
4350
- const valueRows = [];
4351
- if (hasDirectional) {
4352
- for (const auId of negativeAUs) {
4353
- valueRows.push([auId, AXIS_GROUP_NEGATIVE, boneSideForAU(auId, composite.node)]);
4354
- }
4355
- for (const auId of positiveAUs) {
4356
- valueRows.push([auId, AXIS_GROUP_POSITIVE, boneSideForAU(auId, composite.node)]);
4357
- }
4358
- } else {
4359
- for (const auId of config.aus) {
4360
- valueRows.push([auId, AXIS_GROUP_PLAIN, boneSideForAU(auId, composite.node)]);
4361
- }
4362
- }
4363
- const bindingRows = [];
4364
- const pushBindingRows = (auIds, group) => {
4365
- for (const auId of auIds) {
4366
- const binding = profile.auToBones?.[auId]?.find(
4367
- (candidate) => candidate.node === composite.node
4368
- );
4369
- if (!binding?.maxDegrees) continue;
4370
- const channel = ROTATION_CHANNELS[binding.channel];
4371
- if (channel === void 0) continue;
4372
- bindingRows.push([
4373
- auId,
4374
- group,
4375
- boneSideForAU(auId, composite.node),
4376
- channel,
4377
- binding.scale,
4378
- binding.maxDegrees
4379
- ]);
4380
- }
4381
- };
4382
- pushBindingRows(negativeAUs, AXIS_GROUP_NEGATIVE);
4383
- pushBindingRows(positiveAUs, AXIS_GROUP_POSITIVE);
4384
- pushBindingRows(config.aus, AXIS_GROUP_PLAIN);
4385
- compositeRows.push(
4386
- Number(bone.id),
4387
- axis,
4388
- hasDirectional ? 1 : 0,
4389
- valueRows.length,
4390
- bindingRows.length,
4391
- 0,
4392
- 0,
4393
- 0
4394
- );
4395
- for (const row of valueRows) compositeRows.push(...row);
4396
- for (const row of bindingRows) compositeRows.push(...row);
4397
- }
4398
- }
4399
- const translationRows = [];
4400
- for (const [auIdText, bindings] of Object.entries(profile.auToBones || {})) {
4401
- const auId = Number(auIdText);
4402
- if (Number.isNaN(auId)) continue;
4403
- for (const binding of bindings || []) {
4404
- const channel = TRANSLATION_CHANNELS[binding.channel];
4405
- if (channel === void 0 || binding.maxUnits === void 0) continue;
4406
- const bone = findBone(binding.node);
4407
- if (!bone) continue;
4408
- translationRows.push(auId, Number(bone.id), channel, binding.scale, binding.maxUnits);
4409
- }
4410
- }
4411
- const jawRow = [];
4412
- const jawBinding = findAutoVisemeJawBinding(profile, model);
4413
- if (jawBinding?.maxDegrees) {
4414
- const bone = findBone(jawBinding.node);
4415
- const channel = ROTATION_CHANNELS[jawBinding.channel];
4416
- if (bone && channel !== void 0) {
4417
- jawRow.push(Number(bone.id), channel, jawBinding.scale, jawBinding.maxDegrees);
4418
- }
4419
- }
4420
- const restRows = [];
4421
- for (const bone of referencedBones.values()) {
4422
- const position = bone.restTransform?.position;
4423
- const rotation = bone.restTransform?.rotation;
4424
- restRows.push(
4425
- Number(bone.id),
4426
- position?.x ?? 0,
4427
- position?.y ?? 0,
4428
- position?.z ?? 0,
4429
- rotation?.x ?? 0,
4430
- rotation?.y ?? 0,
4431
- rotation?.z ?? 0,
4432
- rotation?.w ?? 1
4433
- );
4434
- }
4435
- return {
4436
- restTransforms: Float32Array.from(restRows),
4437
- compositeAxes: Float32Array.from(compositeRows),
4438
- translations: Float32Array.from(translationRows),
4439
- jawBinding: Float32Array.from(jawRow),
4440
- visemeJawAmounts: Float32Array.from(getVisemeJawAmounts(profile) ?? [])
4441
- };
4442
- }
4443
- function findBoneDescriptor(profile, model, nodeKey) {
4444
- const configuredName = profile.boneNodes?.[nodeKey] || nodeKey;
4445
- const prefix = profile.bonePrefix ?? "";
4446
- const suffix = profile.boneSuffix ?? "";
4447
- const prefixedName = prefix && !configuredName.startsWith(prefix) ? `${prefix}${configuredName}` : configuredName;
4448
- const fullName = suffix && !prefixedName.endsWith(suffix) ? `${prefixedName}${suffix}` : prefixedName;
4449
- const candidates = /* @__PURE__ */ new Set([nodeKey, configuredName, fullName]);
4450
- return model.bones.find((bone) => candidates.has(bone.name));
4451
- }
4452
- function findAutoVisemeJawBinding(profile, model) {
4453
- const isRotation = (binding) => binding?.channel === "rx" || binding?.channel === "ry" || binding?.channel === "rz";
4454
- const candidates = [
4455
- profile.auToBones?.[103]?.find(isRotation),
4456
- profile.auToBones?.[26]?.find(isRotation)
4457
- ].filter((binding) => !!binding);
4458
- return candidates.find((binding) => !!findBoneDescriptor(profile, model, binding.node)) ?? candidates[0] ?? null;
4459
- }
4460
4277
  function unpackBoneFrameDelta(values) {
4461
4278
  const stride = PACKED_BONE_FRAME_DELTA_STRIDE;
4462
4279
  const writes = [];
@@ -4497,46 +4314,6 @@ function unpackMorphFrameDelta(values) {
4497
4314
  }
4498
4315
  return writes;
4499
4316
  }
4500
- function pushAuSide(rows, auId, side, morphs, meshNames, model, profile) {
4501
- for (const morph of morphs) {
4502
- for (const resolved of resolveMorphTargets(model, profile, morph, meshNames)) {
4503
- rows.push(
4504
- auId,
4505
- side,
4506
- Number(resolved.mesh.id),
4507
- Number(resolved.morphTarget.id),
4508
- 1
4509
- );
4510
- }
4511
- }
4512
- }
4513
- function resolveMorphTargets(model, profile, morph, meshNames) {
4514
- const result = [];
4515
- for (const meshName of meshNames) {
4516
- const mesh = model.meshes.find((candidate) => candidate.name === meshName);
4517
- if (!mesh) continue;
4518
- const morphTargets = mesh.morphTargetIds.map((id) => model.morphTargets.find((candidate) => candidate.id === id)).filter((target2) => !!target2);
4519
- const target = typeof morph === "number" ? morphTargets.find((candidate) => candidate.hostIndex === morph) : resolveMorphTargetByName2(morphTargets, morph, profile);
4520
- if (target) {
4521
- result.push({ mesh, morphTarget: target });
4522
- }
4523
- }
4524
- return result;
4525
- }
4526
- function resolveMorphTargetByName2(targets, key, profile) {
4527
- const prefix = profile.morphPrefix || "";
4528
- const suffix = profile.morphSuffix || "";
4529
- const fullName = prefix + key + suffix;
4530
- const exact = targets.find((target) => target.name === fullName);
4531
- if (exact) return exact;
4532
- const suffixRegex = profile.suffixPattern ? new RegExp(profile.suffixPattern) : null;
4533
- if (!suffixRegex) return void 0;
4534
- return targets.find((target) => {
4535
- if (!target.name.startsWith(fullName)) return false;
4536
- const candidateSuffix = target.name.slice(fullName.length);
4537
- return candidateSuffix === "" || suffixRegex.test(candidateSuffix);
4538
- });
4539
- }
4540
4317
 
4541
4318
  // src/hair/appearance.ts
4542
4319
  var HAIR_COLOR_PRESETS = {
@@ -15139,6 +14916,6 @@ function addVec32(a, b) {
15139
14916
  return [a[0] + b[0], a[1] + b[1], a[2] + b[2]];
15140
14917
  }
15141
14918
 
15142
- export { AU_INFO, AU_MAPPING_CONFIG, AU_MIX_DEFAULTS, AU_MORPH_BINDING_STRIDE, AU_TO_MORPHS, ThreeAnimationSystem as AnimationController, BETTA_FISH_PRESET, BLENDING_MODES, BONE_AU_TO_BINDINGS, ThreeAnimationSystem as BakedAnimationController, CC4_BONES, CC4_BONE_NODES, CC4_BONE_PREFIX, CC4_EYE_MESH_NODES, CC4_MAPPING_SECTIONS, CC4_MESHES, CC4_PRESET, CC4_PROFILE_BONE_BINDINGS, CC4_SUFFIX_PATTERN, CC4_VISEME_SLOTS, CC4_VISEME_SYSTEM_ID, CHARACTER_SCENE_TYPES, CHARACTER_SCENE_TYPE_IDS, COMPOSITE_ROTATIONS, CONTINUUM_LABELS, CONTINUUM_PAIRS_MAP, DEFAULT_AXIS_TO_CHANNEL, DEFAULT_BONE_MAX_DEGREES, DEFAULT_CHARACTER_LIGHTING_PRESETS, DEFAULT_CHARACTER_LIGHTING_PRESET_ID, DEFAULT_CHARACTER_LIGHTING_PRESET_IDS, DEFAULT_CHARACTER_LIGHTING_SETTINGS, DEFAULT_CHARACTER_SCENE_TYPE_ID, DEFAULT_HAIR_COLOR_APPEARANCE, DEFAULT_HAIR_PHYSICS_CONFIG, Embody, FISH_AU_MAPPING_CONFIG, HAIR_COLOR_PRESETS, HUMANOID_SKELETON_TEMPLATES, HairPhysics, HairPhysicsController, JOINT_CONTROL_SECTION, JONATHAN_HUMANOID_SKELETON_TEMPLATE, LIP_SYNC_CONTROL_TO_BINDINGS, MORPH_TO_MESH, RustAnnotationCameraCore, RustCameraFlight, RustCameraOrbit, RustHairPhysics, TEMPLATE_SKELETON_FIT_METADATA_KIND, TEMPLATE_SKELETON_FIT_METADATA_VERSION, TEMPLATE_SKELETON_FIT_STATUSES, TEMPLATE_SKELETON_FIT_VERTICAL_ANCHORS, TEMPLATE_SKELETON_FIT_VERTICAL_AXES, THREE_BLENDING_MODES, ThreeAnimationRuntime, ThreeAnimationSystem, ThreeClipAdapter, ThreeFrameApplier, ThreeModelInspector, TsClipCompiler, TsRuntimeCore, VISEME_JAW_AMOUNTS, VISEME_KEYS, VISEME_MORPH_BINDING_STRIDE, WasmRuntimeCore, analyzeModel, applyAUBoneBindingUpdate, applyBilateralAxisBindingUpdate, applyBoneAxisBindingUpdate, applyCharacterModelTransform, applyCharacterProfileToPreset, buildBoneAuOptions, buildFrameApplierBindings, buildMappingEditorModel, classifyAuAsJointControl, collectMorphMeshes2 as collectMorphMeshes, compileBoneBindings, compileMorphBindings, compileVisemeKeys, composeTemplateSkeletonFitTransform, computeCameraRelativeGazeOffset, computeHumanoidSkeletonTemplateRestBounds, createBilateralBoneAxisAu, createBoneAxisAu, createCharacterHost, createDefaultCharacterLighting, createDefaultCharacterScene, createRustAnnotationCameraCore, createRustHairPhysics, createShadowPlane, createValidationSkeletonFromHumanoidTemplate, detectAnnotationLaterality, detectFacingDirection, disposeCharacterModel, ensureBilateralBoneNodeKeys, ensureBoneNodeKey, extendCharacterConfigWithPreset, extendPresetWithProfile, extendProfileConfigWithPreset, extractFromGLTF, extractHumanoidSkeletonTemplateFromModel, extractLegacyCharacterProfileOverrides, extractModelData, extractProfileOverrides, findFaceCenter, findNodeKeyForBone, formatAxisDirectionLabel, formatAxisLabel, fuzzyNameMatch, generateMappingCorrections, getAUBoneBindingState, getAxisFromChannel, getBilateralAxisBindingState, getBoneAxisBindingState, getDefaultAnnotationLaterality, getHumanoidSkeletonTemplate, getHumanoidSkeletonTemplateBoneNames, getMeshNamesForAUProfile, getMeshNamesForVisemeProfile, getModelForwardDirection, getModelLocalOrbitAngle, getPreset, getPresetWithProfile, getProfilePresetId, getProfileVisemeSlots, getRegionSemanticSide, getSemanticHorizontalSign, getSemanticHorizontalSignForSide, getVisemeBindingTargets, getVisemeJawAmounts, getVisemeSlotIndex, getWorldDirectionForCameraAngle, hasLeftRightMorphs, inferChiralBoneNamePair, inferEyeControlFamily, inferEyeControlScope, isJointControlAuInfo, isMaxDegreesOnlyAxisBindingUpdate, isMixedAU, isPresetCompatible, isTemplateSkeletonFitStatus, loadCharacterModel, mapProviderVisemeToSlot, mergeRegionsByName as mergeCharacterRegionsByName, mergePresetWithProfile, mergeProfileRegionsByName, normalizeCameraAngle, normalizeDefaultCharacterLightingSettings, normalizeHairColorAppearance, numericArrayToNumbers, packHairConfig, packHeadState, parseCharacterModel, passesMarkerCameraAngleGate, resolveBoneAxisChannel, resolveBoneName, resolveBoneNameForNodeKey, resolveBoneNames, resolveContinuumDisplayLabel, resolveFaceCenter, resolvePreset, resolvePresetWithOverrides, resolveProfileFromPreset, resolveRegionCameraAngle, resolveRegionVisibilityCameraAngle, resolveRustEmbeddedProfileView, resolveRustProfileView, resolveVisemeMeshCategory, stripConfiguredBoneAffixes, suggestBestPreset, toModelLocalDirection2 as toModelLocalDirection, toWorldDirection, unpackBoneFrameDelta, unpackHairConfig, unpackHairMorphOutput, unpackHairState, unpackMorphFrameDelta, validateMappingConfig, validateMappings, validateTemplateSkeletonFitMetadata };
14919
+ export { AU_INFO, AU_MAPPING_CONFIG, AU_MIX_DEFAULTS, AU_TO_MORPHS, ThreeAnimationSystem as AnimationController, BETTA_FISH_PRESET, BLENDING_MODES, BONE_AU_TO_BINDINGS, ThreeAnimationSystem as BakedAnimationController, CC4_BONES, CC4_BONE_NODES, CC4_BONE_PREFIX, CC4_EYE_MESH_NODES, CC4_MAPPING_SECTIONS, CC4_MESHES, CC4_PRESET, CC4_PROFILE_BONE_BINDINGS, CC4_SUFFIX_PATTERN, CC4_VISEME_SLOTS, CC4_VISEME_SYSTEM_ID, CHARACTER_SCENE_TYPES, CHARACTER_SCENE_TYPE_IDS, COMPOSITE_ROTATIONS, CONTINUUM_LABELS, CONTINUUM_PAIRS_MAP, DEFAULT_AXIS_TO_CHANNEL, DEFAULT_BONE_MAX_DEGREES, DEFAULT_CHARACTER_LIGHTING_PRESETS, DEFAULT_CHARACTER_LIGHTING_PRESET_ID, DEFAULT_CHARACTER_LIGHTING_PRESET_IDS, DEFAULT_CHARACTER_LIGHTING_SETTINGS, DEFAULT_CHARACTER_SCENE_TYPE_ID, DEFAULT_HAIR_COLOR_APPEARANCE, DEFAULT_HAIR_PHYSICS_CONFIG, Embody, FISH_AU_MAPPING_CONFIG, HAIR_COLOR_PRESETS, HUMANOID_SKELETON_TEMPLATES, HairPhysics, HairPhysicsController, JOINT_CONTROL_SECTION, JONATHAN_HUMANOID_SKELETON_TEMPLATE, LIP_SYNC_CONTROL_TO_BINDINGS, MORPH_TO_MESH, RustAnnotationCameraCore, RustCameraFlight, RustCameraOrbit, RustHairPhysics, TEMPLATE_SKELETON_FIT_METADATA_KIND, TEMPLATE_SKELETON_FIT_METADATA_VERSION, TEMPLATE_SKELETON_FIT_STATUSES, TEMPLATE_SKELETON_FIT_VERTICAL_ANCHORS, TEMPLATE_SKELETON_FIT_VERTICAL_AXES, THREE_BLENDING_MODES, ThreeAnimationRuntime, ThreeAnimationSystem, ThreeClipAdapter, ThreeFrameApplier, ThreeModelInspector, TsClipCompiler, TsRuntimeCore, VISEME_JAW_AMOUNTS, VISEME_KEYS, WasmRuntimeCore, analyzeModel, applyAUBoneBindingUpdate, applyBilateralAxisBindingUpdate, applyBoneAxisBindingUpdate, applyCharacterModelTransform, applyCharacterProfileToPreset, buildBoneAuOptions, buildFrameApplierBindings, buildMappingEditorModel, classifyAuAsJointControl, collectMorphMeshes2 as collectMorphMeshes, compileVisemeKeys, composeTemplateSkeletonFitTransform, computeCameraRelativeGazeOffset, computeHumanoidSkeletonTemplateRestBounds, createBilateralBoneAxisAu, createBoneAxisAu, createCharacterHost, createDefaultCharacterLighting, createDefaultCharacterScene, createRustAnnotationCameraCore, createRustHairPhysics, createShadowPlane, createValidationSkeletonFromHumanoidTemplate, detectAnnotationLaterality, detectFacingDirection, disposeCharacterModel, ensureBilateralBoneNodeKeys, ensureBoneNodeKey, extendCharacterConfigWithPreset, extendPresetWithProfile, extendProfileConfigWithPreset, extractFromGLTF, extractHumanoidSkeletonTemplateFromModel, extractLegacyCharacterProfileOverrides, extractModelData, extractProfileOverrides, findFaceCenter, findNodeKeyForBone, formatAxisDirectionLabel, formatAxisLabel, fuzzyNameMatch, generateMappingCorrections, getAUBoneBindingState, getAxisFromChannel, getBilateralAxisBindingState, getBoneAxisBindingState, getDefaultAnnotationLaterality, getHumanoidSkeletonTemplate, getHumanoidSkeletonTemplateBoneNames, getMeshNamesForAUProfile, getMeshNamesForVisemeProfile, getModelForwardDirection, getModelLocalOrbitAngle, getPreset, getPresetWithProfile, getProfilePresetId, getProfileVisemeSlots, getRegionSemanticSide, getSemanticHorizontalSign, getSemanticHorizontalSignForSide, getVisemeBindingTargets, getVisemeJawAmounts, getVisemeSlotIndex, getWorldDirectionForCameraAngle, hasLeftRightMorphs, inferChiralBoneNamePair, inferEyeControlFamily, inferEyeControlScope, isJointControlAuInfo, isMaxDegreesOnlyAxisBindingUpdate, isMixedAU, isPresetCompatible, isTemplateSkeletonFitStatus, loadCharacterModel, mapProviderVisemeToSlot, mergeRegionsByName as mergeCharacterRegionsByName, mergePresetWithProfile, mergeProfileRegionsByName, normalizeCameraAngle, normalizeDefaultCharacterLightingSettings, normalizeHairColorAppearance, numericArrayToNumbers, packHairConfig, packHeadState, parseCharacterModel, passesMarkerCameraAngleGate, resolveBoneAxisChannel, resolveBoneName, resolveBoneNameForNodeKey, resolveBoneNames, resolveContinuumDisplayLabel, resolveFaceCenter, resolvePreset, resolvePresetWithOverrides, resolveProfileFromPreset, resolveRegionCameraAngle, resolveRegionVisibilityCameraAngle, resolveRustEmbeddedProfileView, resolveRustProfileView, resolveVisemeMeshCategory, stripConfiguredBoneAffixes, suggestBestPreset, toModelLocalDirection2 as toModelLocalDirection, toWorldDirection, unpackBoneFrameDelta, unpackHairConfig, unpackHairMorphOutput, unpackHairState, unpackMorphFrameDelta, validateMappingConfig, validateMappings, validateTemplateSkeletonFitMetadata };
15143
14920
  //# sourceMappingURL=index.js.map
15144
14921
  //# sourceMappingURL=index.js.map