FEnvQueryInstance::FItemIterator::SetScore

Filter and score an item - used by tests working on float values (can be called multiple times for single item when processing contexts with multiple entries) NOTE: The Score is the raw score, before clamping, normalizing, and multiplying by weight.

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTypes.h

Include

#include "EnvironmentQuery/EnvQueryTypes.h"

Syntax

void SetScore
(
    EEnvTestPurpose::Type TestPurpose,
    EEnvTestFilterType::Type FilterType,
    float Score,
    float FilterMin,
    float FilterMax
)

Remarks

Filter and score an item - used by tests working on float values (can be called multiple times for single item when processing contexts with multiple entries) NOTE: The Score is the raw score, before clamping, normalizing, and multiplying by weight. The FilterMin and FilterMax values are ONLY used for filtering (if any).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss