@react-three/drei 11.0.0-alpha.3 → 11.0.0-alpha.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/index.d.ts CHANGED
@@ -3,14 +3,13 @@ import { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, CSSPropertie
3
3
  import * as _react_three_fiber from '@react-three/fiber';
4
4
  import { ThreeElements, ReactThreeFiber, ThreeElement, Vector2, Vector3, ThreeEvent, Color as Color$1, ObjectMap, ComputeFunction, Euler } from '@react-three/fiber';
5
5
  import * as THREE from 'three';
6
- import { MeshStandardMaterial, Texture as Texture$1, Matrix4, Color, ColorRepresentation, Object3D, Fog, FogExp2, WebGLCubeRenderTarget, CubeCamera as CubeCamera$1, OrthographicCamera as OrthographicCamera$1, PerspectiveCamera as PerspectiveCamera$1, Event, Camera, Material, Vector3 as Vector3$1, Group, LOD, Mesh, ExtrudeGeometry, PositionalAudio as PositionalAudio$1, AnimationClip, AnimationMixer, AnimationAction, BufferGeometry, BufferAttribute, InstancedMesh as InstancedMesh$1, InstancedBufferAttribute, DepthTexture, CubeTexture as CubeTexture$1, Raycaster, Intersection, RenderTargetOptions, Box3, Sphere as Sphere$1, Loader as Loader$1, ColorSpace, Scene, PlaneGeometry, MeshBasicMaterial, EventDispatcher } from 'three';
7
- import { RenderPass } from 'three/examples/jsm/postprocessing/RenderPass';
8
- import { ShaderPass } from 'three/examples/jsm/postprocessing/ShaderPass';
9
- import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer';
6
+ import { MeshStandardMaterial, Texture as Texture$1, Matrix4, Color, ColorRepresentation, Object3D, Fog, FogExp2, WebGLCubeRenderTarget, CubeCamera as CubeCamera$1, OrthographicCamera as OrthographicCamera$1, PerspectiveCamera as PerspectiveCamera$1, Event, EventDispatcher, Camera, Material, Vector3 as Vector3$1, Group, LOD, Mesh, ExtrudeGeometry, PositionalAudio as PositionalAudio$1, AnimationClip, AnimationMixer, AnimationAction, BufferGeometry, BufferAttribute, InstancedMesh as InstancedMesh$1, InstancedBufferAttribute, DepthTexture, CubeTexture as CubeTexture$1, Raycaster, Intersection, RenderTargetOptions, Box3, Sphere as Sphere$1, Loader as Loader$1, ColorSpace, Scene, PlaneGeometry, MeshBasicMaterial } from 'three';
7
+ import { RenderPass } from 'three/examples/jsm/postprocessing/RenderPass.js';
8
+ import { ShaderPass } from 'three/examples/jsm/postprocessing/ShaderPass.js';
9
+ import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js';
10
10
  import { ArcballControls as ArcballControls$1 } from 'three/examples/jsm/controls/ArcballControls.js';
11
- import { DeviceOrientationControls as DeviceOrientationControls$1 } from 'three-stdlib';
12
11
  import { DragConfig } from '@use-gesture/react';
13
- import { FirstPersonControls as FirstPersonControls$1 } from 'three/examples/jsm/controls/FirstPersonControls';
12
+ import { FirstPersonControls as FirstPersonControls$1 } from 'three/examples/jsm/controls/FirstPersonControls.js';
14
13
  import { FlyControls as FlyControls$1 } from 'three/examples/jsm/controls/FlyControls.js';
15
14
  import * as zustand from 'zustand';
16
15
  import { StoreApi } from 'zustand';
@@ -20,24 +19,25 @@ import { PointerLockControls as PointerLockControls$1 } from 'three/examples/jsm
20
19
  import { TrackballControls as TrackballControls$1 } from 'three/examples/jsm/controls/TrackballControls.js';
21
20
  import { Line2 } from 'three/examples/jsm/lines/Line2.js';
22
21
  import { LineMaterialParameters, LineMaterial } from 'three/examples/jsm/lines/LineMaterial.js';
23
- import { Flow } from 'three/examples/jsm/modifiers/CurveModifier';
24
- import { TextGeometry, TextGeometryParameters } from 'three/examples/jsm/geometries/TextGeometry';
25
- import * as three_examples_jsm_loaders_FontLoader from 'three/examples/jsm/loaders/FontLoader';
26
- import { TransformControls as TransformControls$1 } from 'three/examples/jsm/controls/TransformControls';
22
+ import { Flow } from 'three/examples/jsm/modifiers/CurveModifier.js';
23
+ import { TextGeometry, TextGeometryParameters } from 'three/examples/jsm/geometries/TextGeometry.js';
24
+ import * as three_examples_jsm_loaders_FontLoader_js from 'three/examples/jsm/loaders/FontLoader.js';
25
+ import { TransformControls as TransformControls$1 } from 'three/examples/jsm/controls/TransformControls.js';
27
26
  import { Falsey, Assign } from 'utility-types';
28
27
  import * as hls_js from 'hls.js';
29
28
  import hls_js__default from 'hls.js';
30
- import { GLTFLoader, GLTF } from 'three/examples/jsm/loaders/GLTFLoader';
29
+ import { GLTFLoader, GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
30
+ import { KTX2Loader } from 'three/examples/jsm/loaders/KTX2Loader.js';
31
31
  import * as detect_gpu from 'detect-gpu';
32
32
  import { GetGPUTier } from 'detect-gpu';
33
33
  import Stats$1 from 'stats-gl';
34
- import { GroundedSkybox } from 'three/examples/jsm/objects/GroundedSkybox';
34
+ import { GroundedSkybox } from 'three/examples/jsm/objects/GroundedSkybox.js';
35
35
  import { Sky as Sky$1 } from 'three/examples/jsm/objects/Sky.js';
36
36
  import { SplitStrategy } from 'three-mesh-bvh';
37
37
  import CameraControlsImpl from 'camera-controls';
38
38
  export { default as CameraControlsImpl } from 'camera-controls';
39
39
  import { FaceLandmarkerResult, FaceLandmarkerOptions, FaceLandmarker as FaceLandmarker$1 } from '@mediapipe/tasks-vision';
40
- import { MarchingCubes as MarchingCubes$1 } from 'three/examples/jsm/objects/MarchingCubes';
40
+ import { MarchingCubes as MarchingCubes$1 } from 'three/examples/jsm/objects/MarchingCubes.js';
41
41
 
42
42
  type NamedArrayTuple<T extends (...args: any) => any> = Parameters<T>;
43
43
  type ForwardRefComponent<P, T> = ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
@@ -195,8 +195,8 @@ declare module '@react-three/fiber' {
195
195
  interface ThreeElements {
196
196
  portalMaterialImpl: ThreeElements['shaderMaterial'] & {
197
197
  resolution: ReactThreeFiber.Vector2;
198
- blur: number;
199
- blend: number;
198
+ blur?: number;
199
+ blend?: number;
200
200
  size?: number;
201
201
  sdf?: THREE.Texture;
202
202
  map?: THREE.Texture;
@@ -278,8 +278,8 @@ declare module '@react-three/fiber' {
278
278
  }
279
279
  declare class SegmentObject {
280
280
  color: THREE.Color;
281
- start: THREE.Vector3;
282
- end: THREE.Vector3;
281
+ start?: THREE.Vector3;
282
+ end?: THREE.Vector3;
283
283
  constructor();
284
284
  }
285
285
 
@@ -349,6 +349,34 @@ type ArcballControlsProps = Omit<Overwrite<ThreeElement<typeof ArcballControls$1
349
349
  }>, 'ref' | 'args'>;
350
350
  declare const ArcballControls: ForwardRefComponent<ArcballControlsProps, ArcballControls$1>;
351
351
 
352
+ interface StandardControlsEventMap {
353
+ change: {};
354
+ start: {};
355
+ end: {};
356
+ }
357
+ declare class DeviceOrientationControls$1 extends EventDispatcher<StandardControlsEventMap> {
358
+ object: Camera;
359
+ private changeEvent;
360
+ private EPS;
361
+ enabled: boolean;
362
+ deviceOrientation: Partial<DeviceOrientationEvent>;
363
+ screenOrientation: string | number;
364
+ alphaOffset: number;
365
+ constructor(object: Camera);
366
+ private onDeviceOrientationChangeEvent;
367
+ private onScreenOrientationChangeEvent;
368
+ private zee;
369
+ private euler;
370
+ private q0;
371
+ private q1;
372
+ private setObjectQuaternion;
373
+ connect: () => void;
374
+ disconnect: () => void;
375
+ private lastQuaternion;
376
+ update: () => void;
377
+ dispose: () => void;
378
+ }
379
+
352
380
  type DeviceOrientationControlsProps = Omit<ThreeElement<typeof DeviceOrientationControls$1>, 'ref' | 'args'> & {
353
381
  camera?: THREE.Camera;
354
382
  onChange?: (e?: THREE.Event) => void;
@@ -356,6 +384,9 @@ type DeviceOrientationControlsProps = Omit<ThreeElement<typeof DeviceOrientation
356
384
  };
357
385
  declare const DeviceOrientationControls: ForwardRefComponent<DeviceOrientationControlsProps, DeviceOrientationControls$1>;
358
386
 
387
+ type ExpandedDragConfig = DragConfig & {
388
+ preventOverlap?: boolean;
389
+ };
359
390
  type DragControlsProps = {
360
391
  autoTransform?: boolean;
361
392
  matrix?: THREE.Matrix4;
@@ -366,7 +397,7 @@ type DragControlsProps = {
366
397
  onDrag?: (localMatrix: THREE.Matrix4, deltaLocalMatrix: THREE.Matrix4, worldMatrix: THREE.Matrix4, deltaWorldMatrix: THREE.Matrix4) => void;
367
398
  onDragEnd?: () => void;
368
399
  children: React.ReactNode;
369
- dragConfig?: DragConfig;
400
+ dragConfig?: ExpandedDragConfig;
370
401
  };
371
402
  declare const DragControls: ForwardRefComponent<DragControlsProps, THREE.Group>;
372
403
 
@@ -515,6 +546,7 @@ type ScrollControlsProps = {
515
546
  maxSpeed?: number;
516
547
  prepend?: boolean;
517
548
  enabled?: boolean;
549
+ pixelPerfect?: boolean;
518
550
  style?: React.CSSProperties;
519
551
  children: React.ReactNode;
520
552
  };
@@ -531,9 +563,10 @@ type ScrollControlsState = {
531
563
  range(from: number, distance: number, margin?: number): number;
532
564
  curve(from: number, distance: number, margin?: number): number;
533
565
  visible(from: number, distance: number, margin?: number): boolean;
566
+ pixelPerfect: boolean;
534
567
  };
535
568
  declare function useScroll(): ScrollControlsState;
536
- declare function ScrollControls({ eps, enabled, infinite, horizontal, pages, distance, damping, maxSpeed, prepend, style, children, }: ScrollControlsProps): React.JSX.Element;
569
+ declare function ScrollControls({ eps, enabled, infinite, horizontal, pages, distance, damping, maxSpeed, prepend, pixelPerfect, style, children, }: ScrollControlsProps): React.JSX.Element;
537
570
  interface ScrollPropsWithFalseHtml {
538
571
  children?: React.ReactNode;
539
572
  html?: false;
@@ -786,7 +819,7 @@ type FontData = {
786
819
  original_font_information?: Record<string, unknown>;
787
820
  };
788
821
  type FontInput = string | FontData;
789
- declare function useFont(font: FontInput): three_examples_jsm_loaders_FontLoader.Font;
822
+ declare function useFont(font: FontInput): three_examples_jsm_loaders_FontLoader_js.Font;
790
823
  declare namespace useFont {
791
824
  var preload: (font: FontInput) => undefined;
792
825
  var clear: (font: FontInput) => void;
@@ -807,54 +840,6 @@ declare const Text3D: ForwardRefComponent<React.PropsWithChildren<Text3DProps &
807
840
  lineHeight?: number;
808
841
  }>, THREE.Mesh>;
809
842
 
810
- interface WireframeMaterialProps extends THREE.ShaderMaterialParameters {
811
- fillOpacity?: number;
812
- fillMix?: number;
813
- strokeOpacity?: number;
814
- thickness?: number;
815
- colorBackfaces?: boolean;
816
- dashInvert?: boolean;
817
- dash?: boolean;
818
- dashRepeats?: number;
819
- dashLength?: number;
820
- squeeze?: boolean;
821
- squeezeMin?: number;
822
- squeezeMax?: number;
823
- stroke?: THREE.ColorRepresentation;
824
- backfaceStroke?: THREE.ColorRepresentation;
825
- fill?: THREE.ColorRepresentation;
826
- }
827
- declare const WireframeMaterial: _react_three_fiber.ConstructorRepresentation<THREE.ShaderMaterial & {
828
- strokeOpacity: number;
829
- fillOpacity: number;
830
- fillMix: number;
831
- thickness: number;
832
- colorBackfaces: boolean;
833
- dashInvert: boolean;
834
- dash: boolean;
835
- dashRepeats: number;
836
- dashLength: number;
837
- squeeze: boolean;
838
- squeezeMin: number;
839
- squeezeMax: number;
840
- stroke: THREE.Color;
841
- backfaceStroke: THREE.Color;
842
- fill: THREE.Color;
843
- }> & {
844
- key: string;
845
- };
846
-
847
- declare module '@react-three/fiber' {
848
- interface ThreeElements {
849
- meshWireframeMaterial: ThreeElement<typeof WireframeMaterial>;
850
- }
851
- }
852
- interface WireframeProps {
853
- geometry?: THREE.BufferGeometry | React.RefObject<THREE.BufferGeometry>;
854
- simplify?: boolean;
855
- }
856
- declare function Wireframe({ geometry: customGeometry, ...props }: WireframeProps & WireframeMaterialProps): React.JSX.Element;
857
-
858
843
  type GizmoHelperContext = {
859
844
  tweenCamera: (direction: Vector3$1) => void;
860
845
  };
@@ -901,6 +886,11 @@ type OnDragStartProps = {
901
886
  origin: THREE.Vector3;
902
887
  directions: THREE.Vector3[];
903
888
  };
889
+ type OnHoverProps = {
890
+ component: 'Arrow' | 'Slider' | 'Rotator' | 'Sphere';
891
+ axis: 0 | 1 | 2;
892
+ hovering: boolean;
893
+ };
904
894
 
905
895
  type PivotControlsProps = {
906
896
  enabled?: boolean;
@@ -910,6 +900,7 @@ type PivotControlsProps = {
910
900
  offset?: [number, number, number];
911
901
  rotation?: [number, number, number];
912
902
  matrix?: THREE.Matrix4;
903
+ object?: THREE.Object3D | React.MutableRefObject<THREE.Object3D>;
913
904
  anchor?: [number, number, number];
914
905
  autoTransform?: boolean;
915
906
  activeAxes?: [boolean, boolean, boolean];
@@ -927,6 +918,7 @@ type PivotControlsProps = {
927
918
  onDragStart?: (props: OnDragStartProps) => void;
928
919
  onDrag?: (l: THREE.Matrix4, deltaL: THREE.Matrix4, w: THREE.Matrix4, deltaW: THREE.Matrix4) => void;
929
920
  onDragEnd?: () => void;
921
+ onHover?: (props: OnHoverProps) => void;
930
922
  depthTest?: boolean;
931
923
  renderOrder?: number;
932
924
  opacity?: number;
@@ -1012,6 +1004,7 @@ type InstancedAttributeProps = Omit<ThreeElements['instancedBufferAttribute'], '
1012
1004
  defaultValue: any;
1013
1005
  normalized?: boolean;
1014
1006
  usage?: number;
1007
+ type?: 'float' | 'int' | 'uint' | 'short' | 'ushort' | 'byte';
1015
1008
  };
1016
1009
  type InstancedMesh = Omit<THREE.InstancedMesh, 'instanceMatrix' | 'instanceColor'> & {
1017
1010
  instanceMatrix: THREE.InstancedBufferAttribute;
@@ -1326,10 +1319,10 @@ declare function Fbx({ path, ...props }: {
1326
1319
  type Path = string | string[];
1327
1320
  type UseDraco = boolean | string;
1328
1321
  type UseMeshopt = boolean;
1329
- type ExtendLoader = (loader: GLTFLoader) => void;
1322
+ type ExtendLoader$1 = (loader: GLTFLoader) => void;
1330
1323
  declare const useGLTF: {
1331
- <T extends Path>(path: T, useDraco?: UseDraco, useMeshopt?: UseMeshopt, extendLoader?: ExtendLoader): T extends any[] ? (GLTF & ObjectMap)[] : GLTF & ObjectMap;
1332
- preload(path: Path, useDraco?: UseDraco, useMeshopt?: UseMeshopt, extendLoader?: ExtendLoader): void;
1324
+ <T extends Path>(path: T, useDraco?: UseDraco, useMeshopt?: UseMeshopt, extendLoader?: ExtendLoader$1): T extends any[] ? (GLTF & ObjectMap)[] : GLTF & ObjectMap;
1325
+ preload(path: Path, useDraco?: UseDraco, useMeshopt?: UseMeshopt, extendLoader?: ExtendLoader$1): void;
1333
1326
  clear(path: Path): void;
1334
1327
  setDecoderPath(path: string): void;
1335
1328
  };
@@ -1337,22 +1330,26 @@ type GltfProps = Omit<CloneProps, 'object'> & {
1337
1330
  src: string;
1338
1331
  useDraco?: UseDraco;
1339
1332
  useMeshOpt?: UseMeshopt;
1340
- extendLoader?: ExtendLoader;
1333
+ extendLoader?: ExtendLoader$1;
1341
1334
  };
1342
1335
  declare const Gltf: React.ForwardRefExoticComponent<Omit<GltfProps, "ref"> & React.RefAttributes<THREE.Group<THREE.Object3DEventMap>>>;
1343
1336
 
1344
- declare function useKTX2<Url extends string[] | string | Record<string, string>>(input: Url, basisPath?: string): Url extends any[] ? Texture$1[] : Url extends object ? {
1337
+ type ExtendLoader = (loader: KTX2Loader) => void;
1338
+ declare function useKTX2<Url extends string[] | string | Record<string, string>>(input: Url, basisPath?: boolean | string, extendLoader?: ExtendLoader): Url extends any[] ? Texture$1[] : Url extends object ? {
1345
1339
  [key in keyof Url]: Texture$1;
1346
1340
  } : Texture$1;
1347
1341
  declare namespace useKTX2 {
1348
- var preload: (url: string extends any[] ? string[] : string, basisPath?: string) => void;
1342
+ var preload: (url: string extends any[] ? string[] : string, basisPath?: boolean | string, extendLoader?: ExtendLoader) => void;
1349
1343
  var clear: (input: string | string[]) => void;
1344
+ var setTranscoderPath: (path: string) => void;
1350
1345
  }
1351
- declare const Ktx2: ({ children, input, basisPath, }: {
1346
+ type Ktx2Props = {
1352
1347
  children?: (texture: ReturnType<typeof useKTX2>) => React.ReactNode;
1353
1348
  input: Parameters<typeof useKTX2>[0];
1354
1349
  basisPath?: Parameters<typeof useKTX2>[1];
1355
- }) => React.JSX.Element;
1350
+ extendLoader?: ExtendLoader;
1351
+ };
1352
+ declare const Ktx2: ({ children, input, basisPath, extendLoader }: Ktx2Props) => React.JSX.Element;
1356
1353
 
1357
1354
  type Data = {
1358
1355
  errors: string[];
@@ -1688,7 +1685,7 @@ type EnvironmentLoaderProps = {
1688
1685
  extensions?: (loader: Loader$1) => void;
1689
1686
  colorSpace?: ColorSpace;
1690
1687
  };
1691
- declare function useEnvironment({ files, path, preset, colorSpace, extensions, }?: Partial<EnvironmentLoaderProps>): CubeTexture$1<unknown> | Texture$1<unknown>;
1688
+ declare function useEnvironment({ files, path, preset, colorSpace, extensions, }?: Partial<EnvironmentLoaderProps>): Texture$1<unknown> | CubeTexture$1<unknown>;
1692
1689
  declare namespace useEnvironment {
1693
1690
  var preload: (preloadOptions?: EnvironmentLoaderPreloadOptions) => void;
1694
1691
  var clear: (clearOptions?: EnvironmentLoaderClearOptions) => void;
@@ -1864,6 +1861,7 @@ interface HtmlProps extends Omit<Assign<React.HTMLAttributes<HTMLDivElement>, Th
1864
1861
  geometry?: React.ReactNode;
1865
1862
  castShadow?: boolean;
1866
1863
  receiveShadow?: boolean;
1864
+ pixelPerfect?: boolean;
1867
1865
  }
1868
1866
  declare const Html: ForwardRefComponent<HtmlProps, HTMLDivElement>;
1869
1867
 
@@ -2162,5 +2160,5 @@ type MarchingPlaneProps = {
2162
2160
  } & ThreeElements['group'];
2163
2161
  declare const MarchingPlane: ForwardRefComponent<MarchingPlaneProps, THREE.Group>;
2164
2162
 
2165
- export { AdaptiveDpr, AdaptiveEvents, ArcballControls, BBAnchor, Backdrop, Billboard, Bounds, Box, Bvh, CameraControls, CameraShake, Capsule, CatmullRomLine, Center, Circle, Clone, Cloud, CloudInstance, Clouds, ComputedAttribute, Cone, CubeCamera, CubeTexture, CubicBezierLine, CurveModifier, CycleRaycast, Cylinder, Decal, Detailed, DetectGPU, DeviceOrientationControls, Dodecahedron, DragControls, Edges, Environment, EnvironmentCube, EnvironmentMap, EnvironmentPortal, Example, Extrude, FaceControls, FaceLandmarker, FaceLandmarkerDefaults, Facemesh, FacemeshDatas, FacemeshEye, FacemeshEyeDefaults, Fbo, Fbx, FirstPersonControls, Fisheye, Float, FlyControls, GizmoHelper, GizmoViewcube, GizmoViewport, Gltf, Helper, Html, Hud, Icosahedron, Instance, InstancedAttribute, Instances, IsObject, KeyboardControls, Ktx2, Lathe, Lightformer, Loader, MapControls, MarchingCube, MarchingCubes, MarchingPlane, Mask, MatcapTexture, Merged, MotionPathControls, NormalTexture, Octahedron, OrbitControls, OrthographicCamera, Outlines, PerformanceMonitor, PerspectiveCamera, PivotControls, Plane, Point, PointMaterial, PointMaterialImpl, PointerLockControls, Points, PointsBuffer, Polyhedron, PositionMesh, PositionPoint, PositionalAudio, Preload, PresentationControls, Progress, QuadraticBezierLine, RenderCubeTexture, RenderTexture, Resize, Ring, RoundedBox, RoundedBoxGeometry, Sampler, ScreenQuad, ScreenSizer, ScreenSpace, ScreenVideoTexture, Scroll, ScrollControls, Select, Shadow, Shape, Sky, Sphere, Splat, SpriteAnimator, Stage, Stats, StatsGl, Svg, Tetrahedron, Text3D, Texture, Torus, TorusKnot, TrackballControls, Trail, TrailTexture, TransformControls, Tube, VideoTexture, View, WebcamVideoTexture, Wireframe, calcPosFromAngles, checkIfFrameIsEmpty, createInstances, getFirstFrame, meshBounds, presetsObj, useAnimations, useAspect, useBVH, useBounds, useContextBridge, useCubeCamera, useCubeTexture, useCursor, useCustomRaycast, useDepthBuffer, useDetectGPU, useEnvironment, useFBO, useFBX, useFaceControls, useFaceLandmarker, useFont, useGLTF, useGizmoContext, useHelper, useIntersect, useKTX2, useKeyboardControls, useMask, useMatcapTexture, useMotion, useNormalTexture, usePerformanceMonitor, useProgress, useScroll, useSelect, useSpriteAnimator, useSpriteLoader, useSurfaceSampler, useTexture, useTrail, useTrailTexture, useVideoTexture };
2166
- export type { ArcballControlsProps, Args, BBAnchorProps, BVHOptions, BackdropProps, BillboardProps, BoundsApi, BoundsProps, BvhProps, CalculatePosition, CameraControlsProps, CameraShakeProps, CatmullRomLineProps, CenterProps, CloneProps, CloudProps, CloudsProps, ComputedAttributeProps, ContainerProps, CubeCameraOptions, CubeCameraProps, CubeTextureProps, CubicBezierLineProps, CurveModifierProps, CurveModifierRef, CycleRaycastProps, DecalProps, DetailedProps, DetectGPUProps, DeviceOrientationControlsProps, DragControlsProps, EdgesProps, EnvironmentLoaderProps, EnvironmentProps, ExampleApi, ExampleProps, FaceControlsApi, FaceControlsProps, FaceLandmarkerProps, FacemeshApi, FacemeshEyeApi, FacemeshEyeProps, FacemeshProps, FboProps, FirstPersonControlsProps, FisheyeProps, FloatProps, FlyControlsProps, FontData, FrameData, GizmoHelperProps, GltfProps, Glyph, HelperProps, HtmlProps, HudProps, InstanceProps, InstancedAttributeProps, InstancesProps, KeyboardControlsEntry, KeyboardControlsProps, LightProps, LoaderOptions, MapControlsProps, MarchingCubeProps, MarchingCubesProps, MarchingPlaneProps, MaskProps, MediaPipeFaceMesh, MediaPipePoints, MergedProps, MetaData, MotionPathProps, MotionPathRef, OnCenterCallbackProps, OrbitControlsChangeEvent, OrbitControlsProps, OrthographicCameraProps, OutlinesProps, PerformanceMonitorApi, PerformanceMonitorProps, PerspectiveCameraProps, PivotControlsProps, PointMaterialProps, PointerLockControlsProps, PointsBuffersProps, PointsInstancesProps, PositionalAudioProps, PreloadProps, PresentationControlProps, PresetsType, QuadraticBezierLineProps, QuadraticBezierLineRef, RenderCubeTextureApi, RenderCubeTextureProps, RenderTextureProps, ResizeProps, RoundedBoxGeometryProps, RoundedBoxProps, SamplerProps, ScreenQuadProps, ScreenSizerProps, ScreenSpaceProps, ScreenVideoTextureProps, ScrollControlsProps, ScrollControlsState, ScrollProps, SelectProps, ShadowProps, ShadowType, ShakeController, ShapeProps, SharedState, Size, SizeProps, SkyProps, SplatMaterialType, SplatProps, SpriteAnimatorProps, SpriteData, StageProps, StatsGlProps, StatsProps, SvgProps, TargetMesh, Text3DProps, TrackballControlsProps, TrailProps, TrailTextureProps, TransformControlsProps, TransformFn, VideoTextureProps, ViewProps, ViewportProps, WebcamVideoTextureProps, useSurfaceSamplerProps };
2163
+ export { AdaptiveDpr, AdaptiveEvents, ArcballControls, BBAnchor, Backdrop, Billboard, Bounds, Box, Bvh, CameraControls, CameraShake, Capsule, CatmullRomLine, Center, Circle, Clone, Cloud, CloudInstance, Clouds, ComputedAttribute, Cone, CubeCamera, CubeTexture, CubicBezierLine, CurveModifier, CycleRaycast, Cylinder, Decal, Detailed, DetectGPU, DeviceOrientationControls, Dodecahedron, DragControls, Edges, Environment, EnvironmentCube, EnvironmentMap, EnvironmentPortal, Example, Extrude, FaceControls, FaceLandmarker, FaceLandmarkerDefaults, Facemesh, FacemeshDatas, FacemeshEye, FacemeshEyeDefaults, Fbo, Fbx, FirstPersonControls, Fisheye, Float, FlyControls, GizmoHelper, GizmoViewcube, GizmoViewport, Gltf, Helper, Html, Hud, Icosahedron, Instance, InstancedAttribute, Instances, IsObject, KeyboardControls, Ktx2, Lathe, Lightformer, Loader, MapControls, MarchingCube, MarchingCubes, MarchingPlane, Mask, MatcapTexture, Merged, MotionPathControls, NormalTexture, Octahedron, OrbitControls, OrthographicCamera, Outlines, PerformanceMonitor, PerspectiveCamera, PivotControls, Plane, Point, PointMaterial, PointMaterialImpl, PointerLockControls, Points, PointsBuffer, Polyhedron, PositionMesh, PositionPoint, PositionalAudio, Preload, PresentationControls, Progress, QuadraticBezierLine, RenderCubeTexture, RenderTexture, Resize, Ring, RoundedBox, RoundedBoxGeometry, Sampler, ScreenQuad, ScreenSizer, ScreenSpace, ScreenVideoTexture, Scroll, ScrollControls, Select, Shadow, Shape, Sky, Sphere, Splat, SpriteAnimator, Stage, Stats, StatsGl, Svg, Tetrahedron, Text3D, Texture, Torus, TorusKnot, TrackballControls, Trail, TrailTexture, TransformControls, Tube, VideoTexture, View, WebcamVideoTexture, calcPosFromAngles, checkIfFrameIsEmpty, createInstances, getFirstFrame, meshBounds, presetsObj, useAnimations, useAspect, useBVH, useBounds, useContextBridge, useCubeCamera, useCubeTexture, useCursor, useCustomRaycast, useDepthBuffer, useDetectGPU, useEnvironment, useFBO, useFBX, useFaceControls, useFaceLandmarker, useFont, useGLTF, useGizmoContext, useHelper, useIntersect, useKTX2, useKeyboardControls, useMask, useMatcapTexture, useMotion, useNormalTexture, usePerformanceMonitor, useProgress, useScroll, useSelect, useSpriteAnimator, useSpriteLoader, useSurfaceSampler, useTexture, useTrail, useTrailTexture, useVideoTexture };
2164
+ export type { ArcballControlsProps, Args, BBAnchorProps, BVHOptions, BackdropProps, BillboardProps, BoundsApi, BoundsProps, BvhProps, CalculatePosition, CameraControlsProps, CameraShakeProps, CatmullRomLineProps, CenterProps, CloneProps, CloudProps, CloudsProps, ComputedAttributeProps, ContainerProps, CubeCameraOptions, CubeCameraProps, CubeTextureProps, CubicBezierLineProps, CurveModifierProps, CurveModifierRef, CycleRaycastProps, DecalProps, DetailedProps, DetectGPUProps, DeviceOrientationControlsProps, DragControlsProps, EdgesProps, EdgesRef, EnvironmentLoaderProps, EnvironmentProps, ExampleApi, ExampleProps, ExpandedDragConfig, FaceControlsApi, FaceControlsProps, FaceLandmarkerProps, FacemeshApi, FacemeshEyeApi, FacemeshEyeProps, FacemeshProps, FboProps, FirstPersonControlsProps, FisheyeProps, FloatProps, FlyControlsProps, FontData, FrameData, GizmoHelperProps, GltfProps, Glyph, HelperProps, HtmlProps, HudProps, InstanceProps, InstancedAttributeProps, InstancesProps, KeyboardControlsEntry, KeyboardControlsProps, Ktx2Props, LightProps, LoaderOptions, MapControlsProps, MarchingCubeProps, MarchingCubesProps, MarchingPlaneProps, MaskProps, MediaPipeFaceMesh, MediaPipePoints, MergedProps, MetaData, MotionPathProps, MotionPathRef, OnCenterCallbackProps, OnDragStartProps, OnHoverProps, OrbitControlsChangeEvent, OrbitControlsProps, OrthographicCameraProps, OutlinesProps, PerformanceMonitorApi, PerformanceMonitorProps, PerspectiveCameraProps, PivotControlsProps, PointMaterialProps, PointerLockControlsProps, PointsBuffersProps, PointsInstancesProps, PositionalAudioProps, PreloadProps, PresentationControlProps, PresetsType, QuadraticBezierLineProps, QuadraticBezierLineRef, RenderCubeTextureApi, RenderCubeTextureProps, RenderTextureProps, ResizeProps, RoundedBoxGeometryProps, RoundedBoxProps, SamplerProps, ScreenQuadProps, ScreenSizerProps, ScreenSpaceProps, ScreenVideoTextureProps, ScrollControlsProps, ScrollControlsState, ScrollProps, SelectProps, ShadowProps, ShadowType, ShakeController, ShapeProps, SharedState, Size, SizeProps, SkyProps, SplatMaterialType, SplatProps, SpriteAnimatorProps, SpriteData, StageProps, StatsGlProps, StatsProps, SvgProps, TargetMesh, Text3DProps, TrackballControlsProps, TrailProps, TrailTextureProps, TransformControlsProps, TransformFn, VideoTextureProps, ViewProps, ViewportProps, WebcamVideoTextureProps, useSurfaceSamplerProps };