SKAction.FollowPath Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
FollowPath(CGPath, Boolean, Boolean, nfloat) |
Erstellt eine Aktion, die das -Objekt, auf dem SKNode es ausgeführt wird, mit dem angegebenen Offset, der angegebenen Ausrichtung und der angegebenen Geschwindigkeit über das |
FollowPath(CGPath, Boolean, Boolean, Double) |
Erstellt eine Aktion, die den SKNode bewegt, für den es ausgeführt wird, mit dem |
FollowPath(CGPath, nfloat) |
Erstellt eine Aktion, die das SKNode -Objekt verschiebt, auf dem es ausgeführt wird, über , |
FollowPath(CGPath, Double) |
Erstellt eine Aktion, die die , auf der SKNode sie ausgeführt wird, in |
FollowPath(CGPath, Boolean, Boolean, nfloat)
Erstellt eine Aktion, die das -Objekt, auf dem SKNode es ausgeführt wird, mit dem angegebenen Offset, der angegebenen Ausrichtung und der angegebenen Geschwindigkeit über das path
-Objekt verschiebt.
[Foundation.Export("followPath:asOffset:orientToPath:speed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction FollowPath(CoreGraphics.CGPath path, bool offset, bool orient, nfloat speed);
static member FollowPath : CoreGraphics.CGPath * bool * bool * nfloat -> SpriteKit.SKAction
Parameter
- path
- CGPath
- offset
- Boolean
- orient
- Boolean
- speed
- nfloat
Gibt zurück
- Attribute
Gilt für:
FollowPath(CGPath, Boolean, Boolean, Double)
Erstellt eine Aktion, die den SKNode bewegt, für den es ausgeführt wird, mit dem path
angegebenen Offset und der angegebenen Ausrichtung, und dauert sec
Sekunden.
[Foundation.Export("followPath:asOffset:orientToPath:duration:")]
public static SpriteKit.SKAction FollowPath(CoreGraphics.CGPath path, bool offset, bool orient, double sec);
static member FollowPath : CoreGraphics.CGPath * bool * bool * double -> SpriteKit.SKAction
Parameter
- path
- CGPath
- offset
- Boolean
- orient
- Boolean
- sec
- Double
Gibt zurück
- Attribute
Gilt für:
FollowPath(CGPath, nfloat)
Erstellt eine Aktion, die das SKNode -Objekt verschiebt, auf dem es ausgeführt wird, über , path
am angegebenen speed
.
[Foundation.Export("followPath:speed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKAction FollowPath(CoreGraphics.CGPath path, nfloat speed);
static member FollowPath : CoreGraphics.CGPath * nfloat -> SpriteKit.SKAction
Parameter
- path
- CGPath
- speed
- nfloat
Gibt zurück
- Attribute
Gilt für:
FollowPath(CGPath, Double)
Erstellt eine Aktion, die die , auf der SKNode sie ausgeführt wird, in path
Sekunden verschiebt sec
.
[Foundation.Export("followPath:duration:")]
public static SpriteKit.SKAction FollowPath(CoreGraphics.CGPath path, double sec);
static member FollowPath : CoreGraphics.CGPath * double -> SpriteKit.SKAction
Parameter
- path
- CGPath
- sec
- Double
Gibt zurück
- Attribute