.. role:: ts-api-decorator

#############
BatchedValues
#############

.. js:module:: Animation
   :noindex:

.. container:: ts-api-section

   .. js:class:: BatchedValues

      A structure that holds all interpolated data to be applied to the viewer
      for one tick of the [[Animation.Manager]]. See [[Player.evaluate]].



.. container:: api-index-section

   .. rubric:: Constructors

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

   * :js:meth:`~Animation.BatchedValues.constructor`



.. container:: api-index-section

   .. rubric:: Properties

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

   * :js:attr:`~Animation.BatchedValues.camera`
   * :js:attr:`~Animation.BatchedValues.node`



.. container:: api-index-section

   .. rubric:: Methods

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

   * :js:meth:`~Animation.BatchedValues.apply`
   * :js:meth:`~Animation.BatchedValues.clear`





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

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

.. container:: ts-api-section

   .. js:function:: BatchedValues.constructor()



      :rtype: BatchedValues



Properties
==========

.. container:: ts-api-section

   .. js:attribute:: BatchedValues.camera

      :type: BatchedCameraValues

      Properties to be set on the camera.



.. container:: ts-api-section

   .. js:attribute:: BatchedValues.node

      :type: BatchedNodeValues

      Properties to be set on nodes.



Methods
=======

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

apply
-----

.. js:method:: BatchedValues.apply( viewer)

   :param viewer: None
   :type viewer: WebViewer


   Set the stored values on the supplied [[WebViewer]].


   :rtype: void

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

clear
-----

.. js:method:: BatchedValues.clear()



   Reset this object to its initial state.


   :rtype: void

