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, or a timeline transition.
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 and timeline times in a
timeline transition. 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.