SKAction.RotateToAngle Method
In this article
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.
[Foundation.Export("rotateToAngle:duration:shortestUnitArc:")]
public static SpriteKit.SKAction RotateToAngle(nfloat radians, double sec, bool shortedUnitArc);
static member RotateToAngle : nfloat * double * bool -> SpriteKit.SKAction
Parameters
- radians
- nfloat
- sec
- Double
- shortedUnitArc
- Boolean
Returns
- Attributes
Applies to
Xamarin iOS SDK 12
Product | Versions |
---|---|
Xamarin iOS SDK | 12 |
[Foundation.Export("rotateToAngle:duration:")]
public static SpriteKit.SKAction RotateToAngle(nfloat radians, double sec);
static member RotateToAngle : nfloat * double -> SpriteKit.SKAction
Parameters
- radians
- nfloat
- sec
- Double
Returns
- Attributes
Applies to
Xamarin iOS SDK 12
Product | Versions |
---|---|
Xamarin iOS SDK | 12 |