We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0f0453 commit f96aa01Copy full SHA for f96aa01
src/effects/DepthOfFieldEffect.js
@@ -264,6 +264,24 @@ export class DepthOfFieldEffect extends Effect {
264
265
}
266
267
+ /**
268
+ * The mask function. Default is `MULTIPLY_RGB_SET_ALPHA`.
269
+ *
270
+ * @type {MaskFunction}
271
+ */
272
+
273
+ get maskFunction() {
274
275
+ return this.maskPass.fullscreenMaterial.maskFunction;
276
277
+ }
278
279
+ set maskFunction(value) {
280
281
+ this.maskPass.fullscreenMaterial.maskFunction = value;
282
283
284
285
/**
286
* The circle of confusion material.
287
*
0 commit comments