Düzenle

Aracılığıyla paylaş


ARCamera.Unproject(CGPoint, NMatrix4, UIInterfaceOrientation, CGSize) Method

Definition

Returns the 3D world point of a rendered pixel in the viewport.

[Foundation.Export("unprojectPoint:ontoPlaneWithTransform:orientation:viewportSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual OpenTK.NVector3 Unproject (CoreGraphics.CGPoint point, OpenTK.NMatrix4 planeTransform, UIKit.UIInterfaceOrientation orientation, CoreGraphics.CGSize viewportSize);
abstract member Unproject : CoreGraphics.CGPoint * OpenTK.NMatrix4 * UIKit.UIInterfaceOrientation * CoreGraphics.CGSize -> OpenTK.NVector3
override this.Unproject : CoreGraphics.CGPoint * OpenTK.NMatrix4 * UIKit.UIInterfaceOrientation * CoreGraphics.CGSize -> OpenTK.NVector3

Parameters

point
CGPoint

The point to unproject.

planeTransform
NMatrix4

The XY plane of the current world coordinate space.

orientation
UIInterfaceOrientation

The orientation of the viewport.

viewportSize
CGSize

The size of the viewport.

Returns

Attributes

Applies to