View Source Membrane.VideoCompositor.Examples.Mock.Layouts.Position (Membrane Video Compositor plugin v0.2.2)

A structure representing position of an object in rendered frame.

Link to this section Summary

Types

t()

Float in [0, 1] range. Widely used in graphic rendering, to determine distance, color etc.

Link to this section Types

@type t() :: %Membrane.VideoCompositor.Examples.Mock.Layouts.Position{
  height: unit_range() | :auto,
  top_left_corner: {unit_range(), unit_range()},
  width: unit_range() | :auto,
  z_value: unit_range()
}
@type unit_range() :: float()

Float in [0, 1] range. Widely used in graphic rendering, to determine distance, color etc.