The Size
property of the Blur
class in the Sandbox namespace specifies the intensity of the blur effect applied to the camera. It is a floating-point value that determines how much the image should be blurred.
This property is decorated with the RangeAttribute
, which constrains its value between 0
and 1
, with a step increment of 0.01
. This ensures that the blur size is always within a reasonable range for visual effects.
The Size
property is also marked with the PropertyAttribute
, indicating that it can be exposed and manipulated in the editor or through scripts.