Skip to main content

sample_shutter

Function sample_shutter 

Source
pub fn sample_shutter(
    properties: &VisualProperties,
    shutter: &FrameShutter,
    time: MediaTime,
    count: u32,
    aspect: f64,
    context: &SampleContext<'_>,
    out: &mut Vec<EvaluatedVisual>,
)
Expand description

The transform at each of count shutter samples of the frame at time, into out.

time is in the clock properties is keyed in: timeline time for a clip, composition time for a transform step. Keyframes and data bindings are read at each sample’s own instant, as sample_visual reads them at one.