
################
AmbientOcclusion
################

.. js:class:: cee.AmbientOcclusion

   Controls usage of ambient occlusion in a View.
   
   You can access the ambient occlusion object though the :js:func:`View.ambientOcclusion <cee.View.ambientOcclusion>` property.
   
   
   Index
   =====
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.AmbientOcclusion.enable`
   * :js:func:`~cee.AmbientOcclusion.screenProportionalRadius`
   
   



.. rst-class:: kind-group kind-accessors

.. rubric:: Accessors
   :class: kind-group-title


.. js:method:: cee.AmbientOcclusion.enable

      .. rst-class:: sig-pretty-signature
      
         | *get* enable(): *boolean*
      
      Enable or disable ambient occlusion
      
      **Returns**\ : *boolean*
      
      .. rst-class:: sig-pretty-signature
      
         | *set* enable(**enable**\ : *boolean*\ ): *void*
      
      **Parameters**
      
      
         **enable**\ : *boolean*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.AmbientOcclusion.screenProportionalRadius

      .. rst-class:: sig-pretty-signature
      
         | *get* screenProportionalRadius(): *number*
      
      Specify the screen proportional radius of the ambient occlusion effect
      
      **Returns**\ : *number*
      
      .. rst-class:: sig-pretty-signature
      
         | *set* screenProportionalRadius(**radius**\ : *number*\ ): *void*
      
      **Parameters**
      
      
         **radius**\ : *number*
      
      
      **Returns**\ : *void*
      




