copySampleValue_

open fun copySampleValue_(index: Int): DoubleArray

Copies a sample value to the result buffer.

Overridable: derived classes whose keyframe layout is not a flat run of valueSize components per sample must translate index themselves. The canonical case is a CUBICSPLINE track, whose layout is [ inTangent, splineVertex, outTangent, … ] (three blocks per keyframe), so the sample lives at index * valueSize * 3 + valueSize.

Return

The result buffer.

Parameters

index

An index into the sample value buffer.