@davi-ai/react-bodyengine-three 1.0.0 → 1.0.6

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.
@@ -1,3 +1,3 @@
1
1
  import { CharacterProps } from '../models/types';
2
- declare const Character: ({ url, type, animationsUrl, gender, speechSynthesis, camera, onLoadingCompleted, autoLookAt, breathing, disableAnimations, debug, enableBml, animationWeights, license, detectGpuData }: CharacterProps) => JSX.Element;
2
+ declare const Character: ({ url, type, animationsUrl, gender, speechSynthesis, camera, onLoadingCompleted, autoLookAt, breathing, disableAnimations, debug, enableBml, animationWeights, license, detectGpuData, environmentPreset, tonemapping }: CharacterProps) => JSX.Element;
3
3
  export default Character;
@@ -1,7 +1,9 @@
1
+ import * as THREE from "three";
1
2
  interface SceneProps {
2
3
  parentGpuTier?: any;
3
4
  setIsGpuAvailable: (v: boolean) => void;
4
5
  children: any;
6
+ tonemapping: THREE.ToneMapping;
5
7
  }
6
- declare const Scene: ({ parentGpuTier, setIsGpuAvailable, children }: SceneProps) => JSX.Element;
8
+ declare const Scene: ({ parentGpuTier, setIsGpuAvailable, children, tonemapping }: SceneProps) => JSX.Element;
7
9
  export default Scene;
package/dist/index.d.ts CHANGED
@@ -5,8 +5,8 @@ export { setCameraPosition, setMovable } from './contexts/cameraStore';
5
5
  export { setCurrentAUs, setCurrentGaze, setCurrentHeadPose, setLookAtCamera, lookAtAndKeep, releaseLookAt, } from './contexts/headStore';
6
6
  export { setEmotions, setUseTopEmotionOnly, setAutoDecay, playFacialAnimation } from './contexts/emotionStore';
7
7
  export { setAutoPlay, getAnimationsMap, playAnimationByName } from './contexts/animationStore';
8
- export { setLut } from './contexts/postProcessStore';
9
8
  export { emotionList, CharacterState, CreationTool, bmlTags } from '../node_modules/@davi-ai/bodyengine-three/dist';
10
9
  export type { FacialAnimationData } from '../node_modules/@davi-ai/bodyengine-three/dist';
11
10
  export { Positions, Distances, Rotations } from './models/enums';
12
11
  export { presets } from './models/constants';
12
+ export type { EnvironmentPreset } from './models/types';