Animation

class cee.cug.Animation()

Properties

cee.cug.Animation.particleTraceAnimationStepCount
particleTraceAnimationStepCount: 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.

cee.cug.Animation.targetFrameRate
targetFrameRate: 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

cee.cug.Animation.runAnimation()
runAnimation(run: boolean): void

Starts or stops an animation

Parameters

run: boolean

Returns: void

cee.cug.Animation.runParticleTraceAnimation()
runParticleTraceAnimation(run: boolean): void

Starts or stops a particle trace animation.

Parameters

run: boolean

Returns: void

cee.cug.Animation.setFirstFrame()
setFirstFrame(): void

Returns: void

cee.cug.Animation.setLastFrame()
setLastFrame(): void

Returns: void

cee.cug.Animation.setNextFrame()
setNextFrame(): void

Returns: void

cee.cug.Animation.setPreviousFrame()
setPreviousFrame(): void

Returns: void