---
url: /api/kiln/interfaces/SnapshotOptions.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / SnapshotOptions

# Interface: SnapshotOptions

## Properties

| Property | Type | Description |
| ------ | ------ | ------ |
|  `traits?` | `Trait`\[] | Only these traits, and only entities that have at least one of them. Default: every trait. |
|  `resources?` | `boolean` | [`Resource`](Resource.md)<`any`>\[] | Resources to include, or true for all JSON-friendly ones. Default: none. |
|  `precision?` | `number` | Round numbers to this many decimals. Default: exact. |
|  `omitDefaults?` | `boolean` | Leave out struct fields equal to the trait's default, for compact output. |
|  `refs?` | `boolean` | Keep non-JSON trait values (Three.js objects) by reference. In-memory only; used by hot reload. |
