<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKTileDefinition/init(texture:normalTexture:size:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKTileDefinition(im)initWithTexture:normalTexture:size:"
  },
  "title" : "init(texture:normalTexture:size:)"
}
-->

# init(texture:normalTexture:size:)

Initializes a new tile definition with a single texture and separate normal texture for simulating 3D lighting.

```
init(texture: SKTexture, normalTexture: SKTexture, size: CGSize)
```

## Parameters

`texture`

The texture to reference for the definition’s content.

`normalTexture`

The texture to reference for generating normals to simulate 3D lighting.

`size`

The size of the tile in points.

## Return Value

A new tile definition.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)