共用方式為


SCNNode.Rotate(SCNQuaternion, SCNVector3) 方法

定義

[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

參數

worldRotation
SCNQuaternion
worldTarget
SCNVector3
屬性

適用於