.. role:: clio-optional
   :class: clio-flag clio-flag-optional


##############
BloomLayerInfo
##############

.. js:class:: BloomLayerInfo

   Describes a single layer in the bloom effect.
   
   See [[View.setBloomLayers]].
   
   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~BloomLayerInfo.blurInterval`
   * :js:data:`~BloomLayerInfo.blurSamples`
   * :js:data:`~BloomLayerInfo.intensity`
   
   




Properties
==========

.. js:data:: BloomLayerInfo.blurInterval

   .. rst-class:: clio-flags
   
      :clio-optional:`optional`
   
   .. rst-class:: sig-pretty-signature
   
      | blurInterval: [*number*\ , :js:data:`~BlurIntervalUnit`\ ]
   
   The distance between samples taken during the Gaussian blur operation executed when rendering this layer.
   
   The [[BlurIntervalUnit.Pixels]] unit is interpreted based on the dimensions of the current layer, which are half the dimensions of the previous layer (or the source image if this is the first layer).
   
   Using ``[1, Pixels]`` will ensure that each pixel in the previous layer contributes to the current layer, but will cause the bloom size to be dependent on the canvas size. It may therefore be advisable to adjust the interval using [[BlurIntervalUnit.Pixels]] and translate it to one of the other units. This has been done for the default settings.
   
   If unspecified, the value will be ``[1, Pixels]``\ .
   



.. js:data:: BloomLayerInfo.blurSamples

   .. rst-class:: clio-flags
   
      :clio-optional:`optional`
   
   .. rst-class:: sig-pretty-signature
   
      | blurSamples: *number*
   
   The number of samples taken in each of the two passes of the Gaussian blur operation executed when rendering this layer.
   
   If unspecified, the value will be ``9``\ .
   



.. js:data:: BloomLayerInfo.intensity

   .. rst-class:: clio-flags
   
      :clio-optional:`optional`
   
   .. rst-class:: sig-pretty-signature
   
      | intensity: *number*
   
   A number used to scale the contribution of the layer to the image. Can be greater than ``1``\ .
   
   If unspecified, the value will be ``1``\ .
   
   See [[View.setBloomIntensityScale]].
   





