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

Method setPreferredHeight

src/core/Resolution.js:456–460  ·  view source on GitHub ↗

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

(value)

Source from the content-addressed store, hash-verified

454 */
455
456 setPreferredHeight(value) {
457
458 this.preferredHeight = value;
459
460 }
461
462 /**
463 * Sets the preferred size.

Callers 1

Resolution.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected