animate/webGl/my-threejs-test/node_modules/three/examples/jsm/lights/IESSpotLight.js

26 lines
387 B
JavaScript
Raw Normal View History

2024-06-24 09:24:00 +00:00
import { SpotLight } from 'three';
class IESSpotLight extends SpotLight {
constructor( color, intensity, distance, angle, penumbra, decay ) {
super( color, intensity, distance, angle, penumbra, decay );
this.iesMap = null;
}
copy( source, recursive ) {
super.copy( source, recursive );
this.iesMap = source.iesMap;
return this;
}
}
export default IESSpotLight;