blurRadius
TypeScriptget blurRadius(): numberSwift declarationvar blurRadius: FloatThe width of the bloom blur kernel as a percentage of viewport height Valid range: `[3, 12]`
struct · iOS 27.0+ · SDK 27.1
struct BloomOptionsComponentA component that sets the properties for the bloom post-processing effects. This component has no effect without a BloomComponent in your scene. It's best to maintain a single BloomOptionsComponent in your scene. If more than one BloomOptionsComponent exists in your scene, one will be chosen based on proximity to the camera and depth in the entity hierarchy.
get blurRadius(): numberSwift declarationvar blurRadius: FloatThe width of the bloom blur kernel as a percentage of viewport height Valid range: `[3, 12]`
set blurRadius(value: number)Swift declarationvar blurRadius: FloatThe width of the bloom blur kernel as a percentage of viewport height Valid range: `[3, 12]`
get strength(): numberSwift declarationvar strength: FloatThe intensity of the bloom effect. Higher values create a more pronounced glow effect. The values can be be in the range `[0.0, 2.0]`, where: - `0.0` disables the bloom effect entirely - `0.25` provides a subtle bloom (default) - `1.0` creates a strong, dramatic bloom effect - `>1` extremely intense effects but may have some visual artifacts
set strength(value: number)Swift declarationvar strength: FloatThe intensity of the bloom effect. Higher values create a more pronounced glow effect. The values can be be in the range `[0.0, 2.0]`, where: - `0.0` disables the bloom effect entirely - `0.25` provides a subtle bloom (default) - `1.0` creates a strong, dramatic bloom effect - `>1` extremely intense effects but may have some visual artifacts
get threshold(): numberSwift declarationvar threshold: FloatThe brightness threshold for bloom activation. Only pixels with luminance values above this threshold will contribute to the bloom effect. The value is typically in the range `[0.0, 1.x]`: - `0.0` makes all pixels contribute to bloom - `1.0` standard threshold for HDR content (default) - `>1` only very bright highlights will bloom Higher thresholds create more selective bloom that only affects the brightest elements in the scene.
set threshold(value: number)Swift declarationvar threshold: FloatThe brightness threshold for bloom activation. Only pixels with luminance values above this threshold will contribute to the bloom effect. The value is typically in the range `[0.0, 1.x]`: - `0.0` makes all pixels contribute to bloom - `1.0` standard threshold for HDR content (default) - `>1` only very bright highlights will bloom Higher thresholds create more selective bloom that only affects the brightest elements in the scene.
static init(): BloomOptionsComponentSwift declarationinit()Creates a Bloom Options Component with default settings. The default configuration provides a moderate bloom effect with: - `strength`: 0.25 (25% bloom intensity) - `threshold`: 1.0 (pixels brighter than 1.0 will bloom) - `blurRadius`: 6 (6% of viewport height)
No declarations were skipped in this snapshot.