Share via


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

属性

适用于