---
title: "model(name:part:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/meshscope/model(name:part:)"
---

# model(name:part:)

Apply to model by name, all parts if part is nil, otherwise only to the specific part.

## Declaration

```swift
static func model(name: String, part: String? = nil) -> MeshScope
```

## See Also

### Creating a mesh scope

- [instance(name:part:)](realitykit/meshscope/instance(name:part:).md)
