trait EvalDyn {
// Required method
fn eval_alpha_dyn_into(&self, alpha: f64, output: &mut Vec<DynItem>);
// Provided methods
fn sample_dyn(&self, time: &SegmentTime, output: &mut Vec<DynItem>) { ... }
fn reset_dyn(&mut self) { ... }
fn step_dyn(&mut self, _time: &SegmentTime) { ... }
fn info_kind(&self) -> AnimationInfoKind { ... }
fn content_duration_secs(&self) -> f64 { ... }
fn child_infos(&self) -> Vec<AnimationInfo> { ... }
}Expand description
An auto implemented trait for erasing Evaluator<Output = T> where T: AnyExtractCoreItem
Required Methods§
fn eval_alpha_dyn_into(&self, alpha: f64, output: &mut Vec<DynItem>)
Provided Methods§
Sourcefn sample_dyn(&self, time: &SegmentTime, output: &mut Vec<DynItem>)
fn sample_dyn(&self, time: &SegmentTime, output: &mut Vec<DynItem>)
Sample at a full time context. Default rides the pure alpha path for containers and functional leaves; iterative leaves override it via the blanket impl below.
Sourcefn step_dyn(&mut self, _time: &SegmentTime)
fn step_dyn(&mut self, _time: &SegmentTime)
Advance one logic step. No-op by default (functional segments and containers without iterative leaves step for free).