Vixen
feb85697
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 (19)

  • ActiveSceneTestsVixen.Editor.App.Tests
  • CompiledSceneTestsVixen.Editor.AssetEditors.Tests
  • EditorApplicationVixen.Editor.App
  • EditorSceneVixen.Editor.App
  • MainSceneTestsVixen.Editor.App.Tests
  • MilestoneE5TestsVixen.Editor.App.Tests
  • OpenEditorSceneTestsVixen.Editor.App.Tests
  • ProjectAssemblyTestsVixen.Editor.App.Tests
  • ProjectSessionTestsVixen.Editor.App.Tests
  • SceneDocumentVixen.Editor.SceneView
  • SceneDocumentTestsVixen.Editor.SceneView.Tests
  • SceneEditorFactoryVixen.Editor.AssetEditors
  • SceneFilesVixen.Editor.App
  • SceneSerializerTestsVixen.Editor.SceneView.Tests
  • ScenesPanelVixen.Editor.App
  • ScenesPanelTestsVixen.Editor.App.Tests
  • SelectionTestsVixen.Editor.App.Tests
  • TerrainModuleVixen.Editor.Terrain
  • WaterModuleVixen.Editor.Water