<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/MeshScope",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation9MeshScopeV"
  },
  "title" : "MeshScope"
}
-->

# MeshScope

The elements of a mesh resource that a deformation stack applies to.

```
struct MeshScope
```

## Topics

### Creating a mesh scope

[`static func model(name: String, part: String?) -> MeshScope`](/documentation/RealityKit/MeshScope/model(name:part:))

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

[`static func instance(name: String, part: String?) -> MeshScope`](/documentation/RealityKit/MeshScope/instance(name:part:))

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

### Inspecting the scope

[`var isAll: Bool`](/documentation/RealityKit/MeshScope/isAll)

[`var isModel: Bool`](/documentation/RealityKit/MeshScope/isModel)

[`var isInstance: Bool`](/documentation/RealityKit/MeshScope/isInstance)

### Instance Properties

[`var description: String`](/documentation/RealityKit/MeshScope/description)

A textual representation of this instance.

### Type Properties

[`static var all: MeshScope`](/documentation/RealityKit/MeshScope/all)

Apply to all models and instances.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Decodable`](/documentation/Swift/Decodable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Encodable`](/documentation/Swift/Encodable)

---

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)