.. role:: ts-api-decorator

#########
DoorCache
#########

.. js:module:: Operators.Camera
   :noindex:

.. container:: ts-api-section

   .. js:class:: DoorCache



.. container:: api-index-section

   .. rubric:: Constructors

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

   * :js:meth:`~Operators.Camera.DoorCache.constructor`



.. container:: api-index-section

   .. rubric:: Methods

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

   * :js:meth:`~Operators.Camera.DoorCache.forgetNearbyDoors`
   * :js:meth:`~Operators.Camera.DoorCache.updateNearbyDoors`





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

Constructors
============

.. container:: ts-api-section

   .. js:function:: DoorCache.constructor( viewer)

      :param viewer: None
      :type viewer: WebViewer


      :rtype: DoorCache



Methods
=======

.. rst-class:: ts-api-section

forgetNearbyDoors
-----------------

.. js:method:: DoorCache.forgetNearbyDoors()



   :rtype: void

.. rst-class:: ts-api-section

updateNearbyDoors
-----------------

.. js:method:: DoorCache.updateNearbyDoors( position, maxDoorDistance, nearbyDoorOpacity)

   :param position: None
   :type position: Point3
   :param maxDoorDistance: None
   :type maxDoorDistance: number
   :param nearbyDoorOpacity: None
   :type nearbyDoorOpacity: number


   :rtype: Promise <void>

