CameraFov.FromProjectionMatrix(Matrix4x4) Method

Definition

Converts the part of the given projection matrix which governs the field of view to the generic field of view representation used here.

public:
 Microsoft::Azure::RemoteRendering::Result FromProjectionMatrix(Microsoft::Azure::RemoteRendering::Matrix4x4 projection);
public Microsoft.Azure.RemoteRendering.Result FromProjectionMatrix (Microsoft.Azure.RemoteRendering.Matrix4x4 projection);
member this.FromProjectionMatrix : Microsoft.Azure.RemoteRendering.Matrix4x4 -> Microsoft.Azure.RemoteRendering.Result
Public Function FromProjectionMatrix (projection As Matrix4x4) As Result

Parameters

projection
Matrix4x4

The 4x4 perspective projection matrix to convert.

Returns

Remarks

If the projection matrix is not a valid perspective projection, the function will return a InvalidParam error.

Applies to