共用方式為


SKTileDefinition.Create 方法

定義

多載

Create(SKTexture[], SKTexture[], CGSize, nfloat)
Create(SKTexture[], CGSize, nfloat)
Create(SKTexture, SKTexture, CGSize)
Create(SKTexture, CGSize)
Create(SKTexture)

Create(SKTexture[], SKTexture[], CGSize, nfloat)

[Foundation.Export("tileDefinitionWithTextures:normalTextures:size:timePerFrame:")]
public static SpriteKit.SKTileDefinition Create (SpriteKit.SKTexture[] textures, SpriteKit.SKTexture[] normalTextures, CoreGraphics.CGSize size, nfloat timePerFrame);
static member Create : SpriteKit.SKTexture[] * SpriteKit.SKTexture[] * CoreGraphics.CGSize * nfloat -> SpriteKit.SKTileDefinition

參數

textures
SKTexture[]
normalTextures
SKTexture[]
size
CGSize
timePerFrame
nfloat

傳回

屬性

適用於

Create(SKTexture[], CGSize, nfloat)

[Foundation.Export("tileDefinitionWithTextures:size:timePerFrame:")]
public static SpriteKit.SKTileDefinition Create (SpriteKit.SKTexture[] textures, CoreGraphics.CGSize size, nfloat timePerFrame);
static member Create : SpriteKit.SKTexture[] * CoreGraphics.CGSize * nfloat -> SpriteKit.SKTileDefinition

參數

textures
SKTexture[]
size
CGSize
timePerFrame
nfloat

傳回

屬性

適用於

Create(SKTexture, SKTexture, CGSize)

[Foundation.Export("tileDefinitionWithTexture:normalTexture:size:")]
public static SpriteKit.SKTileDefinition Create (SpriteKit.SKTexture texture, SpriteKit.SKTexture normalTexture, CoreGraphics.CGSize size);
static member Create : SpriteKit.SKTexture * SpriteKit.SKTexture * CoreGraphics.CGSize -> SpriteKit.SKTileDefinition

參數

texture
SKTexture
normalTexture
SKTexture
size
CGSize

傳回

屬性

適用於

Create(SKTexture, CGSize)

[Foundation.Export("tileDefinitionWithTexture:size:")]
public static SpriteKit.SKTileDefinition Create (SpriteKit.SKTexture texture, CoreGraphics.CGSize size);
static member Create : SpriteKit.SKTexture * CoreGraphics.CGSize -> SpriteKit.SKTileDefinition

參數

texture
SKTexture
size
CGSize

傳回

屬性

適用於

Create(SKTexture)

[Foundation.Export("tileDefinitionWithTexture:")]
public static SpriteKit.SKTileDefinition Create (SpriteKit.SKTexture texture);
static member Create : SpriteKit.SKTexture -> SpriteKit.SKTileDefinition

參數

texture
SKTexture

傳回

屬性

適用於