ModelKeyframe
Represents a single keyframe in an animation timeline.
A keyframe defines the state of a bone (position, rotation, or scale) at a specific time, along with interpolation data (linear, catmull-rom, bezier) to smooth transitions.
Since
1.15.2
Parameters
channel
the channel this keyframe affects (position, rotation, scale)
dataPoints
the list of data points (values) for this keyframe
bezierLeftTime
the time offset for the left bezier handle
bezierLeftValue
the value offset for the left bezier handle
bezierRightTime
the time offset for the right bezier handle
bezierRightValue
the value offset for the right bezier handle
interpolation
the interpolation type (e.g., linear, catmullrom, bezier)
time
the time of the keyframe in seconds
Functions
Link copied to clipboard
Returns the channel this keyframe affects.
Link copied to clipboard
Returns the interpolation type for this keyframe.
Link copied to clipboard
Returns the first data point in the list.
@NotNull
Converts this keyframe into a processed VectorPoint.