共用方式為


SKScene.Camera 屬性

定義

如果不是 null ,則保留 SKCameraNode ,可從中 SKScene 轉譯 。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKCameraNode Camera { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("camera", ObjCRuntime.ArgumentSemantic.Weak)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setCamera:", ObjCRuntime.ArgumentSemantic.Weak)] set; }
member this.Camera : SpriteKit.SKCameraNode with get, set

屬性值

(即將推出此節點的更多檔)

這個值可以是 null

屬性

適用於