Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LensFlare

Script interface for a Lens flare component.
Read time 6 minutesLast updated 5 days ago

Definition

Warning
Deprecated. The Lens Flare component is deprecated now that the Built-In Render Pipeline is deprecated. To use an alternative, refer to the documentation in the component help icon. #from(6000.5)
public sealed class LensFlare : Behaviour

Remarks

This allows you to change the brightness and color of lens flares at runtime.

Properties

Property

Description

brightnessThe strength of the flare.
colorThe color of the flare.
fadeSpeedThe fade speed of the flare.
flareThe flare asset to use.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.