Compartir a través de


SCNLight.SetAttribute(NSObject, NSString) Método

Definición

Precaución

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

Establece el atributo especificado en el valor especificado.

[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

Parámetros

value
NSObject
attribuetKey
NSString
Atributos

Se aplica a