.. role:: ts-api-decorator

#################
BatchedNodeValues
#################

.. js:module:: Animation
   :noindex:

.. container:: ts-api-section

   .. js:class:: BatchedNodeValues

      A structure that holds interpolated animation data for one or more nodes.
      See [[BatchedValues]].



.. container:: api-index-section

   .. rubric:: Constructors

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

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



.. container:: api-index-section

   .. rubric:: Properties

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

   * :js:attr:`~Animation.BatchedNodeValues.colors`
   * :js:attr:`~Animation.BatchedNodeValues.matrices`
   * :js:attr:`~Animation.BatchedNodeValues.matrixNodeIds`
   * :js:attr:`~Animation.BatchedNodeValues.opacities`
   * :js:attr:`~Animation.BatchedNodeValues.visibilityOff`
   * :js:attr:`~Animation.BatchedNodeValues.visibilityOn`



.. container:: api-index-section

   .. rubric:: Methods

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

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





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

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

.. container:: ts-api-section

   .. js:function:: BatchedNodeValues.constructor()



      :rtype: BatchedNodeValues



Properties
==========

.. container:: ts-api-section

   .. js:attribute:: BatchedNodeValues.colors

      :type: Map <number, Color>

      Color values to be applied with [[Model.setNodesColors]].



.. container:: ts-api-section

   .. js:attribute:: BatchedNodeValues.matrices

      :type: [Matrix]

      Matrices to be set on the nodes specified in [[matrixNodeIds]].



.. container:: ts-api-section

   .. js:attribute:: BatchedNodeValues.matrixNodeIds

      :type: [number]

      [[NodeId]] values corresponding to the matrix values in [[matrices]].



.. container:: ts-api-section

   .. js:attribute:: BatchedNodeValues.opacities

      :type: Map <number, number>

      Opacity values to be applied with [[Model.setNodesOpacities]].



.. container:: ts-api-section

   .. js:attribute:: BatchedNodeValues.visibilityOff

      :type: [number]

      Nodes to be made invisible.



.. container:: ts-api-section

   .. js:attribute:: BatchedNodeValues.visibilityOn

      :type: [number]

      Nodes to be made visible.



Methods
=======

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

apply
-----

.. js:method:: BatchedNodeValues.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:: BatchedNodeValues.clear()



   Reset this object to its initial state.


   :rtype: void

