---
title: "material(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/bindtarget/entitypath/material(_:)"
---

# material(_:)

Provides a specified material’s path.

## Declaration

```swift
func material(_ index: Int) -> BindTarget.MaterialPath
```

## Parameters

- `index`: The index of the material.
