Edit

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:")]
public virtual OpenTK.NMatrix4 GetProjectionMatrix (UIKit.UIInterfaceOrientation orientation, CoreGraphics.CGSize viewportSize, nfloat zNear, nfloat zFar);
abstract member GetProjectionMatrix : UIKit.UIInterfaceOrientation * CoreGraphics.CGSize * nfloat * nfloat -> OpenTK.NMatrix4
override this.GetProjectionMatrix : UIKit.UIInterfaceOrientation * CoreGraphics.CGSize * nfloat * nfloat -> OpenTK.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