Unity3D 視野角

最近、ARKitに興味があって、VRとARの開発を勉強している。


UnityARCameraManager.csに39行目
Matrix4x4 projMat = Matrix4x4.Perspective (60.0f, 1.33f, 0.1f, 30.0f);

意味がわからなかった。調べて以下のことが出てきました。

Matrix4x4.Perspective



public static Matrix4x4 Perspective(float fov, float aspect, float zNear, float zFar);
###Description

Creates a perspective projection matrix.

fov is the vertical field-of-view in degrees of the perspective matrix, aspect is the aspect ratio (width divided by height). zNear and zFar set up the depth clipping planes.


さらに、googleで調べて

sample