@davi-ai/react-bodyengine-three 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,6 @@ declare enum Distances {
37
37
  }
38
38
  declare enum BodyMesh {
39
39
  cc3 = "CC_Base_Body",
40
- rpm = "Wolf3D_Body",
41
40
  avatarsdk = "AvatarBody",
42
41
  avaturn = "Body_Mesh"
43
42
  }
@@ -1,5 +1,5 @@
1
1
  import { ToneMapping, Vector3, Object3D } from 'three/webgpu';
2
- import { CreationTool, AnimationWeight } from '../../node_modules/@davi-ai/bodyengine-three/dist';
2
+ import { CreationTool, AnimationWeight } from '@davi-ai/bodyengine-three';
3
3
  import { Positions, Rotations, Distances, Emotions } from './enums';
4
4
  interface SpeechSynthesisCredentials {
5
5
  region?: string;
@@ -30,6 +30,8 @@ interface CharacterProps extends SpeechSynthesisOptions {
30
30
  environmentPreset?: EnvironmentPreset;
31
31
  tonemapping?: ToneMapping;
32
32
  targets?: Object3D[];
33
+ /** When true, BlendshapeManager drives lip animation instead of LipSyncManager. Default: false. */
34
+ useBlendshapeManager?: boolean;
33
35
  }
34
36
  interface Position2D {
35
37
  x: number;
@@ -73,4 +75,8 @@ interface EmotionData {
73
75
  value: number;
74
76
  }
75
77
  type EnvironmentPreset = 'apartment' | 'city' | 'dawn' | 'forest' | 'lobby' | 'night' | 'park' | 'studio' | 'sunset' | 'warehouse';
76
- export type { CharacterProps, SpeechSynthesisCredentials, Position2D, DefaultPositions, DefaultDistances, CameraPositionData, EmotionData, EnvironmentPreset };
78
+ interface BlendShapesData {
79
+ timestamp_ms: number;
80
+ blendshapes: Record<string, number>;
81
+ }
82
+ export type { CharacterProps, SpeechSynthesisCredentials, Position2D, DefaultPositions, DefaultDistances, CameraPositionData, EmotionData, EnvironmentPreset, BlendShapesData };