SetRadius
This function sets the near and far radius of the specified LensFlare. The near and far radius correspond to the radio of the LensFlare at its near and far range distances from the camera.
Syntax
- void SetRadius(float near, float far)
Parameters
- nearradius: this is the radius of the LensFlare's visible billboard when the distance to the camera is equal or less than the LensFlare's near range.
- farradius: this is the radius of the LensFlare's visible billboard when the distance to the camera is equal to the LensFlare's far range.