Compartilhar via


SCNLight.GetAttribute(NSString) Método

Definição

Cuidado

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

Retorna o objeto de atributo para o nome.

[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

Parâmetros

lightAttribute
NSString

Retornos

Atributos

Aplica-se a