ドキュメント

Unity Engine

Unity Engine

PerspectiveOffCenter(float, float, float, float, float, float)

Returns a float4x4 off-center perspective projection matrix.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static float4x4 PerspectiveOffCenter(float left, float right, float bottom, float top, float near, float far)

Parameters

left

The x-coordinate of the left side of the clipping frustum at the near plane.

right

The x-coordinate of the right side of the clipping frustum at the near plane.

bottom

The y-coordinate of the bottom side of the clipping frustum at the near plane.

The y-coordinate of the top side of the clipping frustum at the near plane.

near

Distance to the near plane. Must be greater than zero.

Distance to the far plane. Must be greater than zero.

Returns

Type

Description

float4x4The float4x4 off-center perspective projection matrix.