共用方式為


SKConstraint.CreateOrientToPoint 方法

定義

多載

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

參數

point
CGPoint
radians
SKRange

傳回

屬性

適用於

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

參數

point
CGPoint
node
SKNode
radians
SKRange

傳回

屬性

適用於