Version: 2021.2
LanguageEnglish
  • C#

WriteSceneParameters

struct in UnityEditor.Build.Content

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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

Properties

globalUsageThe global lighting information to use when writing the serialized file.
preloadInfoThe set of external object dependencies that need to be loaded when loading the resulting serialzied file.
referenceMapThe set of external objects that can be referenced by this serialized file.
sceneBundleInfoOptional Parameter used when writing a scene serialized file for an Asset Bundle.
scenePathThe original scene asset path.
settingsThe settings to use when writing the serialized file.
usageSetThe the texture, material, mesh, and shader usage tags to use when writing the serialized file.
writeCommandThe struct of internal file name, list of objects, and order of objects to use when writing the serialized file.