
####################
createCameraChannels
####################

.. js:function:: wv.Animation.createCameraChannels

   .. rst-class:: sig-pretty-signature
   
      | createCameraChannels(**animation**\ : :js:class:`Animation <wv.Animation.Animation>`\ , **namePrefix**\ : *string*\ , **interpolationType**\ : :js:data:`InterpolationType <wv.Animation.InterpolationType>`\ ): :js:class:`CameraChannel <wv.Animation.CameraChannel>`\ []
   
   Convenience method that sets up Animation channels, samplers, and keyframe buffers for the supplied camera.
   
   The created channel and buffer names will have the form: <namePrefix>-<Property> where type is the corresponding value of [[CameraProperty]]
   
   **Parameters**
   
   
      **animation**\ : :js:class:`Animation <wv.Animation.Animation>`
   
   
         Animation that will receive the new camera channels.  This animation should not contain any camera channels.
   
   
      **namePrefix**\ : *string*
   
   
         Prefix to use for channel names.
   
   
      **interpolationType**\ : :js:data:`InterpolationType <wv.Animation.InterpolationType>`
   
   
         The type of interpolation that will be set on each sampler that is created.
   
   
   
   **Returns**\ : :js:class:`CameraChannel <wv.Animation.CameraChannel>`\ []
   




