API Reference

Class List

AnimData

Wraps a set of data used in animation.

Summary

Properties

components

Gets the number of components that make up an element.

data

Gets the data.

Details

Constructor

AnimData(components, data)

Create a new animation AnimData instance.

Parameters

componentsnumber

Specifies how many components make up an element of data. For example, specify 3 for a set of 3-dimensional vectors. The number of elements in data array must be a multiple of components.

dataFloat32Array, number[]

The set of data.

Properties

numbercomponents

Gets the number of components that make up an element.

Float32Array, number[]data

Gets the data.