Düzenle

Aracılığıyla paylaş


SKNodeTouches_UITouch Class

Definition

Extension methods for UITouch that aide with conversion to Sprite Kit coordinates.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static class SKNodeTouches_UITouch
type SKNodeTouches_UITouch = class
Inheritance
SKNodeTouches_UITouch
Attributes

Methods

LocationInNode(UITouch, SKNode)

The current position of this in the coordinate system of node.

PreviousLocationInNode(UITouch, SKNode)

The previous location of this in the coordinate system of node.

Applies to