Capítulo 566 de 859
Represents a single flare that can be added to a Lensflare container.
[0,1]) from the light source. A value of 0 means the flare is located at light source.import { LensflareElement } from 'three/addons/objects/Lensflare.js';
Constructor
| Signature |
|---|
new LensflareElement( texture : Texture, size : number, distance : number, color : Color ) |
Properties
| Property | Description |
|---|---|
.color : Color | The flare's color |
.distance : number | The normalized distance ([0,1]) from the light source. A value of 0 means the flare is located at light source. |
.size : number | The size in pixels. |
.texture : Texture | The flare's texture. |