class SetOpacityCmd

Defined at line 557 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.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

Public Methods

::std::unique_ptr<SetOpacityCmd> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetOpacityCmd * value, size_t _offset)
zx_status_t Clone (SetOpacityCmd * result)