class SetRotationCmd

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

Sets a Resource's (typically a Node's) rotation.

Constraints:

- `id` refs a Resource with the has_transform characteristic.

Discussion:

Quaternions represent any rotation in a 3D coordinate system. Consisting of

[a,b,c,d], [a] represents the amount of rotation that should be applied and

[b,c,d] represents the vector around which the rotation is applied. This

conforms to the semantics of glm::quat.

Public Methods

void SetRotationCmd (Storage_ storage)
void SetRotationCmd (uint32_t id, ::fuchsia_ui_gfx::QuaternionValue value)
void SetRotationCmd ()

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

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

void SetRotationCmd (SetRotationCmd && )

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

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

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

SetRotationCmd & operator= (const SetRotationCmd & other)
bool operator== (const SetRotationCmd & other)
bool operator!= (const SetRotationCmd & other)
uint32_t id ()
uint32_t & id ()
SetRotationCmd & id (uint32_t value)

Setter for id.

const ::fuchsia_ui_gfx::QuaternionValue & value ()
::fuchsia_ui_gfx::QuaternionValue & value ()
SetRotationCmd & value (::fuchsia_ui_gfx::QuaternionValue value)

Setter for value.

void SetRotationCmd (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits