Vixen
caa30e12
csharp
public sealed class BlackboardUtilityInput

A numeric blackboard key, normalised between two bounds.

Read the guide page for this →

Remarks

⚠ An unset key reads as zero, not as . "Nobody has written this yet" and "this is at its lowest" are different facts, and a consideration that treated them the same would make an agent act on a value it has never been given — which with the zero rule is the safe direction: the action is vetoed until something writes the key.

Methods (2)

  • public BlackboardUtilityInput(BlackboardKey key, float minimum = 0, float maximum = 1)

    A numeric blackboard key, normalised between two bounds.

  • public float Read(in AgentContext context)

    Reads the world.

Used by (3)

  • UtilityInputTestsVixen.Ai.Tests
  • UtilitySetContentCompilerVixen.Ai
  • LiveAgentVixen.Editor.AssetEditors.Tests