SKAction.RotateToAngle 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.
Overloads
| Name | Description |
|---|---|
| RotateToAngle(NFloat, Double, Boolean) | |
| RotateToAngle(NFloat, Double) |
RotateToAngle(NFloat, Double, Boolean)
[Foundation.Export("rotateToAngle:duration:shortestUnitArc:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKAction RotateToAngle(System.Runtime.InteropServices.NFloat radians, double sec, bool shortedUnitArc);
[<Foundation.Export("rotateToAngle:duration:shortestUnitArc:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RotateToAngle : System.Runtime.InteropServices.NFloat * double * bool -> SpriteKit.SKAction
Parameters
- radians
- NFloat
- sec
- Double
- shortedUnitArc
- Boolean
Returns
- Attributes
Applies to
RotateToAngle(NFloat, Double)
[Foundation.Export("rotateToAngle:duration:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKAction RotateToAngle(System.Runtime.InteropServices.NFloat radians, double sec);
[<Foundation.Export("rotateToAngle:duration:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RotateToAngle : System.Runtime.InteropServices.NFloat * double -> SpriteKit.SKAction
Parameters
- radians
- NFloat
- sec
- Double
Returns
- Attributes