Edit

Share via


SKConstraint.CreateZRotation(SKRange) Method

Definition

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

Applies to