SKTileMapNode.FromTileSet 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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[]
傳回
- 屬性