threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
13 lines • 396 B
JavaScript
import { AHelperWidget } from './AHelperWidget';
export class ALightHelperWidget extends AHelperWidget {
constructor(object) {
super(object);
this.light = object;
this.traverse(o => {
o.userData.__keepShadowDef = true;
o.castShadow = false;
o.receiveShadow = false;
});
}
}
//# sourceMappingURL=ALightHelperWidget.js.map