Optional
_targetPath: stringOptional
_input: Float32ArrayOptional
_output: Float32ArrayOptional
_interpolation: ANIMATION_INTERPOLATIONOptional
_result: Float32ArrayRecreates this instance of Serializable with the information from the given Serialization.
Returns a Serialization of this object.
Stores the path and keyframe data to animate a single property within a node hierarchy. The keyframes are stored in an input/output buffer pair: a set of scalar values representing the timestamps; and a set of elements (scalar, vector, quaternion etc.) representing the animated property. Interpolation between keyframes is defined by the set ANIMATION_INTERPOLATION. When used with cubic interpolation, for each timestamp there must be three associated keyframe elements: in-tangent, property value, and out-tangent.
Example vector3-input-output:
input: [t0, t1, ...]
output: [e0x, e0y, e0z, e1x, e1y, e1z, ...]
Example vector2-input-cubic-output: in and out tangents (
a
,b
) and elements (e
) must be grouped within keyframes.input: [t0, t1, ...]
output: [a0x, a0y, e0x, e0y, b0x, b0y, a1x, a1y, e1x, e1y, b1x, b1y, ...]