@react-three/drei 10.0.1 → 10.0.3

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
- export declare const DiscardMaterial: typeof import("three").ShaderMaterial & {
1
+ export declare const DiscardMaterial: import("@react-three/fiber").ConstructorRepresentation<import("three").ShaderMaterial> & {
2
2
  key: string;
3
3
  };
@@ -1,4 +1,18 @@
1
1
  import * as THREE from 'three';
2
- export declare const MeshRefractionMaterial: typeof THREE.ShaderMaterial & {
2
+ import { MeshBVHUniformStruct } from 'three-mesh-bvh';
3
+ export declare const MeshRefractionMaterial: import("@react-three/fiber").ConstructorRepresentation<THREE.ShaderMaterial & {
4
+ envMap: null;
5
+ bounces: number;
6
+ ior: number;
7
+ correctMips: true;
8
+ aberrationStrength: number;
9
+ fresnel: number;
10
+ bvh: MeshBVHUniformStruct;
11
+ color: THREE.Color;
12
+ opacity: number;
13
+ resolution: THREE.Vector2;
14
+ viewMatrixInverse: THREE.Matrix4;
15
+ projectionMatrixInverse: THREE.Matrix4;
16
+ }> & {
3
17
  key: string;
4
18
  };
@@ -37,7 +37,23 @@ export declare const WireframeMaterialShaders: {
37
37
  vertex: string;
38
38
  fragment: string;
39
39
  };
40
- export declare const WireframeMaterial: typeof THREE.ShaderMaterial & {
40
+ export declare const WireframeMaterial: import("@react-three/fiber").ConstructorRepresentation<THREE.ShaderMaterial & {
41
+ strokeOpacity: number;
42
+ fillOpacity: number;
43
+ fillMix: number;
44
+ thickness: number;
45
+ colorBackfaces: boolean;
46
+ dashInvert: boolean;
47
+ dash: boolean;
48
+ dashRepeats: number;
49
+ dashLength: number;
50
+ squeeze: boolean;
51
+ squeezeMin: number;
52
+ squeezeMax: number;
53
+ stroke: THREE.Color;
54
+ backfaceStroke: THREE.Color;
55
+ fill: THREE.Color;
56
+ }> & {
41
57
  key: string;
42
58
  };
43
59
  export declare function setWireframeOverride(material: THREE.Material, uniforms: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/drei",
3
- "version": "10.0.1",
3
+ "version": "10.0.3",
4
4
  "private": false,
5
5
  "description": "useful add-ons for react-three-fiber",
6
6
  "keywords": [