SKConstraint.CreateZRotation(SKRange) 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.
Creates a constraint that restrains a node's rotatin to a specified z rotational range.
[Foundation.Export("zRotation:")]
public static SpriteKit.SKConstraint CreateZRotation (SpriteKit.SKRange zRange);
static member CreateZRotation : SpriteKit.SKRange -> SpriteKit.SKConstraint
Parameters
- zRange
- SKRange
Returns
- Attributes