Edit

Share via


SKConstraint.CreateOrientToPoint Method

Definition

Overloads

CreateOrientToPoint(CGPoint, SKRange)
CreateOrientToPoint(CGPoint, SKNode, SKRange)

CreateOrientToPoint(CGPoint, SKRange)

[Foundation.Export("orientToPoint:offset:")]
public static SpriteKit.SKConstraint CreateOrientToPoint (CoreGraphics.CGPoint point, SpriteKit.SKRange radians);
static member CreateOrientToPoint : CoreGraphics.CGPoint * SpriteKit.SKRange -> SpriteKit.SKConstraint

Parameters

point
CGPoint
radians
SKRange

Returns

Attributes

Applies to

CreateOrientToPoint(CGPoint, SKNode, SKRange)

[Foundation.Export("orientToPoint:inNode:offset:")]
public static SpriteKit.SKConstraint CreateOrientToPoint (CoreGraphics.CGPoint point, SpriteKit.SKNode node, SpriteKit.SKRange radians);
static member CreateOrientToPoint : CoreGraphics.CGPoint * SpriteKit.SKNode * SpriteKit.SKRange -> SpriteKit.SKConstraint

Parameters

point
CGPoint
node
SKNode
radians
SKRange

Returns

Attributes

Applies to