Share via


SCNMatrix4.CreatePerspectiveFieldOfView Method

Definition

Overloads

Name Description
CreatePerspectiveFieldOfView(NFloat, NFloat, NFloat, NFloat)

Creates a perspective projection matrix.

CreatePerspectiveFieldOfView(Single, Single, Single, Single)

Creates a perspective projection matrix.

CreatePerspectiveFieldOfView(NFloat, NFloat, NFloat, NFloat, SCNMatrix4)

Creates a perspective projection matrix.

CreatePerspectiveFieldOfView(Single, Single, Single, Single, SCNMatrix4)

Creates a perspective projection matrix.

CreatePerspectiveFieldOfView(NFloat, NFloat, NFloat, NFloat)

Creates a perspective projection matrix.

public static SceneKit.SCNMatrix4 CreatePerspectiveFieldOfView(System.Runtime.InteropServices.NFloat fovy, System.Runtime.InteropServices.NFloat aspect, System.Runtime.InteropServices.NFloat zNear, System.Runtime.InteropServices.NFloat zFar);
static member CreatePerspectiveFieldOfView : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SceneKit.SCNMatrix4

Parameters

fovy
NFloat

Angle of the field of view in the y direction (in radians)

aspect
NFloat

Aspect ratio of the view (width / height)

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

CreatePerspectiveFieldOfView(Single, Single, Single, Single)

Creates a perspective projection matrix.

public static SceneKit.SCNMatrix4 CreatePerspectiveFieldOfView(float fovy, float aspect, float zNear, float zFar);
static member CreatePerspectiveFieldOfView : single * single * single * single -> SceneKit.SCNMatrix4

Parameters

fovy
Single

Angle of the field of view in the y direction (in radians)

aspect
Single

Aspect ratio of the view (width / height)

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

CreatePerspectiveFieldOfView(NFloat, NFloat, NFloat, NFloat, SCNMatrix4)

Creates a perspective projection matrix.

public static void CreatePerspectiveFieldOfView(System.Runtime.InteropServices.NFloat fovy, System.Runtime.InteropServices.NFloat aspect, System.Runtime.InteropServices.NFloat zNear, System.Runtime.InteropServices.NFloat zFar, out SceneKit.SCNMatrix4 result);
static member CreatePerspectiveFieldOfView : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * SCNMatrix4 -> unit

Parameters

fovy
NFloat

Angle of the field of view in the y direction (in radians)

aspect
NFloat

Aspect ratio of the view (width / height)

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

CreatePerspectiveFieldOfView(Single, Single, Single, Single, SCNMatrix4)

Creates a perspective projection matrix.

public static void CreatePerspectiveFieldOfView(float fovy, float aspect, float zNear, float zFar, out SceneKit.SCNMatrix4 result);
static member CreatePerspectiveFieldOfView : single * single * single * single * SCNMatrix4 -> unit

Parameters

fovy
Single

Angle of the field of view in the y direction (in radians)

aspect
Single

Aspect ratio of the view (width / height)

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