TransformChannel

TransformChannel

An animation channel consisting of a series of transforms interpolated over time.

Constructor

new TransformChannel(channelName, times, rotations, translations, scales, blendType)

Parameters:
Name Type Description
channelName

our name.

times Array

our time offset values.

rotations Array

the rotations to set on this channel at each time offset.

translations Array

the translations to set on this channel at each time offset.

scales Array

the scales to set on this channel at each time offset.

blendType String

Methods

getData(index, storeopt) → {TransformData}

Apply a specific index of this channel to a TransformData object.

Parameters:
Name Type Attributes Description
index number

the index to grab.

store TransformData <optional>

the TransformData to store in. If null, a new one is created.