fadeSpeed
The fade speed of the flare.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public float fadeSpeed { get; set; }
Remarks
Additional Resources: Lens flare component, flare assets.
Examples
using UnityEngine;public class Example : MonoBehaviour{ // Increments the strenght of the Lensflare lf when the Transform tr // gets closer to the Lens flare public LensFlare lf; public Transform tr; void Start() { lf.fadeSpeed = 0.5f; }}