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

Method clear

src/core/Selection.js:144–156  ·  view source on GitHub ↗

* Clears this selection. * * @return {Selection} This selection.

()

Source from the content-addressed store, hash-verified

142 */
143
144 clear() {
145
146 const layer = this.layer;
147
148 for(const object of this) {
149
150 object.layers.disable(layer);
151
152 }
153
154 return super.clear();
155
156 }
157
158 /**
159 * Clears this selection and adds the given objects.

Callers 6

setMethod · 0.95
clearSelectionMethod · 0.45
lutMethod · 0.45
modeMethod · 0.45
renderMethod · 0.45
disposeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected