SKTileDefinition.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
Create(SKTexture)
[Foundation.Export("tileDefinitionWithTexture:")]
public static SpriteKit.SKTileDefinition Create (SpriteKit.SKTexture texture);
static member Create : SpriteKit.SKTexture -> SpriteKit.SKTileDefinition
參數
- texture
- SKTexture
傳回
- 屬性