MCPcopy
hub / github.com/widgetti/ipyvolume / update_shadow

Method update_shadow

js/src/mesh.ts:204–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202 }
203
204 update_shadow() {
205 // TODO: we don't have this yet in scatter (inconsistent)
206 this.meshes.forEach((mesh) => {
207 mesh.castShadow = this.model.get("cast_shadow");
208 mesh.receiveShadow = this.model.get("receive_shadow");
209 });
210 }
211
212 remove_from_scene() {
213 this.meshes.forEach((mesh) => {

Callers 2

_update_materialsMethod · 0.95
create_meshMethod · 0.95

Calls 2

forEachMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected