|
|
@ -69,6 +69,13 @@ export class RectAreaLightHelper extends Line
|
|
|
|
this.add(new Mesh(geometry2, new MeshBasicMaterial({ side: BackSide, fog: false, transparent: true, opacity: 0.8 })));
|
|
|
|
this.add(new Mesh(geometry2, new MeshBasicMaterial({ side: BackSide, fog: false, transparent: true, opacity: 0.8 })));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
copy(source: this, recursive?: boolean): this
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this.light = source.light.clone();
|
|
|
|
|
|
|
|
this.color = source.color.clone();
|
|
|
|
|
|
|
|
return super.copy(source, recursive);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
updateMatrixWorld()
|
|
|
|
updateMatrixWorld()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
this.scale.set(0.5 * this.light.width, 0.5 * this.light.height, 1);
|
|
|
|
this.scale.set(0.5 * this.light.width, 0.5 * this.light.height, 1);
|
|
|
|