SKTileDefinition.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- textures
- SKTexture[]
- normalTextures
- SKTexture[]
- size
- CGSize
- timePerFrame
- nfloat
Returns
- Attributes
Applies to
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
Parameters
- textures
- SKTexture[]
- size
- CGSize
- timePerFrame
- nfloat
Returns
- Attributes
Applies to
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
Parameters
- texture
- SKTexture
- normalTexture
- SKTexture
- size
- CGSize
Returns
- Attributes
Applies to
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
Parameters
- texture
- SKTexture
- size
- CGSize
Returns
- Attributes
Applies to
Create(SKTexture)
[Foundation.Export("tileDefinitionWithTexture:")]
public static SpriteKit.SKTileDefinition Create (SpriteKit.SKTexture texture);
static member Create : SpriteKit.SKTexture -> SpriteKit.SKTileDefinition
Parameters
- texture
- SKTexture
Returns
- Attributes