Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OrthoOffCenter(float, float, float, float, float, float)

Returns a float4x4 off-center orthographic projection matrix.
Read time 1 minuteLast updated 13 days ago

Definition

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

Parameters

left

The minimum x-coordinate of the view volume.

right

The maximum x-coordinate of the view volume.

bottom

The minimum y-coordinate of the view volume.

The minimum y-coordinate of the view volume.

near

The distance to the near plane.

The distance to the far plane.

Returns

Type

Description

float4x4The float4x4 off-center orthographic projection matrix.