Düzenle

Aracılığıyla paylaş


SKConstraint.CreateXRestriction(SKRange) Method

Definition

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

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

Parameters

range
SKRange

Returns

Attributes

Applies to