class SetRotationCmd
Defined at line 4022 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.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
Public Methods
::std::unique_ptr<SetRotationCmd> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetRotationCmd * value, size_t _offset)
zx_status_t Clone (SetRotationCmd * result)