class SetOpacityCmd

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

void SetOpacityCmd (Storage_ storage)
void SetOpacityCmd (uint32_t node_id, float opacity)
void SetOpacityCmd ()

Default constructs a |SetOpacityCmd| only if all of its members are default constructible.

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

void SetOpacityCmd (SetOpacityCmd && )

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

void SetOpacityCmd (const SetOpacityCmd & other)
SetOpacityCmd & operator= (SetOpacityCmd && )

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

SetOpacityCmd & operator= (const SetOpacityCmd & other)
bool operator== (const SetOpacityCmd & other)
bool operator!= (const SetOpacityCmd & other)
uint32_t node_id ()
uint32_t & node_id ()
SetOpacityCmd & node_id (uint32_t value)

Setter for node_id.

float opacity ()
float & opacity ()
SetOpacityCmd & opacity (float value)

Setter for opacity.

void SetOpacityCmd (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits