pub struct Adjustment {
pub id: Option<String>,
pub effects: Vec<EffectUse>,
pub opacity: Option<Anim<f32>>,
pub blend: Option<ClipBlendMode>,
pub at: Option<f64>,
pub duration: Option<f64>,
}Expand description
An adjustment layer: its effects apply to the picture of everything under it, mixed back in by
its opacity and met with it by its blend mode. In a sequence or an overlay that is everything
composited before it; in a group, the group’s children before it, and the children after it
are drawn over the result. Wrapped in a mask, it applies inside the outlines only; it takes
no matte.
Fields§
§id: Option<String>The node’s name, for other nodes to refer to.
effects: Vec<EffectUse>Effects on the picture under it, in order. None changes nothing.
opacity: Option<Anim<f32>>How much of the result replaces the picture under it, 0..=1. Default 1.
blend: Option<ClipBlendMode>How the result meets the picture under it. Default normal.
at: Option<f64>Seconds from the parent’s start (an overlay’s: the video’s). Ignored in a sequence.
duration: Option<f64>Length in seconds. Default: what its parent gives it.