Edit

Share via


SCNNode.Rotate(SCNQuaternion, SCNVector3) Method

Definition

[Foundation.Export("rotateBy:aroundTarget:")]
[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 Rotate (SceneKit.SCNQuaternion worldRotation, SceneKit.SCNVector3 worldTarget);
abstract member Rotate : SceneKit.SCNQuaternion * SceneKit.SCNVector3 -> unit
override this.Rotate : SceneKit.SCNQuaternion * SceneKit.SCNVector3 -> unit

Parameters

worldRotation
SCNQuaternion
worldTarget
SCNVector3
Attributes

Applies to