class SetCameraTransformCmd

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

Sets a camera's view matrix.

This operation can be applied to both Cameras and StereoCameras.

Constraints:

- `camera_id` refs a `Camera`.

- `eye_position` is the position of the eye.

- `eye_look_at` is the point is the scene the that eye is pointed at.

- `eye_up` defines the camera's "up" vector.

Public Members

uint32_t camera_id
Vector3Value eye_position
Vector3Value eye_look_at
Vector3Value eye_up

Public Methods

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