public sealed class QueryViewAn environment query, open for editing: the generators, the tests in order, a curve, and the points a preview run produced.
Remarks
doc 37 § Part 5's environment-query editor. A list — generators, then tests in order — with each test's purpose, curve and clamping inline, and a preview of the generated points green through red by score with the filtered ones crossed out.
⚠ The test list is ordered and the order is editable, which is the one gesture this editor has that the utility table does not. A filtering test rejects a point and everything below it is skipped, so moving a trace below a distance filter is the difference between four hundred raycasts and forty — a real cost, made by a real gesture, with the count of surviving points beside it saying what it bought.
⚠ The curve control is the utility editor's. doc 37 § D14: a test's scoring equation is a consideration's response curve, so the same CurveEditor draws both and an author who has tuned one has tuned the other.
Fields and properties (9)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public UiElement GeneratorsWhat makes the candidates.
public UiElement TestsWhat filters and scores them, in the order they run.
public CurveEditor CurveThe selected test's response curve.
public UiElement PreviewThe points a preview run produced, best first.
public UiElement DiagnosticsWhat the last compile and the last run said.
public Button BuildThe button that compiles the query.
public QueryTestContent? SelectedThe test that is selected, or null.
Methods (7)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void Show(QueryDocument value)Shows a document.
public void Select(QueryTestContent? value)Selects a test.
public EnvironmentQuery? Compile()Compiles the query and lists what it said.
public void Refresh()Rebuilds every list from the document.
public static string Describe(QueryGeneratorContent generator)One generator, as a person reads it.
public static string Describe(QueryTestContent test)One test, as a person reads it.
Used by (3)
- QueryDocumentTestsVixen.Editor.AssetEditors.Tests
- QueryEditorFactoryVixen.Editor.AssetEditors
- QueryViewTestsVixen.Editor.AssetEditors.Tests