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

Method setPreferredWidth

src/core/Resolution.js:405–409  ·  view source on GitHub ↗

* Sets the preferred width. * * Use Resizer.AUTO_SIZE to automatically calculate the width based on the height and aspect ratio. * * @deprecated Use preferredWidth instead. * @param {Number} value - The width.

(value)

Source from the content-addressed store, hash-verified

403 */
404
405 setPreferredWidth(value) {
406
407 this.preferredWidth = value;
408
409 }
410
411 /**
412 * The preferred height.

Callers 1

Resolution.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected