Skip to main content

layer_alpha

Function layer_alpha 

Source
pub fn layer_alpha() -> &'static str
Expand description

Alpha for a comp layer (ffcine-comp, docs/compositing.md#placement): alpha’s opacity and rounded corners (radius, texture pixels), times a shape mask: shape 0 none, 1 rectangle, 2 ellipse, inside mask_x/y/w/h (fractions of the texture), with a soft edge feather texture pixels wide centred on the shape’s edge (antialiased over one pixel at 0), and invert (1 keeps the outside). radius and feather are horizontal texture pixels; ky is how many vertical texture pixels make one horizontal (a layer scaled unevenly). An OUTPUT hook; every value can be a per-frame track.