SKPhysicsBody.CreateBodyFromPath(CGPath) 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 new physics body from the specified path.
[Foundation.Export("bodyWithPolygonFromPath:")]
public static SpriteKit.SKPhysicsBody CreateBodyFromPath (CoreGraphics.CGPath path);
static member CreateBodyFromPath : CoreGraphics.CGPath -> SpriteKit.SKPhysicsBody
Parameters
- path
- CGPath
Returns
- Attributes