SKSpriteNode.GetValue(String) 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.
Returns the attribute value for the specified key
.
[Foundation.Export("valueForAttributeNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKAttributeValue GetValue (string key);
override this.GetValue : string -> SpriteKit.SKAttributeValue
Parameters
- key
- String
The key that specifies the attribute whose value to get.
Returns
- Attributes