pub fn sample_effect_param(
animation: &Animated<EffectValue>,
time: MediaTime,
context: &SampleContext<'_>,
) -> EffectParamValueExpand description
Samples one effect parameter with the project’s keyframe semantics.
Float and Vec2 interpolate component-wise. A straight sRGB Color interpolates
premultiplied, as CSS does, to avoid a dark fringe when fading from transparent, then clamps
to 0..=1. Enum and Bool hold. A data binding gives a Float for scalars and a Vec2
for points, marked interpolated so it is clamped to the parameter’s range.