FCollisionObjectQueryParams

Structure that contains list of object types the query is intersted in.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/CollisionQueryParams.h

Include

#include "CollisionQueryParams.h"

Syntax

struct FCollisionObjectQueryParams

Remarks

Structure that contains list of object types the query is intersted in.

Variables

Name Description

Public variable

FMaskFilter

 

IgnoreMask

Extra filtering done during object query. See declaration for filtering logic

Public variable

int32

 

ObjectTypesToQuery

Set of object type queries that it is interested in

Constructors

Name Description

Public function

FCollisionObjectQueryParams()

Public function

FCollisionObjectQueryParams

(
    ECollisionChannel QueryChannel
)

Public function

FCollisionObjectQueryParams

(
    const TArray< TEnumAsByte< EObjectT...
)

Public function

FCollisionObjectQueryParams

(
    enum FCollisionObjectQueryParams::I...
)

Public function

FCollisionObjectQueryParams

(
    int32 InObjectTypesToQuery
)

To do this, use ECC_TO_BITFIELD to convert to bit field i.e. FCollisionObjectQueryParams ( ECC_TO_BITFIELD(ECC_WorldStatic) | ECC_TO_BITFIELD(ECC_WorldDynamic) )

Functions

Name Description

Public function

void

 

AddObjectTypesToQuery

(
    ECollisionChannel QueryChannel
)

Public function Const

void

 

DoVerify()

Public function Static

FCollisionOb...

 

GetCollisionChannelFromOverlapFilter

(
    EOverlapFilterOption Filter
)

Internal.

Public function Const

int32

 

GetQueryBitfield()

Public function Const

bool

 

IsValid()

Public function Static

bool

 

IsValidObjectQuery

(
    ECollisionChannel QueryChannel
)

Public function

void

 

RemoveObjectTypesToQuery

(
    ECollisionChannel QueryChannel
)

Enums

Name

Description

Public enum

InitType

Constants

Name

Description

DefaultObjectQueryParam

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback