Share via


ARCamera.GetProjectionMatrix Method

Definition

The projection matrix used to render 3D content so that it will match the real-world imagery.

[Foundation.Export("projectionMatrixForOrientation:viewportSize:zNear:zFar:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.NMatrix4 GetProjectionMatrix(UIKit.UIInterfaceOrientation orientation, CoreGraphics.CGSize viewportSize, System.Runtime.InteropServices.NFloat zNear, System.Runtime.InteropServices.NFloat zFar);
[<Foundation.Export("projectionMatrixForOrientation:viewportSize:zNear:zFar:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetProjectionMatrix : UIKit.UIInterfaceOrientation * CoreGraphics.CGSize * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> CoreGraphics.NMatrix4
override this.GetProjectionMatrix : UIKit.UIInterfaceOrientation * CoreGraphics.CGSize * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> CoreGraphics.NMatrix4

Parameters

orientation
UIInterfaceOrientation

The camera orientation.

viewportSize
CGSize

The viewport size, in points.

zNear
NFloat

The distance to the near Z-clipping plane.

zFar
NFloat

The distance to the far Z-clipping plane..

Returns

Attributes

Applies to