.. role:: ts-api-decorator

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

.. js:module:: cee
   :noindex:

.. container:: ts-api-section

   .. js:class:: AmbientOcclusion

      Controls usage of ambient occlusion in a View.

      You can access the ambient occlusion object though the ``View.ambientOcclusion`` property.



.. container:: api-index-section

   .. rubric:: Accessors

   .. rst-class:: api-index-list-item api-kind-accessor api-parent-kind-class

   * :js:attr:`~cee.AmbientOcclusion.enable`
   * :js:attr:`~cee.AmbientOcclusion.screenProportionalRadius`





------------

Accessors
=========

.. container:: ts-api-section

   .. js:function:: AmbientOcclusion.enable()



      Enable or disable ambient occlusion


      :rtype: boolean

   .. js:function:: AmbientOcclusion.enable( enable)

      :param enable: None
      :type enable: boolean


      :rtype: void



.. container:: ts-api-section

   .. js:function:: AmbientOcclusion.screenProportionalRadius()



      Specify the screen proportional radius of the ambient occlusion effect


      :rtype: number

   .. js:function:: AmbientOcclusion.screenProportionalRadius( radius)

      :param radius: None
      :type radius: number


      :rtype: void



