pub struct ClipEffect {
pub id: String,
pub version: u32,
pub params: BTreeMap<String, Animated<EffectValue>>,
pub resources: BTreeMap<String, EffectResourceId>,
}Expand description
One versioned effect invocation: a composition’s effect or transition node, a timeline transition, or an effect generator.
Fields§
§id: StringStable effect definition identifier. Ids under alpha2. name built-ins
(schema/effects.v1.json): validation checks such an invocation’s version, kind,
parameters, inputs and resources against its definition.
version: u32Exact effect definition version required by the project.
params: BTreeMap<String, Animated<EffectValue>>Named parameter values, constant or keyframed. Omitted entries use definition defaults.
Keyframe times are composition times in a composition node, timeline times in a
timeline transition and picture times in a generator, whose parameters take no data. A
parameter’s keyframes share one value type, and enum and bool keyframes only hold.
Interpolated overshoot is clamped to the parameter’s range; an authored value outside it
is an error.
resources: BTreeMap<String, EffectResourceId>Named external resources matched against the effect definition.