KeyFrame()

new KeyFrame()

Constructs a new KeyFrame
Properties:
Name Type Description
_time float The keyframe time
value null | Array.<folat> | float | MarkerValue | int | Shape | TextDocument The keyframe value
_inInterpolationType KeyframeInterpolationType The incoming temporal interpolation type
_outInterpolationType KeyframeInterpolationType The outgoing temporal interpolation type
_spatial boolean true if this keyframe has a spatial value
spatialProperties KeySpatialProperties the spatial properties KeySpatialProperties of this keyframe
inEase Array.<KeyframeEase> The incoming temporal ease. The number of objects in the Array depends on the value type
outEase Array.<KeyframeEase> The outgoing temporal ease. The number of objects in the Array depends on the value type
_continuous boolean true if the keyframe has temporal continuity
_autoBezier boolean true if the keyframe has temporal auto-Bezier interpolation
_index int The index of the keyFrame. Warning: not updated when another key frame is added on the property some time before this key._time!