Share via


SCNView.AutoenablesDefaultLighting 属性

定义

获取或设置一个值,该值控制默认情况下是否将光添加到场景中。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AutoenablesDefaultLighting { [Foundation.Export("autoenablesDefaultLighting")] get; [Foundation.Export("setAutoenablesDefaultLighting:")] set; }
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AutoenablesDefaultLighting { [Foundation.Export("autoenablesDefaultLighting")] get; [Foundation.Export("setAutoenablesDefaultLighting:")] set; }
member this.AutoenablesDefaultLighting : bool with get, set

属性值

实现

属性

适用于