기술 자료

Unity Engine

Unity Engine

fadeSpeed

The fade speed of the flare.
읽는 시간 1분최근 업데이트: 한 달 전

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; }}