Bewerken

Delen via


SCNRenderer.UnprojectPoint(SCNVector3) Method

Definition

Unprojects the specified point into the 3D scene by treating the first two coordinates as a 2D point, and the third coordinate as a fraction of the distance between the near and far clipping planes.

[Foundation.Export("unprojectPoint:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SceneKit.SCNVector3 UnprojectPoint (SceneKit.SCNVector3 point);
[Foundation.Export("unprojectPoint:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SceneKit.SCNVector3 UnprojectPoint (SceneKit.SCNVector3 point);
abstract member UnprojectPoint : SceneKit.SCNVector3 -> SceneKit.SCNVector3
override this.UnprojectPoint : SceneKit.SCNVector3 -> SceneKit.SCNVector3

Parameters

point
SCNVector3

Returns

Implements

Attributes

Applies to