SKTileMapNode.FromTileSet 方法

定义

[Foundation.Export("tileMapNodesWithTileSet:columns:rows:tileSize:fromNoiseMap:tileTypeNoiseMapThresholds:")]
[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 SpriteKit.SKTileMapNode[] FromTileSet (SpriteKit.SKTileSet tileSet, nuint columns, nuint rows, CoreGraphics.CGSize tileSize, GameplayKit.GKNoiseMap noiseMap, Foundation.NSNumber[] thresholds);
static member FromTileSet : SpriteKit.SKTileSet * nuint * nuint * CoreGraphics.CGSize * GameplayKit.GKNoiseMap * Foundation.NSNumber[] -> SpriteKit.SKTileMapNode[]

参数

tileSet
SKTileSet
columns
System.System.UIntPtr System.unativeint
rows
System.System.UIntPtr System.unativeint
tileSize
CGSize
noiseMap
GKNoiseMap
thresholds
NSNumber[]

返回

属性

适用于