Bearbeiten

Freigeben über


SKNode.SetValue(SKAttributeValue, String) Method

Definition

[Foundation.Export("setValue:forAttributeNamed:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, "Attributes are only available for node classes supporting SKShader (see SKSpriteNode etc.).")]
[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);
abstract member SetValue : SpriteKit.SKAttributeValue * string -> unit
override this.SetValue : SpriteKit.SKAttributeValue * string -> unit

Parameters

key
String
Attributes

Applies to