class SetColorCmd

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

Sets a material's color.

Constraints:

- `material_id` refs a `Material`.

If a texture is set on the material, then the value sampled from the texture

is multiplied by the color.

Public Methods

void SetColorCmd (Storage_ storage)
void SetColorCmd (uint32_t material_id, ::fuchsia_ui_gfx::ColorRgbaValue color)
void SetColorCmd ()

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

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

void SetColorCmd (SetColorCmd && )

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

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

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

SetColorCmd & operator= (const SetColorCmd & other)
bool operator== (const SetColorCmd & other)
bool operator!= (const SetColorCmd & other)
uint32_t material_id ()
uint32_t & material_id ()
SetColorCmd & material_id (uint32_t value)

Setter for material_id.

const ::fuchsia_ui_gfx::ColorRgbaValue & color ()
::fuchsia_ui_gfx::ColorRgbaValue & color ()
SetColorCmd & color (::fuchsia_ui_gfx::ColorRgbaValue value)

Setter for color.

void SetColorCmd (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits