Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к