Skip to content
Last updated

API / geotoolkit3d / scene / animation / Animation / Animation

Class: Animation

animation.Animation.Animation

Simple functional animation

Hierarchy

Table of contents

Constructors
  • [new Animation(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.scene-3.animation-2.animation.animation.md#new animation(options))
Methods

Contents

Constructors

new Animation(options)

• new Animation(options)

Parameters

Name Type Description
optionsOptionsoptions object

Overrides

AbstractAnimation.constructor

Methods

dispose

▸ dispose(): void

Cleanup and reference release method. To call when the class is no longer used.

Returns

void

Overrides

AbstractAnimation.dispose


getClassName

▸ getClassName(): string

Returns

string

Inherited from

AbstractAnimation.getClassName


run

▸ run(): boolean

Function, that changes scene and returns true if animation was ended

Returns

boolean

true, if animation is ended

Overrides

AbstractAnimation.run


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

AbstractAnimation.getClassName