MCPcopy Create free account
hub / github.com/pmndrs/postprocessing / setEdgeDetectionThreshold

Method setEdgeDetectionThreshold

src/effects/SMAAEffect.js:310–314  ·  view source on GitHub ↗

* Sets the edge detection sensitivity. * * See EdgeDetectionMaterial#setEdgeDetectionThreshold for more details. * * @deprecated Use edgeDetectionMaterial instead. * @param {Number} threshold - The edge detection sensitivity. Range: [0.05, 0.5].

(threshold)

Source from the content-addressed store, hash-verified

308 */
309
310 setEdgeDetectionThreshold(threshold) {
311
312 this.edgeDetectionMaterial.edgeDetectionThreshold = threshold;
313
314 }
315
316 /**
317 * Sets the maximum amount of horizontal/vertical search steps.

Callers 15

initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
registerOptionsMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected