UCollisionProfile::ConvertToObjectType

Convert collision channel to ObjectTypeQuery. 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

EObjectTypeQuery ConvertToObjectType
(
    ECollisionChannel CollisionChannel
) const

Remarks

Convert collision channel to ObjectTypeQuery.

performs a search of object types.

Returns

ObjectTypeQuery_MAX if the conversion was not possible