# Matrix4x4.CreatePerspectiveFieldOfView(Single, Single, Single, Single) メソッド

## 定義

``````public:
static System::Numerics::Matrix4x4 CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance);``````
``public static System.Numerics.Matrix4x4 CreatePerspectiveFieldOfView (float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance);``
``static member CreatePerspectiveFieldOfView : single * single * single * single -> System.Numerics.Matrix4x4``
``Public Shared Function CreatePerspectiveFieldOfView (fieldOfView As Single, aspectRatio As Single, nearPlaneDistance As Single, farPlaneDistance As Single) As Matrix4x4``

#### パラメーター

fieldOfView
Single

y 方向の視野 (ラジアン)。The field of view in the y direction, in radians.

aspectRatio
Single

ビュー領域の幅を高さで割った値として定義される縦横比。The aspect ratio, defined as view space width divided by height.

nearPlaneDistance
Single

ニア ビュー平面までの距離。The distance to the near view plane.

farPlaneDistance
Single

ファー ビュー平面までの距離。The distance to the far view plane.

#### 例外

`fieldOfView` が 0 以下です。`fieldOfView` is less than or equal to zero.

- または --or- `fieldOfView`PI 以上です。`fieldOfView` is greater than or equal to PI.

`nearPlaneDistance` が 0 以下です。`nearPlaneDistance` is less than or equal to zero.

- または --or- `farPlaneDistance` が 0 以下です。`farPlaneDistance` is less than or equal to zero.

- または --or- `nearPlaneDistance``farPlaneDistance` 以上です。`nearPlaneDistance` is greater than or equal to `farPlaneDistance`.