public sealed class UtilitySetContentA utility set as a file: a list of actions, each with a list of considerations.
Remarks
⚠ A list and not a graph, and doc 37 § P5 is explicit about why. A utility set has no edges: drawing it on a canvas would be a canvas whose wires all run from a column of inputs to a column of actions and carry nothing. What it wants is a two-pane table and a curve, which is what the editor gives it.
The keys are optional. A set that is an agent's whole planner shares the layout with whatever else that agent runs, so the compiler takes one. A set authored on its own — a test, a sample, a first draft — declares its own and BuildLayout makes it, exactly the way a .vxbt does.
Fields and properties (10)
public const string ExtensionWhat a utility set is called on disk.
public const int CurrentThe version this build writes and reads.
public int VersionWhich version wrote this file.
public string NameWhat the set is called.
public List<BehaviorKeyContent> KeysIts blackboard's keys, when it declares its own.
public List<UtilityActionContent> ActionsWhat the agent might do.
public UtilitySelectorKind SelectorWhich of the scored actions wins.
public int SelectorCountHow many of the best to consider, for the top-weighted selector.
public float CommitmentBonusHow much is added to the running action's score.
public float DecisionIntervalSeconds between decisions.
Methods (2)
public BlackboardLayout BuildLayout(ICollection<BehaviorTreeDiagnostic>? diagnostics = null)Builds the blackboard this set's own keys describe.
public IUtilitySelector BuildSelector()The selector this describes.
Used by (11)
- TypeRegistrationVixen.Ai
- UtilityContentTestsVixen.Ai.Tests
- UtilitySetContentCompilerVixen.Ai
- Vixen_Ai_UtilitySetContentSerializerVixen.Ai
- LiveAgentVixen.Editor.AssetEditors.Tests
- SnapshotCommandVixen.Editor.AssetEditors
- UtilitySetDocumentVixen.Editor.AssetEditors
- UtilitySetDocumentTestsVixen.Editor.AssetEditors.Tests
- UtilitySetImporterVixen.Editor.Assets
- UtilitySetModelVixen.Editor.Ai
- UtilitySetViewVixen.Editor.AssetEditors