UCollisionProfile::ConvertToTraceType

Convert collision channel to TraceTypeQuery. performs a search of object types.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/CollisionProfile.h

Include

#include "Engine/CollisionProfile.h"

Source

/Engine/Source/Runtime/Engine/Private/Collision/CollisionProfile.cpp

Syntax

ETraceTypeQuery ConvertToTraceType
(
    ECollisionChannel CollisionChannel
) const

Remarks

Convert collision channel to TraceTypeQuery.

performs a search of object types.

Returns

TraceTypeQuery_MAX if the conversion was not possible