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

Method setBaseSize

src/core/Resolution.js:349–358  ·  view source on GitHub ↗

* Sets the base size. * * @param {Number} width - The width. * @param {Number} height - The height.

(width, height)

Source from the content-addressed store, hash-verified

347 */
348
349 setBaseSize(width, height) {
350
351 if(this.baseSize.width !== width || this.baseSize.height !== height) {
352
353 this.baseSize.set(width, height);
354 this.dispatchEvent({ type: "change" });
355
356 }
357
358 }
359
360 /**
361 * The preferred width.

Callers 14

Resolution.jsFile · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80
setSizeMethod · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected