SKPhysicsBody.CreateEdge(CGPoint, CGPoint) Method

Definition

Creates an edge from one point to another.

[Foundation.Export("bodyWithEdgeFromPoint:toPoint:")]
public static SpriteKit.SKPhysicsBody CreateEdge (CoreGraphics.CGPoint fromPoint, CoreGraphics.CGPoint toPoint);
static member CreateEdge : CoreGraphics.CGPoint * CoreGraphics.CGPoint -> SpriteKit.SKPhysicsBody

Parameters

fromPoint
CGPoint
toPoint
CGPoint

Returns

Attributes

Applies to