Vixen
dd8b0a81
csharp
public record class GraphParameterAsset

One knob a graph exposes, as a file holds it.

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

Remarks

⚠ Written down rather than derived, for GraphPortAsset's reason. A parameter list read off whichever nodes happen to mention a name would change under every containing graph the moment somebody deleted a node — and a published graph's knobs are its signature quite as much as its ports are.

Fields and properties (8)

  • public string Name

    What the parameter is called. An expression spells it and a containing node stores it.

  • public string Default

    What it is worth when nobody overrides it, as text.

  • public string Summary

    One line saying what it means.

  • public SettingKind Kind

    How its text is read.

  • public float Minimum

    The bottom of its range, or negative infinity for none.

  • public float Maximum

    The top of it.

  • public string Group

    Which section of an inspector it belongs to.

  • public string[] Accepted

    Every value it may hold, or empty when it may hold any name.

Used by (4)

  • GraphDeclarationTestsVixen.Editor.NodeGraph.Tests
  • NodeGraphAssetVixen.Editor.NodeGraph
  • NodeGraphDocumentVixen.Editor.NodeGraph
  • TypeRegistrationVixen.Editor.NodeGraph