SKPhysicsBody.CreateEdge(CGPoint, CGPoint) 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 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