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


SCNLight.SetAttribute(NSObject, NSString) Метод

Определение

Внимание!

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

Присваивает указанному атрибуту заданное значение.

[Foundation.Export("setAttribute:forKey:")]
[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 void SetAttribute (Foundation.NSObject value, Foundation.NSString attribuetKey);
[Foundation.Export("setAttribute:forKey:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetAttribute (Foundation.NSObject value, Foundation.NSString attribuetKey);
abstract member SetAttribute : Foundation.NSObject * Foundation.NSString -> unit
override this.SetAttribute : Foundation.NSObject * Foundation.NSString -> unit

Параметры

value
NSObject
attribuetKey
NSString
Атрибуты

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