Animation

Modules

Util

Enumerations

CameraProperty

InterpolationType

KeyType

Describes the type of values stored in a Keyframe Buffer

NodeProperty

PlayerState

Classes

Animation()

Structure encapsulating a specific animation

BatchedCameraValues()

A structure that holds interpolated animation data for a…

BatchedNodeValues()

A structure that holds interpolated animation data for…

BatchedValues()

A structure that holds all interpolated data to be…

CameraChannel()

KeyframeBuffer()

This class contains a collection of keyframes. A Keyframe…

Manager()

Top-level interface for the animation system.

NodeChannel()

Player()

Sampler()

Describes how the keyframes in a buffer are sampled.

Interfaces

ColorPosition()

Type aliases

ColorMap

RGB color values are specified in the 0-255 range….

KeyframeIndex

Functions

exportAnimations()

importAnimations()


Type aliases

ColorMap

RGB color values are specified in the 0-255 range. Positions are specified in the 0-1 range, pre-sorted in ascending order.

KeyframeIndex

Functions

exportAnimations

Communicator.Animation.exportAnimations(animations)

Return the given animations and their dependent data in a form suitable for serialization via, e.g., JSON.stringify. The animation objects can be recreated by passing the output to importAnimations

Arguments
  • animations ([Communicator.Animation.Animation]()) –

Return type

Object

Sharing of objects such as keyframe buffers and samplers is preserved.

The layout of the returned data is subject to change in future releases.

importAnimations

Communicator.Animation.importAnimations(exportedObj)

Recreate Animation objects exported by a call to exportAnimations

Arguments
  • exportedObj (Object()) –

Return type

[Communicator.Animation.Animation]