UFunctionalTestUtilityLibrary

Used to expose C++ functions to tests that we don't want to make BP accessible in the engine itself.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

FunctionalTesting

Header

/Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTestUtilityLibrary.h

Include

#include "FunctionalTestUtilityLibrary.h"

Syntax

class UFunctionalTestUtilityLibrary : public UBlueprintFunctionLibrary

Remarks

Used to expose C++ functions to tests that we don't want to make BP accessible in the engine itself.

Functions

Name Description

Public function Static

UTraceQueryT...

 

TraceChannelTestUtil

(
    UObject* WorldContextObject,
    const FTraceChannelTestBatchOptions...,
    const FVector Start,
    const FVector End,
    float SphereCapsuleRadius,
    float CapsuleHalfHeight,
    FVector BoxHalfSize,
    const FRotator Orientation,
    ETraceTypeQuery TraceChannel,
    TArray< TEnumAsByte< EObjectTypeQue...,
    FName ProfileName,
    bool bTraceComplex,
    const TArray< AActor* >& Acto...,
    bool bIgnoreSelf,
    EDrawDebugTrace::Type DrawDebugType,
    FLinearColor TraceColor,
    FLinearColor TraceHitColor,
    float DrawTime
)

Helper function to trace and permute many options at once

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