SKPhysicsBody.CreateEdgeLoop 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.
Overloads
| Name | Description |
|---|---|
| CreateEdgeLoop(CGPath) | |
| CreateEdgeLoop(CGRect) |
CreateEdgeLoop(CGPath)
[Foundation.Export("bodyWithEdgeLoopFromPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKPhysicsBody CreateEdgeLoop(CoreGraphics.CGPath path);
[<Foundation.Export("bodyWithEdgeLoopFromPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateEdgeLoop : CoreGraphics.CGPath -> SpriteKit.SKPhysicsBody
Parameters
- path
- CGPath
Returns
- Attributes
Applies to
CreateEdgeLoop(CGRect)
[Foundation.Export("bodyWithEdgeLoopFromRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKPhysicsBody CreateEdgeLoop(CoreGraphics.CGRect rect);
[<Foundation.Export("bodyWithEdgeLoopFromRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateEdgeLoop : CoreGraphics.CGRect -> SpriteKit.SKPhysicsBody
Parameters
- rect
- CGRect
Returns
- Attributes