Compartir a través de


Struct CameraFov

A generic, possibly off-center definition of a camera's field of view.

Angles to the right and to the top from the center are positive, while angles to the left and to the bottom are negative. To define a symmetric field of view, set AngleLeft = -AngleRight and AngleDown = -AngleUp. All angle values are defined in radians and have to be in range (-PI/2; PI/2), with AngleLeft less than AngleRight and AngleDown less than AngleUp or the field of view will be regarded as invalid. Respective functions will yield a Result.InvalidParam error if the field of view is invalid.

struct Microsoft::Azure::RemoteRendering::CameraFov

Fields

AngleLeft

Maximum view angle in radians to the left of the camera view (typically negative)

float AngleLeft{};

AngleRight

Maximum view angle in radians to the right of the camera view

float AngleRight{};

AngleUp

Maximum view angle in radians to the top of the camera view

float AngleUp{};

AngleDown

/ Maximum view angle in radians to the bottom of the camera view (typically negative)

float AngleDown{};

See also