Share via


SCNMatrix4.CreatePerspectiveOffCenter Method

Definition

Overloads

CreatePerspectiveOffCenter(NFloat, NFloat, NFloat, NFloat, NFloat, NFloat)

Creates a perspective projection matrix.

public static SceneKit.SCNMatrix4 CreatePerspectiveOffCenter(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right, System.Runtime.InteropServices.NFloat bottom, System.Runtime.InteropServices.NFloat top, System.Runtime.InteropServices.NFloat zNear, System.Runtime.InteropServices.NFloat zFar);
static member CreatePerspectiveOffCenter : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SceneKit.SCNMatrix4

Parameters

left
NFloat

Left edge of the view frustum

right
NFloat

Right edge of the view frustum

bottom
NFloat

Bottom edge of the view frustum

top
NFloat

Top edge of the view frustum

zNear
NFloat

Distance to the near clip plane

zFar
NFloat

Distance to the far clip plane

Returns

A projection matrix that transforms camera space to raster space

Exceptions

Thrown under the following conditions:

Applies to

CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single)

Creates a perspective projection matrix.

public static SceneKit.SCNMatrix4 CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float zNear, float zFar);
static member CreatePerspectiveOffCenter : single * single * single * single * single * single -> SceneKit.SCNMatrix4

Parameters

left
Single

Left edge of the view frustum

right
Single

Right edge of the view frustum

bottom
Single

Bottom edge of the view frustum

top
Single

Top edge of the view frustum

zNear
Single

Distance to the near clip plane

zFar
Single

Distance to the far clip plane

Returns

A projection matrix that transforms camera space to raster space

Exceptions

Thrown under the following conditions:

Applies to

CreatePerspectiveOffCenter(NFloat, NFloat, NFloat, NFloat, NFloat, NFloat, SCNMatrix4)

Creates a perspective projection matrix.

public static void CreatePerspectiveOffCenter(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right, System.Runtime.InteropServices.NFloat bottom, System.Runtime.InteropServices.NFloat top, System.Runtime.InteropServices.NFloat zNear, System.Runtime.InteropServices.NFloat zFar, out SceneKit.SCNMatrix4 result);
static member CreatePerspectiveOffCenter : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * SCNMatrix4 -> unit

Parameters

left
NFloat

Left edge of the view frustum

right
NFloat

Right edge of the view frustum

bottom
NFloat

Bottom edge of the view frustum

top
NFloat

Top edge of the view frustum

zNear
NFloat

Distance to the near clip plane

zFar
NFloat

Distance to the far clip plane

result
SCNMatrix4

A projection matrix that transforms camera space to raster space

Exceptions

Thrown under the following conditions:

Applies to

CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single, SCNMatrix4)

Creates a perspective projection matrix.

public static void CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float zNear, float zFar, out SceneKit.SCNMatrix4 result);
static member CreatePerspectiveOffCenter : single * single * single * single * single * single * SCNMatrix4 -> unit

Parameters

left
Single

Left edge of the view frustum

right
Single

Right edge of the view frustum

bottom
Single

Bottom edge of the view frustum

top
Single

Top edge of the view frustum

zNear
Single

Distance to the near clip plane

zFar
Single

Distance to the far clip plane

result
SCNMatrix4

A projection matrix that transforms camera space to raster space

Exceptions

Thrown under the following conditions:

Applies to