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

Method handleSelection

demo/src/demos/BloomDemo.js:128–139  ·  view source on GitHub ↗

* Handles the current selection. * * @private

()

Source from the content-addressed store, hash-verified

126 */
127
128 handleSelection() {
129
130 const selection = this.effect.selection;
131 const selectedObject = this.selectedObject;
132
133 if(selectedObject !== null) {
134
135 selection.toggle(selectedObject);
136
137 }
138
139 }
140
141 handleEvent(event) {
142

Callers 1

handleEventMethod · 0.95

Calls 1

toggleMethod · 0.80

Tested by

no test coverage detected