class Value
Defined at line 6468 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
Public Methods
void Value (Value && other)
Value & operator= (Value && other)
void Value (const Value & other)
Value & operator= (const Value & other)
bool operator== (const Value & other)
bool operator!= (const Value & other)
::fuchsia_ui_gfx::Value::Tag Which ()
Value WithVector1 (float val)
const ::fidl::internal::UnionMemberView<1, Storage_> vector1 ()
::fidl::internal::UnionMemberView<1, Storage_> vector1 ()
Value & vector1 (float value)
Sets the union to hold the vector1 member.
Value WithVector2 (::fuchsia_ui_gfx::Vec2 val)
const ::fidl::internal::UnionMemberView<2, Storage_> vector2 ()
::fidl::internal::UnionMemberView<2, Storage_> vector2 ()
Value & vector2 (::fuchsia_ui_gfx::Vec2 value)
Sets the union to hold the vector2 member.
Value WithVector3 (::fuchsia_ui_gfx::Vec3 val)
const ::fidl::internal::UnionMemberView<3, Storage_> vector3 ()
::fidl::internal::UnionMemberView<3, Storage_> vector3 ()
Value & vector3 (::fuchsia_ui_gfx::Vec3 value)
Sets the union to hold the vector3 member.
Value WithVector4 (::fuchsia_ui_gfx::Vec4 val)
const ::fidl::internal::UnionMemberView<4, Storage_> vector4 ()
::fidl::internal::UnionMemberView<4, Storage_> vector4 ()
Value & vector4 (::fuchsia_ui_gfx::Vec4 value)
Sets the union to hold the vector4 member.
Value WithMatrix4x4 (::fuchsia_ui_gfx::Mat4 val)
const ::fidl::internal::UnionMemberView<5, Storage_> matrix4x4 ()
::fidl::internal::UnionMemberView<5, Storage_> matrix4x4 ()
Value & matrix4x4 (::fuchsia_ui_gfx::Mat4 value)
Sets the union to hold the matrix4x4 member.
Value WithColorRgba (::fuchsia_ui_gfx::ColorRgba val)
const ::fidl::internal::UnionMemberView<6, Storage_> color_rgba ()
::fidl::internal::UnionMemberView<6, Storage_> color_rgba ()
Value & color_rgba (::fuchsia_ui_gfx::ColorRgba value)
Sets the union to hold the color_rgba member.
Value WithColorRgb (::fuchsia_ui_gfx::ColorRgb val)
const ::fidl::internal::UnionMemberView<7, Storage_> color_rgb ()
::fidl::internal::UnionMemberView<7, Storage_> color_rgb ()
Value & color_rgb (::fuchsia_ui_gfx::ColorRgb value)
Sets the union to hold the color_rgb member.
Value WithDegrees (float val)
const ::fidl::internal::UnionMemberView<8, Storage_> degrees ()
::fidl::internal::UnionMemberView<8, Storage_> degrees ()
Value & degrees (float value)
Degrees of counter-clockwise rotation in the XY plane.
Value WithQuaternion (::fuchsia_ui_gfx::Quaternion val)
const ::fidl::internal::UnionMemberView<9, Storage_> quaternion ()
::fidl::internal::UnionMemberView<9, Storage_> quaternion ()
Value & quaternion (::fuchsia_ui_gfx::Quaternion value)
Sets the union to hold the quaternion member.
Value WithTransform (::fuchsia_ui_gfx::FactoredTransform val)
const ::fidl::internal::UnionMemberView<10, Storage_> transform ()
::fidl::internal::UnionMemberView<10, Storage_> transform ()
Value & transform (::fuchsia_ui_gfx::FactoredTransform value)
Sets the union to hold the transform member.
Value WithVariableId (uint32_t val)
const ::fidl::internal::UnionMemberView<11, Storage_> variable_id ()
::fidl::internal::UnionMemberView<11, Storage_> variable_id ()
Value & variable_id (uint32_t value)
ID of a value-producing resource (an animation or an expression).
The type of this value matches the type produced by the named resource.
void Value (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kVector1 | 1 |
| kVector2 | 2 |
| kVector3 | 3 |
| kVector4 | 4 |
| kMatrix4x4 | 5 |
| kColorRgba | 6 |
| kColorRgb | 7 |
| kDegrees | 8 |
| kQuaternion | 9 |
| kTransform | 10 |
| kVariableId | 11 |
TODO: share union tag types between wire
&
natural.
Defined at line 6487 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits