/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryManager.h
Creates a query instance configured for execution
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FEnvQueryInstance](API\Runtime\AIModule\EnvironmentQuery\FEnvQueryInstance) > PrepareQueryInstance ( const [FEnvQueryRequest](API\Runtime\AIModule\EnvironmentQuery\FEnvQueryRequest) & Request, [EEnvQueryRunMode::Type](API\Runtime\AIModule\EnvironmentQuery\EEnvQueryRunMode__Type) RunMode )