編輯

共用方式為


SKTileMapNode.Create Method

Definition

Overloads

Create(SKTileSet, nuint, nuint, CGSize)

Factory method to create an SKTileMapNode with the specified properties.

Create(SKTileSet, nuint, nuint, CGSize, SKTileGroup)
Create(SKTileSet, nuint, nuint, CGSize, SKTileGroup[])

Create(SKTileSet, nuint, nuint, CGSize)

Factory method to create an SKTileMapNode with the specified properties.

[Foundation.Export("tileMapNodeWithTileSet:columns:rows:tileSize:")]
public static SpriteKit.SKTileMapNode Create (SpriteKit.SKTileSet tileSet, nuint columns, nuint rows, CoreGraphics.CGSize tileSize);
static member Create : SpriteKit.SKTileSet * nuint * nuint * CoreGraphics.CGSize -> SpriteKit.SKTileMapNode

Parameters

tileSet
SKTileSet
columns
System.System.UIntPtr System.unativeint
rows
System.System.UIntPtr System.unativeint
tileSize
CGSize

Returns

Attributes

Applies to

Create(SKTileSet, nuint, nuint, CGSize, SKTileGroup)

[Foundation.Export("tileMapNodeWithTileSet:columns:rows:tileSize:fillWithTileGroup:")]
public static SpriteKit.SKTileMapNode Create (SpriteKit.SKTileSet tileSet, nuint columns, nuint rows, CoreGraphics.CGSize tileSize, SpriteKit.SKTileGroup tileGroup);
static member Create : SpriteKit.SKTileSet * nuint * nuint * CoreGraphics.CGSize * SpriteKit.SKTileGroup -> SpriteKit.SKTileMapNode

Parameters

tileSet
SKTileSet
columns
System.System.UIntPtr System.unativeint
rows
System.System.UIntPtr System.unativeint
tileSize
CGSize
tileGroup
SKTileGroup

Returns

Attributes

Applies to

Create(SKTileSet, nuint, nuint, CGSize, SKTileGroup[])

[Foundation.Export("tileMapNodeWithTileSet:columns:rows:tileSize:tileGroupLayout:")]
public static SpriteKit.SKTileMapNode Create (SpriteKit.SKTileSet tileSet, nuint columns, nuint rows, CoreGraphics.CGSize tileSize, SpriteKit.SKTileGroup[] tileGroupLayout);
static member Create : SpriteKit.SKTileSet * nuint * nuint * CoreGraphics.CGSize * SpriteKit.SKTileGroup[] -> SpriteKit.SKTileMapNode

Parameters

tileSet
SKTileSet
columns
System.System.UIntPtr System.unativeint
rows
System.System.UIntPtr System.unativeint
tileSize
CGSize
tileGroupLayout
SKTileGroup[]

Returns

Attributes

Applies to