Animation

class cee.cug.Animation()

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