We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd67e49 commit fcf526dCopy full SHA for fcf526d
src/materials/MeshPhysicalMaterial.js
@@ -34,6 +34,8 @@ import * as MathUtils from '../math/MathUtils.js';
34
35
class MeshPhysicalMaterial extends MeshStandardMaterial {
36
37
+ #transmission = 0;
38
+
39
constructor( parameters ) {
40
41
super();
@@ -88,6 +90,25 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
88
90
89
91
}
92
93
+ get transmission() {
94
95
+ return this.#transmission;
96
97
+ }
98
99
+ set transmission( value ) {
100
101
+ if ( this.#transmission > 0 !== value > 0 ) {
102
103
+ this.version ++;
104
105
106
107
+ this.#transmission = value;
108
109
110
111
112
copy( source ) {
113
114
super.copy( source );
0 commit comments