共用方式為


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

傳回

屬性

適用於