@types/three 0.178.0 → 0.178.1
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.
- three/README.md +1 -1
- three/package.json +2 -2
- three/src/materials/MeshPhysicalMaterial.d.ts +12 -0
three/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for three (https://threejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 09 Jul 2025 18:02:54 GMT
|
|
12
12
|
* Dependencies: [@dimforge/rapier3d-compat](https://npmjs.com/package/@dimforge/rapier3d-compat), [@tweenjs/tween.js](https://npmjs.com/package/@tweenjs/tween.js), [@types/stats.js](https://npmjs.com/package/@types/stats.js), [@types/webxr](https://npmjs.com/package/@types/webxr), [@webgpu/types](https://npmjs.com/package/@webgpu/types), [fflate](https://npmjs.com/package/fflate), [meshoptimizer](https://npmjs.com/package/meshoptimizer)
|
|
13
13
|
|
|
14
14
|
# Credits
|
three/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/three",
|
|
3
|
-
"version": "0.178.
|
|
3
|
+
"version": "0.178.1",
|
|
4
4
|
"description": "TypeScript definitions for three",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
"meshoptimizer": "~0.18.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {},
|
|
52
|
-
"typesPublisherContentHash": "
|
|
52
|
+
"typesPublisherContentHash": "d9c620a2d4d95c3bca7cfc75c9b59be43aedab8c28dfc9871f33870fefadd371",
|
|
53
53
|
"typeScriptVersion": "5.1"
|
|
54
54
|
}
|
|
@@ -60,6 +60,18 @@ export interface MeshPhysicalMaterialProperties extends MeshStandardMaterialProp
|
|
|
60
60
|
* @default 1.5
|
|
61
61
|
*/
|
|
62
62
|
ior: number;
|
|
63
|
+
/**
|
|
64
|
+
* Degree of reflectivity, from `0.0` to `1.0`. Default is `0.5`, which
|
|
65
|
+
* corresponds to an index-of-refraction of `1.5`.
|
|
66
|
+
*
|
|
67
|
+
* This models the reflectivity of non-metallic materials. It has no effect
|
|
68
|
+
* when `metalness` is `1.0`
|
|
69
|
+
*
|
|
70
|
+
* @name MeshPhysicalMaterial#reflectivity
|
|
71
|
+
* @default 0.5
|
|
72
|
+
*/
|
|
73
|
+
get reflectivity(): number;
|
|
74
|
+
set reflectivity(reflectivity: number);
|
|
63
75
|
/**
|
|
64
76
|
* The red channel of this texture is multiplied against `iridescence`, for per-pixel
|
|
65
77
|
* control over iridescence.
|