Navigation
API > API/Developer > API/Developer/FunctionalTesting > API/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 |
UFUNCTION (BlueprintCallable, Category="Utilities|Collision",
Meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
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