Поделиться через


SKNode.GetObstaclesFromNodePhysicsBodies(SKNode[]) Метод

Определение

[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[]

Параметры

nodes
SKNode[]

Возвращаемое значение

Атрибуты

Применяется к