class SetCameraClipSpaceTransformCmd

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

Sets a camera's 2D clip-space transform.

Constraints:

- `camera_id` refs a `Camera`.

- `translation` is the desired translation, in Vulkan NDC.

- `scale` is the scale factor to apply on the x/y plane before translation.

Public Members

uint32_t camera_id
vec2 translation
float scale

Public Methods

::std::unique_ptr<SetCameraClipSpaceTransformCmd> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetCameraClipSpaceTransformCmd * value, size_t _offset)
zx_status_t Clone (SetCameraClipSpaceTransformCmd * result)