共用方式為


SCNLight.GetAttribute(NSString) 方法

定義

警告

Do not use; this method only exist in macOS, not in iOS.

傳回名稱的屬性物件。

[Foundation.Export("attributeForKey:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Do not use; this method only exist in macOS, not in iOS.", false)]
public virtual Foundation.NSObject GetAttribute (Foundation.NSString lightAttribute);
[Foundation.Export("attributeForKey:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSObject GetAttribute (Foundation.NSString lightAttribute);
abstract member GetAttribute : Foundation.NSString -> Foundation.NSObject
override this.GetAttribute : Foundation.NSString -> Foundation.NSObject

參數

lightAttribute
NSString

傳回

屬性

適用於