struct SetOpacityCmd

Defined at line 2534 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/wire_types.h

Sets a node's opacity.

Constraints:

- `node_id` refs a `Node` with the has_opacity characteristic.

- `opacity` is in the range [0, 1].

Public Members

uint32_t node_id
float opacity