OverlaySettings


@UnstableApi
class OverlaySettings


Contains information to control how an input texture (for example, a VideoCompositor or TextureOverlay) is displayed on a background.

Summary

Nested types

A builder for OverlaySettings instances.

Public properties

Float

The alpha scale value of the overlay, altering its translucency.

Pair<Float!, Float!>!

The coordinates for the anchor point of the overlay within the background frame.

Float

The luminance multiplier of an SDR overlay when overlaid on a HDR frame.

Pair<Float!, Float!>!

The coordinates for the anchor point of the overlay frame.

Float

The rotation of the overlay, counter-clockwise.

Pair<Float!, Float!>!

The scaling of the overlay.

Public properties

alphaScale

val alphaScaleFloat

The alpha scale value of the overlay, altering its translucency.

backgroundFrameAnchor

val backgroundFrameAnchorPair<Float!, Float!>!

The coordinates for the anchor point of the overlay within the background frame.

hdrLuminanceMultiplier

val hdrLuminanceMultiplierFloat

The luminance multiplier of an SDR overlay when overlaid on a HDR frame.

overlayFrameAnchor

val overlayFrameAnchorPair<Float!, Float!>!

The coordinates for the anchor point of the overlay frame.

rotationDegrees

val rotationDegreesFloat

The rotation of the overlay, counter-clockwise.

scale

val scalePair<Float!, Float!>!

The scaling of the overlay.