SKConstraint.CreateYRestriction(SKRange) Method

Definition

Creates a constraint that restrains a node's position to a spy-range..

[Foundation.Export("positionY:")]
public static SpriteKit.SKConstraint CreateYRestriction (SpriteKit.SKRange range);
static member CreateYRestriction : SpriteKit.SKRange -> SpriteKit.SKConstraint

Parameters

range
SKRange

Returns

Attributes

Applies to