# Animation

class `cee.cug.``Animation`()

Properties

- `particleTraceAnimationStepCount`
- `targetFrameRate`

Methods

- `runAnimation`
- `runParticleTraceAnimation`
- `setFirstFrame`
- `setLastFrame`
- `setNextFrame`
- `setPreviousFrame`

## Properties

`Animation.``particleTraceAnimationStepCount`

  Type: | number

  The number of steps to use for the particle trace animation.

  The number of steps will be used to calculate the delta time for each step in the animation based on the total time of all active traces.

`Animation.``targetFrameRate`

  Type: | number

  The target animation speed in frames per second (fps).

  This will be the maximum animation speed, but the actual speed may be lower for large models or slow clients.

## Methods

### runAnimation

`Animation.``runAnimation`(run)

  Arguments: | run (`boolean`) – None

  Starts or stops an animation

  Return type: | void

### runParticleTraceAnimation

`Animation.``runParticleTraceAnimation`(run)

  Arguments: | run (`boolean`) – None

  Starts or stops a particle trace animation.

  Return type: | void

### setFirstFrame

`Animation.``setFirstFrame`()

  Return type: | void

### setLastFrame

`Animation.``setLastFrame`()

  Return type: | void

### setNextFrame

`Animation.``setNextFrame`()

  Return type: | void

### setPreviousFrame

`Animation.``setPreviousFrame`()

  Return type: | void

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

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

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for 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...