csharp
public interface IMeshBakerSomething that can put a file into the project and say what asset it became.
Remarks
The seam doc 24's P7 bake needs, and it is the shape every other one in this assembly has. IMeshSource, ISurfaceSource and ISceneWriter are all the same bargain: the viewport says what it wants and the application, which owns the asset database, answers. A scene view that knew how to import an asset would be the coupling doc 11's layering exists to prevent.
⚠ It returns a reference rather than a path, because a path is not an identity. What goes on the entity is an AssetReference, which survives the file being renamed — doc 08's whole argument — and only the thing that ran the import knows what it minted.
Methods (1)
AssetReference Bake(string name, string extension, string content)Writes a mesh into the project and imports it.
Used by (6)
- BakerVixen.Editor.Blockout.Tests
- BlockoutHandoffVixen.Editor.Blockout
- BlockoutModeVixen.Editor.Blockout
- BlockoutModuleVixen.Editor.Blockout
- EditorApplicationVixen.Editor.App
- ProjectMeshBakerVixen.Editor.App