SKPhysicsBody.FromBodies(SKPhysicsBody[]) 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 union of the specified list of physics bodies.
[Foundation.Export("bodyWithBodies:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 1, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKPhysicsBody FromBodies (SpriteKit.SKPhysicsBody[] bodies);
static member FromBodies : SpriteKit.SKPhysicsBody[] -> SpriteKit.SKPhysicsBody
Parameters
- bodies
- SKPhysicsBody[]
Returns
- Attributes