CameraFov.FromProjectionMatrix(Matrix4x4) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.