pub fn sample_length(
animation: &Animated<LayoutLength>,
time: MediaTime,
) -> LayoutLengthExpand description
Samples a layout length. Validation makes every keyframe one kind (a plan’s lengths are fractions or percents); were they not, the left keyframe’s kind is kept.