Editar

Compartir a través de


SKPhysicsBody.FromBodies(SKPhysicsBody[]) Method

Definition

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

Applies to