struct SetRotationCmd

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

uint32_t id
QuaternionValue value