SKConstraint.CreateYRestriction(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 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