# createCameraChannels

`Animation.``createCameraChannels`()
  createCameraChannels(animation: `Animation`, namePrefix: string, interpolationType: `InterpolationType`): `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: `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: `InterpolationType`

  > > The type of interpolation that will be set on each sampler that is created.

  Returns: `CameraChannel`[]

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...