UFunctionalTestUtilityLibrary::TraceChannelTestUtil

Helper function to trace and permute many options at once

Windows
MacOS
Linux

References

Module

FunctionalTesting

Header

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

Include

#include "FunctionalTestUtilityLibrary.h"

Source

/Engine/Source/Developer/FunctionalTesting/Private/FunctionalTestUtilityLibrary.cpp

Syntax

static UTraceQueryTestResults * TraceChannelTestUtil
(
    UObject * WorldContextObject,
    const FTraceChannelTestBatchOptions & BatchOptions,
    const FVector Start,
    const FVector End,
    float SphereCapsuleRadius,
    float CapsuleHalfHeight,
    FVector BoxHalfSize,
    const FRotator Orientation,
    ETraceTypeQuery TraceChannel,
    TArray< TEnumAsByte< EObjectTypeQuery > > ObjectTypes,
    FName ProfileName,
    bool bTraceComplex,
    const TArray< AActor * > & ActorsToIgnore,
    bool bIgnoreSelf,
    EDrawDebugTrace::Type DrawDebugType,
    FLinearColor TraceColor,
    FLinearColor TraceHitColor,
    float DrawTime
)

Remarks

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