---
title: "init(texture:normalTexture:size:)"
framework: spritekit
role: symbol
role_heading: Initializer
path: "spritekit/sktiledefinition/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.

## Declaration

```swift
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

Return Value A new tile definition.
