기술 자료

Unity Engine

Unity Engine

PerspectiveFov(float, float, float, float)

Returns a float4x4 perspective projection matrix based on field of view.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static float4x4 PerspectiveFov(float verticalFov, float aspect, float near, float far)

Parameters

verticalFov

Vertical Field of view in radians.

aspect

X:Y aspect ratio.

near

Distance to near plane. Must be greater than zero.

Distance to far plane. Must be greater than zero.

Returns

Type

Description

float4x4The float4x4 perspective projection matrix.