共用方式為


SCNScene.SetAttribute(NSObject, NSString) 方法

定義

設定所提供的 key 所識別的屬性。

[Foundation.Export("setAttribute:forKey:")]
public virtual void SetAttribute (Foundation.NSObject attribute, Foundation.NSString key);
abstract member SetAttribute : Foundation.NSObject * Foundation.NSString -> unit
override this.SetAttribute : Foundation.NSObject * Foundation.NSString -> unit

參數

attribute
NSObject
key
NSString
屬性

適用於