API Reference

Class List

pc.AnimData

Wraps a set of data used in animation.

Summary

Details

Constructor

AnimData(dimension, data)

Create a new animation data container.

Parameters

dimensionnumber

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

dataFloat32Array, number[]

The set of data