# WriteSceneParameters

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

## Definition

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

```csharp
public struct WriteSceneParameters
```

## Fields

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