point

@NotNull
open fun point(): @NotNull ModelDatapoint

Returns the first data point in the list.

Return

the first data point

Since

1.15.2

Throws


@NotNull
open fun point(@NotNull context: ModelAnimation.AnimationContext, @NotNull axis: @NotNull KeyframeAxis): @NotNull KeyframePoint

Converts the first data point into an animation point with per-axis Bézier offsets. Missing handle vectors default to zero. The animation blend weight multiplies the mapped data point components; Bézier handle offsets are not weighted.


var point = keyframe.point(context, axis);

Return

the animation point for this keyframe

Since

3.7.0

Parameters

context

the model loading context and animation blend weight

axis

the axis mapping applied to the vector and Bézier value offsets

Throws

if this keyframe has no data points