LensFlare
Script interface for a Lens flare component.
Read time 6 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Behaviour
public sealed class LensFlare : Behaviour
Remarks
This allows you to change the brightness and color of lens flares at runtime.
Properties
Property | Description |
|---|---|
| brightness | The strength of the flare. |
| color | The color of the flare. |
| fadeSpeed | The fade speed of the flare. |
| flare | The flare asset to use. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |