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

Method mainCamera

src/passes/EffectPass.js:333–343  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

331 }
332
333 set mainCamera(value) {
334
335 this.fullscreenMaterial.copyCameraSettings(value);
336
337 for(const effect of this.effects) {
338
339 effect.mainCamera = value;
340
341 }
342
343 }
344
345 /**
346 * Indicates whether this pass encodes its output when rendering to screen.

Callers

nothing calls this directly

Calls 1

copyCameraSettingsMethod · 0.45

Tested by

no test coverage detected