A Lens Flare component displays a lens flare that is configured by a Flare asset.
You can display a Flare asset with a Light component. If you do this, Unity automatically tracks the position and direction of the Light and uses those values to configure the appearance of the lens flare.
Use this component instead to configure the values of the lens flare yourself, which gives you more precise control.
Note: This workflow is compatible only with the Built-in Render Pipeline. For similar functionality in other render pipelines, see Lens flares and halos.
|Flare||The Flare asset to render.
Note: The other properties in the Lens Flare Inspector are stored in this Flare asset. They are not stored in the Lens Flare component.
|Brightness||The size and brightness the lens flare appears. If you use a very bright lens flare, make sure its direction fits with your Scene’s primary light source. Can only affect properties that Flare has enabled.|
|Fade Speed||Unity 淡入和淡出镜头光晕的速度。|
|Directional||指示 Unity 是否使光晕的方向沿游戏对象的正 z 轴。光晕看起来好像是无限远，不会跟踪游戏对象的位置，只跟踪 z 轴的方向。|