<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/Model3DAsset",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI12Model3DAssetC"
  },
  "title" : "Model3DAsset"
}
-->

# Model3DAsset

A container used to represent the asset loaded into the Model3D View.

```
class Model3DAsset
```

## Topics

### Structures

[`struct EntityAnimation`](/documentation/RealityKit/Model3DAsset/EntityAnimation)

An animation resource for an entity loaded from a bundle.

### Initializers

[`init(named: String, in: Bundle?) async throws`](/documentation/RealityKit/Model3DAsset/init(named:in:))

Creates a named 3D model asset from the provided bundle.

[`init(url: URL) async throws`](/documentation/RealityKit/Model3DAsset/init(url:))

Creates a 3D model asset from the provided URL.

### Instance Properties

[`var animationPlaybackController: AnimationPlaybackController?`](/documentation/RealityKit/Model3DAsset/animationPlaybackController)

Reference to the animation playback controller instance that corresponds
to the active animation on the entity.

[`var availableAnimations: [Model3DAsset.EntityAnimation]`](/documentation/RealityKit/Model3DAsset/availableAnimations)

List of all available animations on the entity.

[`var selectedAnimation: Model3DAsset.EntityAnimation?`](/documentation/RealityKit/Model3DAsset/selectedAnimation)

The currently active animation on the entity.

## Relationships

### Conforms To

[`Observable`](/documentation/Observation/Observable)

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

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

---

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)