SetRange
This function sets the near and far range of the LensFlare. The LensFlare will fade from visibility when its distance from the camera exceeds the far range. The LensFlare will stop shrinking when its distance to the camera becomes less than the near range.
Syntax
- SetRange(number nearrange, number farrange)
Parameters
- nearradius: the distance at which the LensFlare will stop getting smaller.
- farradius: the distance at which the LensFlare will fade out completely and no longer be visible.