Edytuj

Udostępnij za pośrednictwem


SCNNode.Look Method

Definition

Overloads

Look(SCNVector3)
Look(SCNVector3, SCNVector3, SCNVector3)

Look(SCNVector3)

[Foundation.Export("lookAt:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Look (SceneKit.SCNVector3 worldTarget);
abstract member Look : SceneKit.SCNVector3 -> unit
override this.Look : SceneKit.SCNVector3 -> unit

Parameters

worldTarget
SCNVector3
Attributes

Applies to

Look(SCNVector3, SCNVector3, SCNVector3)

[Foundation.Export("lookAt:up:localFront:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Look (SceneKit.SCNVector3 worldTarget, SceneKit.SCNVector3 worldUp, SceneKit.SCNVector3 localFront);
abstract member Look : SceneKit.SCNVector3 * SceneKit.SCNVector3 * SceneKit.SCNVector3 -> unit
override this.Look : SceneKit.SCNVector3 * SceneKit.SCNVector3 * SceneKit.SCNVector3 -> unit

Parameters

worldTarget
SCNVector3
worldUp
SCNVector3
localFront
SCNVector3
Attributes

Applies to