# WriteParameters

> This struct collects all the WriteSerializedFile parameters in to a single place.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.Build.Content](/engine/6000.6/script-reference/unityeditor/build/content.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public struct WriteParameters
```

## Fields

| Value                                                                                                     | Description                                                                                                      |
| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [bundleInfo](/engine/6000.6/script-reference/unityeditor/build/content/writeparameters/bundleinfo.md)     | Optional Parameter used when writing a serialized file for an Asset Bundle.                                      |
| [globalUsage](/engine/6000.6/script-reference/unityeditor/build/content/writeparameters/globalusage.md)   | The global lighting information to use when writing the serialized file.                                         |
| [preloadInfo](/engine/6000.6/script-reference/unityeditor/build/content/writeparameters/preloadinfo.md)   | The set of external object dependencies that need to be loaded when loading the resulting serialized file.       |
| [referenceMap](/engine/6000.6/script-reference/unityeditor/build/content/writeparameters/referencemap.md) | The set of external objects that can be referenced by this serialized file.                                      |
| [settings](/engine/6000.6/script-reference/unityeditor/build/content/writeparameters/settings.md)         | The settings to use when writing the serialized file.                                                            |
| [usageSet](/engine/6000.6/script-reference/unityeditor/build/content/writeparameters/usageset.md)         | The the texture, material, mesh, and shader usage tags to use when writing the serialized file.                  |
| [writeCommand](/engine/6000.6/script-reference/unityeditor/build/content/writeparameters/writecommand.md) | The struct of internal file name, list of objects, and order of objects to use when writing the serialized file. |
