csharp
public interface INodePreviewSourceWhere a node's preview comes from.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Implemented per graph, because what a node's output is is that graph's business: a shader graph evaluates the node's expression against a fixed input, and a VFX graph has no value to show at all for a spawner. The framework knows only that a node type asked for one — Preview — and where to draw it.
Methods (1)
bool TryGet(NodeGraphModel graph, GraphNode node, NodeTypeDefinition definition, out NodePreview preview)The preview for one node, if it has one to show.
Used by (4)
- FixedVixen.Editor.NodeGraph.Tests
- NodeGraphViewVixen.Editor.NodeGraph
- NodePreviewLayerVixen.Editor.NodeGraph
- RecorderVixen.Editor.NodeGraph.Tests