Edytuj

Udostępnij za pośrednictwem


SCNLight.GetAttribute(NSString) Method

Definition

Caution

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

Returns the attribute object for the name.

[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

Parameters

lightAttribute
NSString

Returns

Attributes

Applies to