AFunctionalTest::SetConsoleVariable

Sets the CVar from the given input. Variable gets reset after the test.

Unreal Engine C++ API Reference > Developer > FunctionalTesting > AFunctionalTest

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h
Include #include "FunctionalTest.h"
Source /Engine/Source/Developer/FunctionalTesting/Private/FunctionalTest.cpp
void SetConsoleVariable
(
    const [FString](API\Runtime\Core\Containers\FString) & Name,
    const [FString](API\Runtime\Core\Containers\FString) & InValue
)

Remarks

Sets the CVar from the given input. Variable gets reset after the test.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library