SCNLight.SetAttribute(NSObject, NSString) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Do not use; this method only exist in macOS, not in iOS.
Sets the specified attribute to the specified value.
[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
Parameters
- value
- NSObject
- attribuetKey
- NSString
- Attributes