PointLightComponent.Radius Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The radius of the light emitting shape.
public:
property float Radius { float get(); void set(float value); };
public float Radius { get; set; }
member this.Radius : single with get, set
Public Property Radius As Single
Property Value
Remarks
By default the radius is zero and the emitting shape is just a point. If the radius is set to a larger value, the shape becomes a sphere or even a tube, if Length is also set.
A non-zero radius yields more realistic lighting for light bulbs and other objects that have a glowing surface. However, for performance reasons the computation is only an approximation of an area light. If such a light source comes too close to geometry or even intersects with it, the resulting lighting won't be physically correct.
A InvalidParam error occurs if the value is negative, NaN or infinite.