Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Matrix.CreatePerspectiveFieldOfView

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexMatrix

Summary

public static Matrix CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance)

Builds a perspective projection matrix based on a field of view and returns by value.

Returns

Matrix

Parameters

Summary

public static void CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance, out Matrix result)

Builds a perspective projection matrix based on a field of view and returns by reference.

Parameters

Clone this wiki locally