class SetOpacity

Defined at line 523 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/markers.h

Sets an opacity in linear space to be applied to a transform and its descendents,

which include other transforms and content. Opacity values must be in the range

of [0.0, 1.0], where 0.0 is completely transparent and 1.0 is completely opaque.

Attempting to call this function with values outside that range will result in

an error. A transform's opacity value is multiplied with that of its parent. This

effect works differently from group opacity. Using group opacity, child nodes are

rendered together first, and then have the parent's opacity applied as a post-effect.

Here, opacity is applied to each child individually. This may result in a very

different effect.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal