# Model

interface in `@dioramajs/diorama/assets`

```ts
import type { Model } from '@dioramajs/diorama/assets'
```

A glTF owned by the cache. Place instances and never dispose their resources.

```ts
interface Model
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `animations` | `readonly AnimationClip[]` | Animation clips of the file. |
| `scene` | `Group` | The loaded scene. Place instances, not this group. |
| `instance` | `instance(): Object3D` | A clone sharing geometry, materials and textures (SkeletonUtils for skinned). The shared resources carry `userData.keep`. The clone's own objects are disposed with the effect. |

Also exported from `@dioramajs/assets`.

Defined in [packages/assets/src/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/assets/src/types.ts#L30).
