Vixen
02b45cc4
csharp
public static class VfxNodeLibrary

The node types a VFX graph is edited against, as one call.

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

Remarks

The generator emits NodeTypes.Register; this is the name a caller outside this assembly can find. Every test and every host was writing the same two lines — a fresh registry, then the generated registration — and a second caller getting that pair wrong is a graph whose node library is silently empty, which shows up as every node in a saved file being reported as unknown rather than as an error at the point of the mistake.

⚠ One registry per host, not one per document. A node library is a property of the build rather than of a file — the same argument CompositorEditorFactory makes — and two open effects disagreeing about what Vfx/Update/Gravity is would be two compilers over one authored graph.

Methods (1)

  • public static NodeTypeRegistry Create()

    Builds a registry holding every node type this assembly ships.

Used by (3)

  • VfxDocumentVixen.Editor.AssetEditors
  • VfxEditorFactoryVixen.Editor.AssetEditors
  • VfxImporterVixen.Editor.Assets