Upravit

Sdílet prostřednictvím


SKNode.GetObstaclesFromNodePhysicsBodies(SKNode[]) Method

Definition

[Foundation.Export("obstaclesFromNodePhysicsBodies:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static GameplayKit.GKPolygonObstacle[] GetObstaclesFromNodePhysicsBodies (SpriteKit.SKNode[] nodes);
static member GetObstaclesFromNodePhysicsBodies : SpriteKit.SKNode[] -> GameplayKit.GKPolygonObstacle[]

Parameters

nodes
SKNode[]

Returns

Attributes

Applies to