UFunctionalTestUtilityLibrary::TraceChannelTestUtil

Helper function to trace and permute many options at once

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

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTestUtilityLibrary.h
Include #include "FunctionalTestUtilityLibrary.h"
Source /Engine/Source/Developer/FunctionalTesting/Private/FunctionalTestUtilityLibrary.cpp
static [UTraceQueryTestResults](API\Developer\FunctionalTesting\UTraceQueryTestResults) * TraceChannelTestUtil
(
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject,
    const [FTraceChannelTestBatchOptions](API\Developer\FunctionalTesting\FTraceChannelTestBatchOptions) & BatchOptions,
    const FVector Start,
    const FVector End,
    float SphereCapsuleRadius,
    float CapsuleHalfHeight,
    FVector BoxHalfSize,
    const FRotator Orientation,
    ETraceTypeQuery TraceChannel,
    [TArray](API\Runtime\Core\Containers\TArray)< [TEnumAsByte](API\Runtime\Core\Containers\TEnumAsByte)< EObjectTypeQuery > > ObjectTypes,
    [FName](API\Runtime\Core\UObject\FName) ProfileName,
    bool bTraceComplex,
    const [TArray](API\Runtime\Core\Containers\TArray)< [AActor](API\Runtime\Engine\GameFramework\AActor) * > & ActorsToIgnore,
    bool bIgnoreSelf,
    [EDrawDebugTrace::Type](API\Runtime\Engine\Kismet\EDrawDebugTrace__Type) DrawDebugType,
    [FLinearColor](API\Runtime\Core\Math\FLinearColor) TraceColor,
    [FLinearColor](API\Runtime\Core\Math\FLinearColor) TraceHitColor,
    float DrawTime
)

Remarks

Helper function to trace and permute many options at once


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library