編輯

共用方式為


SKNode.GetObstaclesFromSpriteTextures(SKNode[], Single) Method

Definition

[Foundation.Export("obstaclesFromSpriteTextures:accuracy:")]
[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[] GetObstaclesFromSpriteTextures (SpriteKit.SKNode[] sprites, float accuracy);
static member GetObstaclesFromSpriteTextures : SpriteKit.SKNode[] * single -> GameplayKit.GKPolygonObstacle[]

Parameters

sprites
SKNode[]
accuracy
Single

Returns

Attributes

Applies to