次の方法で共有


SKShapeNode.SetValue(SKAttributeValue, String) メソッド

定義

によって key 識別される属性を に value設定します。

[Foundation.Export("setValue:forAttributeNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetValue (SpriteKit.SKAttributeValue value, string key);
override this.SetValue : SpriteKit.SKAttributeValue * string -> unit

パラメーター

value
SKAttributeValue

設定する属性値。

key
String

設定する属性のキー。

属性

適用対象