Vixen
02b45cc4
csharp
public sealed class SceneFileWriter

Writes a scene to a path.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The implementation of ISceneWriter the editor uses. It is a separate type rather than a method on the serializer because a document holds one and a document does not know where it lives — the path is the shell's answer, decided when the scene was opened or when a Save As dialog last ran.

Fields and properties (1)

  • public string Path

    Where the scene is written.

Methods (2)

  • public SceneFileWriter(string path)

    Writes a scene to a path.

  • public void Write(SceneDocument document)

    Writes a scene.

Used by (6)

  • CompiledSceneTestsVixen.Editor.AssetEditors.Tests
  • EditorApplicationVixen.Editor.App
  • MilestoneE5TestsVixen.Editor.App.Tests
  • SceneEditorFactoryVixen.Editor.AssetEditors
  • SceneSerializerTestsVixen.Editor.SceneView.Tests
  • TerrainModuleVixen.Editor.Terrain