SCNMatrix4.CreateOrthographic Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CreateOrthographic(NFloat, NFloat, NFloat, NFloat) |
Creates an orthographic projection matrix. |
| CreateOrthographic(Single, Single, Single, Single) |
Creates an orthographic projection matrix. |
| CreateOrthographic(NFloat, NFloat, NFloat, NFloat, SCNMatrix4) |
Creates an orthographic projection matrix. |
| CreateOrthographic(Single, Single, Single, Single, SCNMatrix4) |
Creates an orthographic projection matrix. |
CreateOrthographic(NFloat, NFloat, NFloat, NFloat)
Creates an orthographic projection matrix.
public static SceneKit.SCNMatrix4 CreateOrthographic(System.Runtime.InteropServices.NFloat width, System.Runtime.InteropServices.NFloat height, System.Runtime.InteropServices.NFloat zNear, System.Runtime.InteropServices.NFloat zFar);
static member CreateOrthographic : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SceneKit.SCNMatrix4
Parameters
- width
- NFloat
The width of the projection volume.
- height
- NFloat
The height of the projection volume.
- zNear
- NFloat
The near edge of the projection volume.
- zFar
- NFloat
The far edge of the projection volume.
Returns
The resulting SCNMatrix4 instance.
Applies to
CreateOrthographic(Single, Single, Single, Single)
Creates an orthographic projection matrix.
public static SceneKit.SCNMatrix4 CreateOrthographic(float width, float height, float zNear, float zFar);
static member CreateOrthographic : single * single * single * single -> SceneKit.SCNMatrix4
Parameters
- width
- Single
The width of the projection volume.
- height
- Single
The height of the projection volume.
- zNear
- Single
The near edge of the projection volume.
- zFar
- Single
The far edge of the projection volume.
Returns
The resulting SCNMatrix4 instance.
Applies to
CreateOrthographic(NFloat, NFloat, NFloat, NFloat, SCNMatrix4)
Creates an orthographic projection matrix.
public static void CreateOrthographic(System.Runtime.InteropServices.NFloat width, System.Runtime.InteropServices.NFloat height, System.Runtime.InteropServices.NFloat zNear, System.Runtime.InteropServices.NFloat zFar, out SceneKit.SCNMatrix4 result);
static member CreateOrthographic : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * SCNMatrix4 -> unit
Parameters
- width
- NFloat
The width of the projection volume.
- height
- NFloat
The height of the projection volume.
- zNear
- NFloat
The near edge of the projection volume.
- zFar
- NFloat
The far edge of the projection volume.
- result
- SCNMatrix4
The resulting SCNMatrix4 instance.
Applies to
CreateOrthographic(Single, Single, Single, Single, SCNMatrix4)
Creates an orthographic projection matrix.
public static void CreateOrthographic(float width, float height, float zNear, float zFar, out SceneKit.SCNMatrix4 result);
static member CreateOrthographic : single * single * single * single * SCNMatrix4 -> unit
Parameters
- width
- Single
The width of the projection volume.
- height
- Single
The height of the projection volume.
- zNear
- Single
The near edge of the projection volume.
- zFar
- Single
The far edge of the projection volume.
- result
- SCNMatrix4
The resulting SCNMatrix4 instance.